Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-parent
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
VOSpace INAF
vospace-parent
Commits
66df67e7
Commit
66df67e7
authored
2 years ago
by
Nicola Fulvio Calabria
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
85275ce5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#15663
failed
2 years ago
Stage: pre-build
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-1
14 additions, 1 deletion
.gitlab-ci.yml
with
14 additions
and
1 deletion
.gitlab-ci.yml
+
14
−
1
View file @
66df67e7
stages
:
stages
:
-
pre-build
-
build
-
build
-
deploy
-
deploy
...
@@ -6,6 +7,18 @@ variables:
...
@@ -6,6 +7,18 @@ variables:
# to avoid "fatal: git fetch-pack: expected shallow list"
# to avoid "fatal: git fetch-pack: expected shallow list"
GIT_STRATEGY
:
clone
GIT_STRATEGY
:
clone
pre-build
:
stage
:
pre-build
tags
:
-
shell
script
:
-
docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
-
docker build -t "${CI_REGISTRY_IMAGE}/vospace-maven-builder" -f maven-builder/Dockerfile .
-
docker push "${CI_REGISTRY_IMAGE}/vospace-maven-builder"
only
:
refs
:
-
test
build
:
build
:
stage
:
build
stage
:
build
tags
:
tags
:
...
@@ -30,7 +43,7 @@ build-test:
...
@@ -30,7 +43,7 @@ build-test:
stage
:
build
stage
:
build
tags
:
tags
:
-
docker
-
docker
image
:
git.ia2.inaf.it:5050/vospace/vospace-
helper-images
/vospace-maven-builder
image
:
git.ia2.inaf.it:5050/vospace/vospace-
parent
/vospace-maven-builder
variables
:
variables
:
FILE_CATALOG_REPO_URL
:
"
https://gitlab-ci-token:${CI_JOB_TOKEN}@www.ict.inaf.it/gitlab/vospace/vospace-file-catalog.git"
FILE_CATALOG_REPO_URL
:
"
https://gitlab-ci-token:${CI_JOB_TOKEN}@www.ict.inaf.it/gitlab/vospace/vospace-file-catalog.git"
script
:
script
:
...
...
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