From db762e4961e026b55db21ee8aa1adfdd5268ee0b Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Sun, 4 Dec 2022 16:14:12 +0100 Subject: [PATCH] Insert rule to not run retrigger on schedule --- manifest-pipeline-yocto.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index b93c037..7c1ca68 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -58,8 +58,8 @@ workflow: - if: $CI_PROJECT_ID != $MANIFEST_PROJECT_ID when: never # Do not run pipelines on integration branches - #- if: $CI_COMMIT_REF_NAME =~ /^integrate\/.*/ - # when: never + - if: $CI_COMMIT_REF_NAME =~ /^integrate\/.*/ + when: never # In all other cases, run the pipeline automatically .full_build_pipeline: @@ -130,6 +130,10 @@ retrigger: extends: - .infrastructure - .full_build_pipeline + rules: + #Do not run on schedule + - if: $CI_PIPELINE_SOURCE == "schedule" + when: never stage: retrigger rules: - if: $CI_PIPELINE_SOURCE == "pipeline" -- GitLab