aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamilla Conte <cconte@redhat.com>2023-05-22 18:41:53 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-05-24 12:26:40 -0700
commit037a171a2f4395168bf34ce0955fbadf723de69b (patch)
tree6e5f45c3347a9498d1931808b2d93c0d4a2f6b32
parentb105ce60ca8bdee3e4ee928ad6a298db539dba68 (diff)
Add CI variable RUNNER_TAG
This allows to set a job tag dynamically. We need this to be able to select the Kubernetes runner. See https://wiki.qemu.org/Testing/CI/KubernetesRunners. Signed-off-by: Camilla Conte <cconte@redhat.com> Message-Id: <20230522174153.46801-5-cconte@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--.gitlab-ci.d/qemu-project.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.d/qemu-project.yml b/.gitlab-ci.d/qemu-project.yml
index a7ed447fe4..4d914c4897 100644
--- a/.gitlab-ci.d/qemu-project.yml
+++ b/.gitlab-ci.d/qemu-project.yml
@@ -1,6 +1,13 @@
# This file contains the set of jobs run by the QEMU project:
# https://gitlab.com/qemu-project/qemu/-/pipelines
+variables:
+ RUNNER_TAG: ""
+
+default:
+ tags:
+ - $RUNNER_TAG
+
include:
- local: '/.gitlab-ci.d/base.yml'
- local: '/.gitlab-ci.d/stages.yml'