diff options
author | Camilla Conte <cconte@redhat.com> | 2023-05-22 18:41:53 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-24 12:26:40 -0700 |
commit | 037a171a2f4395168bf34ce0955fbadf723de69b (patch) | |
tree | 6e5f45c3347a9498d1931808b2d93c0d4a2f6b32 /.gitlab-ci.d | |
parent | b105ce60ca8bdee3e4ee928ad6a298db539dba68 (diff) | |
download | qemu-037a171a2f4395168bf34ce0955fbadf723de69b.zip qemu-037a171a2f4395168bf34ce0955fbadf723de69b.tar.gz qemu-037a171a2f4395168bf34ce0955fbadf723de69b.tar.bz2 |
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>
Diffstat (limited to '.gitlab-ci.d')
-rw-r--r-- | .gitlab-ci.d/qemu-project.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.d/qemu-project.yml b/.gitlab-ci.d/qemu-project.yml index a7ed447..4d914c4 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' |