From: Peter Hoyes <Peter.Hoyes@...>
Tag all jobs with the DEFAULT_TAG variable so each instance can control
what tags the jobs have.
Signed-off-by: Ross Burton <ross.burton@...>
Signed-off-by: Jon Mason <jon.mason@...>
Signed-off-by: Peter Hoyes <Peter.Hoyes@...>
---
.gitlab-ci.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03bd9c9..e88d6e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: ghcr.io/siemens/kas/kas:latest-release
=20
variables:
CPU_REQUEST: ""
+ DEFAULT_TAG: ""
# These are needed as the k8s executor doesn't respect the container
# entrypoint by default
FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: 0
@@ -13,6 +14,8 @@ stages:
=20
# Common job fragment to get a worker ready
.setup:
+ tags:
+ - $DEFAULT_TAG
stage: build
interruptible: true
variables:
@@ -65,7 +68,8 @@ machine-coverage:
script:
- ./ci/check-machine-coverage
coverage: '/Coverage: \d+/'
-
+ tags:
+ - $DEFAULT_TAG
=20
#
# Build stage, the actual build jobs
--=20
2.25.1