From: Jan Kiszka <jan.kis...@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.kis...@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


Reply via email to