From 2649e34a91a7f72afa72cf657d255dff27488ca5 Mon Sep 17 00:00:00 2001
From: "Benguria Elguezabal, Gorka" <gorka.benguria@tecnalia.com>
Date: Fri, 10 May 2024 12:53:51 +0200
Subject: [PATCH] adds runner tag support

---
 templates/extract.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/templates/extract.yml b/templates/extract.yml
index f11060a..9d77cae 100644
--- a/templates/extract.yml
+++ b/templates/extract.yml
@@ -1,3 +1,10 @@
+spec:
+  inputs:
+    extract-script-job-tags:
+      description: tags to filter applicable runners for extract-script build job
+      type: array
+      default: []
+
 variables:
   # base image used to extract the shell script part from TBC templates
   TBC_EXTRACT_IMAGE: registry.hub.docker.com/library/alpine
@@ -19,3 +26,4 @@ extract-script:
   rules:
     # enabled if $GITLAB_CI_FILES is set
     - if: $GITLAB_CI_FILES
+  tags: $[[ inputs.extract-script-job-tags ]]
-- 
GitLab