From 8f761df6d04fd93b7c679b6e86ea887646de49b5 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Sun, 1 May 2022 13:41:19 +0200 Subject: [PATCH] feat: configurable tracking image --- templates/gitlab-ci-sonar.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml index b33ed77..a39a81a 100644 --- a/templates/gitlab-ci-sonar.yml +++ b/templates/gitlab-ci-sonar.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" + # Sonar SONAR_SCANNER_IMAGE: sonarsource/sonar-scanner-cli:latest @@ -271,7 +274,7 @@ sonar: name: $SONAR_SCANNER_IMAGE entrypoint: [""] services: - - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master" + - name: "$TBC_TRACKING_IMAGE" command: ["--service", "sonar", "2.0.1" ] variables: # Tells git to fetch all the branches of the project, required by the analysis task -- GitLab