Message ID | 20230522174153.46801-5-cconte@redhat.com |
---|---|
State | New |
Headers | show |
Series | [v2,1/5] Remove redundant CI variables | expand |
On Mon, May 22, 2023 at 06:41:53PM +0100, Camilla Conte wrote: > This allows to set a job tag dinamically. typo - s/dinamically/dynamically/ can be fixed when a maintainer queues this, no need to repost just for this typo. > 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(+) Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> With regards, Daniel
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'
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(+)