Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
d4cd32a6
Commit
d4cd32a6
authored
Feb 20, 2019
by
Pablo Panero
Browse files
gitlabci: avoid building dev version when updating the base image
parent
0c20778b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d4cd32a6
...
...
@@ -47,8 +47,13 @@ build_base_image:
build_dev_version
:
stage
:
build
except
:
-
tags
-
master
refs
:
-
tags
-
master
changes
:
-
Dockerfile-base
-
Pipfile
-
Pipfile.lock
environment
:
staging
tags
:
-
docker-image-build
...
...
@@ -106,6 +111,11 @@ tag_image_prod:
### Import image into OpenShift. Import $CI_COMMIT_TAG if present or 'latest' if not.
import_image_dev
:
stage
:
import_image
except
:
changes
:
-
Dockerfile\-base
-
Pipfile
-
Pipfile.lock
environment
:
staging
image
:
gitlab-registry.cern.ch/paas-tools/openshift-client:latest
script
:
...
...
Pablo Panero
@ppanero
mentioned in issue
#26 (closed)
·
Feb 20, 2019
mentioned in issue
#26 (closed)
mentioned in issue #26
Toggle commit list
Pablo Panero
@ppanero
mentioned in issue
#23 (closed)
·
Feb 22, 2019
mentioned in issue
#23 (closed)
mentioned in issue #23
Toggle commit list
Write
Preview
Markdown
is supported
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