From 2a0229fe98e0513d6847ddc621d1f5f8cb0cc1b1 Mon Sep 17 00:00:00 2001
From: Pierre Smeyers <pierre.smeyers@gmail.com>
Date: Sun, 17 Apr 2022 12:34:05 +0200
Subject: [PATCH] feat: configurable tracking image

---
 templates/gitlab-ci-python.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml
index 655077b..eb8c7a5 100644
--- a/templates/gitlab-ci-python.yml
+++ b/templates/gitlab-ci-python.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"
+
   # Change pip's cache directory to be inside the project directory since we can
   # only cache local items.
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -532,7 +535,7 @@ variables:
 .python-base:
   image: $PYTHON_IMAGE
   services:
-    - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
+    - name: "$TBC_TRACKING_IMAGE"
       command: ["--service", "python", "4.0.1"]
   # Cache downloaded dependencies and plugins between builds.
   # To keep cache across branches add 'key: "$CI_JOB_NAME"'
-- 
GitLab