Skip to content
Snippets Groups Projects

Updated image tag to v3.10.0

Merged Joao Esteves Marcal requested to merge image-tag-update into master
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
+ 6
6
@@ -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:
Loading