Skip to content
Snippets Groups Projects
Commit 35b4a782 authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

[skip ci] Merge branch 'image-tag-update' into 'master'

Updated image tag to v3.10.0

See merge request !17
parents 17072ba6 e5e5d78d
No related branches found
No related tags found
1 merge request!17Updated image tag to v3.10.0
......@@ -81,7 +81,7 @@ build_tagged_version:
tag_image_dev: &tag_image
stage: tag_image
environment: staging
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc tag --source=docker ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG:-latest} ${RESOURCE}:${CI_COMMIT_TAG:-latest} --reference-policy=local --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE}
variables:
......@@ -102,7 +102,7 @@ update_template_dev:
stage: update_template
environment: dev
when: manual
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc replace template --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} -f templates/${RESOURCE}.yaml
variables:
......@@ -114,7 +114,7 @@ update_template_staging:
only:
- tags
when: always # This will allow us to deploy the template even if building the image fails
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc replace template --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} -f templates/${RESOURCE}.yaml
variables:
......@@ -126,7 +126,7 @@ update_template_production:
only:
- tags
when: manual
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc replace template --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} -f templates/${RESOURCE}.yaml
variables:
......@@ -143,7 +143,7 @@ deploy_staging:
only:
- tags
when: manual
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} tag ${RESOURCE}:${CI_COMMIT_TAG} ${RESOURCE}:stable
variables:
......@@ -157,7 +157,7 @@ deploy_production:
only:
- tags
when: manual
image: gitlab-registry.cern.ch/paas-tools/openshift-client:latest
image: gitlab-registry.cern.ch/paas-tools/openshift-client:v3.10.0
script:
- oc --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} tag ${RESOURCE}:${CI_COMMIT_TAG} ${RESOURCE}:stable
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment