From 27d3406688e96edd7fd35070e559df29b565fbf3 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Sun, 1 May 2022 13:40:09 +0200 Subject: [PATCH] feat: configurable tracking image --- templates/gitlab-ci-helm-vault.yml | 2 +- templates/gitlab-ci-helm.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/gitlab-ci-helm-vault.yml b/templates/gitlab-ci-helm-vault.yml index ac6fb0a..c00c1cf 100644 --- a/templates/gitlab-ci-helm-vault.yml +++ b/templates/gitlab-ci-helm-vault.yml @@ -8,7 +8,7 @@ variables: .helm-base: services: - - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" + - name: "$TBC_TRACKING_IMAGE" command: ["--service", "helm", "2.2.0" ] - name: "$CI_REGISTRY/to-be-continuous/tools/vault-secrets-provider:master" alias: "vault-secrets-provider" diff --git a/templates/gitlab-ci-helm.yml b/templates/gitlab-ci-helm.yml index 6826f3a..160496e 100644 --- a/templates/gitlab-ci-helm.yml +++ b/templates/gitlab-ci-helm.yml @@ -14,6 +14,9 @@ # Floor, Boston, MA 02110-1301, USA. # ========================================================================================= variables: + # variabilized tracking image + TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" + # Docker Image with Helm CLI tool (can be overridden) HELM_CLI_IMAGE: "alpine/helm" HELM_YAMLLINT_IMAGE: "cytopia/yamllint" @@ -452,7 +455,7 @@ stages: apk add --no-cache curl fi } - + unscope_variables eval_all_secrets @@ -465,7 +468,7 @@ stages: name: $HELM_CLI_IMAGE entrypoint: [""] services: - - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" + - name: "$TBC_TRACKING_IMAGE" command: ["--service", "helm", "2.2.0" ] before_script: - *helm-scripts -- GitLab