From 072be955a9a46f7c64310a3a15a664bddfe9de3d Mon Sep 17 00:00:00 2001 From: Lorenzo Pagliai <lorenzo.pagliai@seco.com> Date: Thu, 30 Mar 2023 15:46:21 +0200 Subject: [PATCH] [INCLUDE] Insert variable to include generic boards or not * This is necessary for custom projects manifest to not run jobs regarding catalogue boards --- manifest-pipeline-yocto.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 9476f94..93a9208 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -4,15 +4,10 @@ # -------------------------------------------------------------------------------------- include: - - local: common.yml - - local: boards/.a62.yml - - local: boards/.c12.yml - - local: boards/.c20.yml - - local: boards/.c26.yml - - local: boards/.c31.yml - - local: boards/.c43.yml - - local: boards/.tanaro.yml - - local: boards/.intel_apl.yml + - local: 'common.yml' + - local: 'boards/*' + rules: + - if: $TARGET == "generic" variables: # The id of the gitlab project used in the rules section to not run pipelines in @@ -61,8 +56,8 @@ workflow: when: never # Do not run pipelines on forked projects # (use id instead of name because of rename) - - if: $CI_PROJECT_ID != $MANIFEST_PROJECT_ID - when: never + # - if: $CI_PROJECT_ID != $MANIFEST_PROJECT_ID + # when: never # Do not run pipelines on integration branches - if: $CI_COMMIT_REF_NAME =~ /^integrate\/.*/ when: never -- GitLab