From 81fcc83c3f6ea1e5d6f2257233797edeb004bf8b Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Tue, 5 Jan 2021 12:17:29 -0600 Subject: [PATCH] Fix commit tag check in helm base --- helpers/helm_base.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/helm_base.yaml b/helpers/helm_base.yaml index 65440d2..0e2ace4 100644 --- a/helpers/helm_base.yaml +++ b/helpers/helm_base.yaml @@ -11,7 +11,7 @@ # has the project "Viewer" role. If it still produces a warning then try # enabling this Cloud Resource Manager API. See admin/GCP_README.md # for more information. - - if [[ $CI_COMMIT_TAG ~= ^gcp-r[0-9]+_[0-9]+ ]]; then + - if [[ $CI_COMMIT_TAG =~ ^gcp-r[0-9]+_[0-9]+ ]]; then export KUBECONFIG="/root/.kube/config"; gcloud --verbosity=debug auth activate-service-account "${GEOSPHERE_DEPLOY_GCP_SA_EMAIL}" --key-file="${GEOSPHERE_DEPLOY_GCP_SA_KEY}"; gcloud --verbosity=debug config set project "${GEOSPHERE_DEPLOY_GCP_PROJECT_NAME}"; -- GitLab