Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-siav2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaLactea
vlkb-siav2
Commits
734f9380
Commit
734f9380
authored
1 year ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
build and docker changes proj name vlkb-search -> vlkb-siav2
parent
acc655db
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+5
-1
5 additions, 1 deletion
Makefile
data-discovery/Makefile
+2
-2
2 additions, 2 deletions
data-discovery/Makefile
docker/Dockerfile
+4
-4
4 additions, 4 deletions
docker/Dockerfile
docker/Makefile
+5
-5
5 additions, 5 deletions
docker/Makefile
with
16 additions
and
12 deletions
Makefile
+
5
−
1
View file @
734f9380
...
...
@@ -13,10 +13,14 @@ tgz:
&&
cd
-
war
:
make
-C
data-discovery create-war
&&
mv
data-discovery/target/vlkb-s
earch
*
.war .
make
-C
data-discovery create-war
&&
mv
data-discovery/target/vlkb-s
iav2
*
.war .
clean
:
make
-C
data-discovery clean
# Owner: glpat-6pUYzjmR_FgcmNTHHQyu
upload
:
curl
--header
"PRIVATE-TOKEN: glpat-6pUYzjmR_FgcmNTHHQyu"
--upload-file
vlkb-siav2-
$(
VERSION
)
.war https://ict.inaf.it/gitlab/api/v4/projects/1771/packages/generic/vlkb-siav2/1.5/vlkb-siav2-
$(
VERSION
)
.war
This diff is collapsed.
Click to expand it.
data-discovery/Makefile
+
2
−
2
View file @
734f9380
#===============================================================================
NAME
:=
vlkb-s
earch
NAME
:=
vlkb-s
iav2
VERSION
:=
$(
shell git describe
)
WEBAPP_WAR
:=
$(
NAME
)
-
$(
VERSION
)
.war
CONTEXT_ROOT
?=
vlkb/datasets/
vlkb_search
CONTEXT_ROOT
?=
vlkb/datasets/
siav2
#===============================================================================
LIB_DIR
?=
../java-libs/lib
CLASS_DIR
:=
target/classes
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile
+
4
−
4
View file @
734f9380
...
...
@@ -16,15 +16,15 @@ ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV
CATALINA_BASE=/var/lib/tomcat9
ENV
CATALINA_HOME=/usr/share/tomcat9
ENV
CATALINA_TMPDIR=/tmp
ENV
WEBAPP_DIR=/webapps/vlkb-s
earch
ENV
WEBAPP_DIR=/webapps/vlkb-s
iav2
RUN
mkdir
-p
${
WEBAPP_DIR
}
ARG
VLKB_VERSION
COPY
vlkb-s
earch
-${VLKB_VERSION}.war ${WEBAPP_DIR}/
RUN
cd
${
WEBAPP_DIR
}
&&
jar
-xf
vlkb-s
earch
-
${
VLKB_VERSION
}
.war
\
COPY
vlkb-s
iav2
-${VLKB_VERSION}.war ${WEBAPP_DIR}/
RUN
cd
${
WEBAPP_DIR
}
&&
jar
-xf
vlkb-s
iav2
-
${
VLKB_VERSION
}
.war
\
&&
mkdir
/srv/surveys
# Tomcat must load postgresql DB driver, vlkb-s
earch
does not explicitely load it
# Tomcat must load postgresql DB driver, vlkb-s
iav2
does not explicitely load it
COPY
deps/postgresql-*.jar /var/lib/tomcat9/lib
# configure
...
...
This diff is collapsed.
Click to expand it.
docker/Makefile
+
5
−
5
View file @
734f9380
...
...
@@ -5,9 +5,9 @@ VERSION ?= $(shell git describe)
all
:
download-all
:
vlkb-s
earch
vlkb-
cutout
vlkbd vlkb-obscore vlkb
download-all
:
vlkb-s
iav2
vlkb-
soda
vlkbd vlkb-obscore vlkb
vlkb-s
earch
vlkb-
cutout
:
vlkb-s
iav2
vlkb-
soda
:
make download
PACK_FILE
=
$@
-
$(
VERSION
)
.war
vlkbd vlkb-obscore vlkb
:
...
...
@@ -43,9 +43,9 @@ build:
# docker run ... git.ia2.inaf.it:5050/butora/vlkb-datasets/vlkb
publish-locally-siav2
:
docker tag siav2 git.ia2.inaf.it:5050/vialactea/vlkb-s
earch
/siav2:
$(
VERSION
)
docker push git.ia2.inaf.it:5050/vialactea/vlkb-s
earch
/siav2:
$(
VERSION
)
docker image
rm
git.ia2.inaf.it:5050/vialactea/vlkb-s
earch
/siav2:
$(
VERSION
)
docker tag siav2 git.ia2.inaf.it:5050/vialactea/vlkb-s
iav2
/siav2:
$(
VERSION
)
docker push git.ia2.inaf.it:5050/vialactea/vlkb-s
iav2
/siav2:
$(
VERSION
)
docker image
rm
git.ia2.inaf.it:5050/vialactea/vlkb-s
iav2
/siav2:
$(
VERSION
)
##docker login registry.gitlab.com --> robert.butora xC*n
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment