diff mbox series

[kirkstone,2/8] CI: add tags to all jobs

Message ID 20221215161606.1194188-2-ross.burton@arm.com
State New
Headers show
Series [kirkstone,1/8] CI: add variables needed for k8s runners | expand

Commit Message

Ross Burton Dec. 15, 2022, 4:16 p.m. UTC
Tag all jobs with the DEFAULT_TAG variable so each instance can control
what tags the jobs have, whilst still explicitly tagging the jobs which
need specific tags (such as x86_64 for jobs which need to run x86-only
binaries)

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 45d9902e..16ded78d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,8 @@  stages:
 
 # Common job fragment to get a worker ready
 .setup:
+  tags:
+    - $DEFAULT_TAG
   stage: build
   interruptible: true
   variables:
@@ -262,6 +264,8 @@  machine-coverage:
   script:
     - ./ci/check-machine-coverage
   coverage: '/Coverage: \d+/'
+  tags:
+    - x86_64
 
 metrics:
   extends: .setup