[xenomai-images][PATCH 9/9] ci: Add job filter variable

Jan Kiszka jan.kiszka at siemens.com
Wed May 12 10:32:23 CEST 2021


From: Jan Kiszka <jan.kiszka at siemens.com>

This allows to set a filter variable when triggering the pipeline,
effectively running only one of the currently three child pipelines.
Will permit automatic triggering from the Xenomai repo on pushes to the
corresponding branches.

Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---
 ci/child_pipelines_common.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ci/child_pipelines_common.yml b/ci/child_pipelines_common.yml
index d742041..a96a81f 100644
--- a/ci/child_pipelines_common.yml
+++ b/ci/child_pipelines_common.yml
@@ -17,3 +17,5 @@ stages:
   stage: parent
   trigger:
     strategy: depend
+  rules:
+    - if: '$ONLY_RUN == null || $ONLY_RUN == $CI_JOB_NAME'
-- 
2.26.2




More information about the Xenomai mailing list