Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VOSpace INAF
vospace-rest
Commits
edb9970a
Commit
edb9970a
authored
Oct 25, 2021
by
Sonia Zorba
Browse files
CI minor change
parent
77bf7696
Pipeline
#5340
passed with stages
in 2 minutes and 43 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
edb9970a
...
...
@@ -2,8 +2,8 @@ stages:
-
build
-
generate-test-env
-
test
-
publish
-
dockerize
-
publish
variables
:
# to avoid "fatal: git fetch-pack: expected shallow list"
...
...
@@ -52,13 +52,6 @@ test:
only
:
-
master
upload_jar
:
stage
:
publish
tags
:
-
shell
script
:
-
'
curl
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
--upload-file
target/vospace.jar
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/vospace-rest/latest/vospace-rest.jar"'
dockerize
:
stage
:
dockerize
tags
:
...
...
@@ -70,3 +63,12 @@ dockerize:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t $CI_REGISTRY_IMAGE .
-
docker push $CI_REGISTRY_IMAGE
upload_jar
:
stage
:
publish
tags
:
-
shell
only
:
-
master
script
:
-
'
curl
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
--upload-file
target/vospace.jar
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/vospace-rest/latest/vospace-rest.jar"'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment