From e5e5d78d55ea44f86f5c6a963a6da7cb2b5047b1 Mon Sep 17 00:00:00 2001
From: Joao Esteves Marcal <joao.esteves.marcal@cern.ch>
Date: Wed, 23 Oct 2019 10:27:52 +0200
Subject: [PATCH] Updated openshift image tag

---
 .gitlab-ci.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2756844..31d99be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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:
-- 
GitLab