[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/5] Add CI variable RUNNER_TAG
|
From: |
Camilla Conte |
|
Subject: |
[PATCH v2 4/5] Add CI variable RUNNER_TAG |
|
Date: |
Mon, 22 May 2023 18:41:53 +0100 |
This allows to set a job tag dinamically.
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>
---
.gitlab-ci.d/qemu-project.yml | 7 +++++++
1 file changed, 7 insertions(+)
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'
--
2.40.1
- Add CI configuration for Kubernetes, Camilla Conte, 2023/05/22
- [PATCH v2 1/5] Remove redundant CI variables, Camilla Conte, 2023/05/22
- [PATCH v2 2/5] Use docker "stable" tag, Camilla Conte, 2023/05/22
- [PATCH v2 3/5] Add loop over docker info, Camilla Conte, 2023/05/22
- [PATCH v2 4/5] Add CI variable RUNNER_TAG,
Camilla Conte <=
- [PATCH v2 5/5] Add Kubernetes runner configuration, Camilla Conte, 2023/05/22
- Re: Add CI configuration for Kubernetes, Richard Henderson, 2023/05/22
- [PATCH v3 5/5] Add Kubernetes runner configuration, Camilla Conte, 2023/05/23
- Re: Add CI configuration for Kubernetes, Richard Henderson, 2023/05/24