Skip to contentSkip to conversation

ci: Adjust filter rule to new job names

PATCH New Jan Kiszka 1 participant 1 message Feb 14, 2024

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 ci: Adjust filter rule to new job names

From: Jan Kiszka <[email protected]>

'next' is now 'xenomai-3/next', but we do not want the stable/v3 jobs to be prefixed with xenomai-3/ in addition to keep names shorter. The triggering pipeline will have to do that, though, so permit this in the rule set.

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
index 4c20c53..9edf635 100644
@@ -23,7 +23,7 @@ stages:
     forward:
       pipeline_variables: true
   rules:
-    - if: '$ONLY_RUN == null || $ONLY_RUN == $CI_JOB_NAME'
+    - if: '$ONLY_RUN == null || $ONLY_RUN == $CI_JOB_NAME || $ONLY_RUN == "xenomai-3/${CI_JOB_NAME}"'
 
 
 stable/v3.0.x:
Signature · 1 line
2.35.3