From e8ada2ffad4d17a00854822fb88d782ed9eaadcb Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Thu, 17 Nov 2022 16:08:05 +0100
Subject: [PATCH] Testing

---
 manifest-pipeline-yocto.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml
index 25cf064..30cb495 100644
--- a/manifest-pipeline-yocto.yml
+++ b/manifest-pipeline-yocto.yml
@@ -51,7 +51,6 @@ workflow:
     - if: $CI_COMMIT_REF_NAME =~ /^integrate\/.*/
       when: never
     # In all other cases, run the pipeline automatically
-    - when: always
 
 .full_build_pipeline:
 
@@ -61,7 +60,6 @@ workflow:
     - if: $CI_COMMIT_REF_NAME != $MASTER_BRANCH
     - if: $CI_PIPELINE_SOURCE == "api"
     - if: $CI_PIPELINE_SOURCE == "pipeline"
-      when: manual
     - if: $CI_PIPELINE_SOURCE == "web"
     # Trigger the pipeline on schedule basis (for weekly release)
     - if: $CI_PIPELINE_SOURCE == "schedule" 
@@ -140,6 +138,9 @@ retrigger:
   extends:
     - .infrastructure
     - .full_build_pipeline
+  rules:
+    - if: $CI_PIPELINE_SOURCE == "pipeline"
+      when: "manual"
   stage: build
   timeout: !reference [variables, BUILD_TIMEOUT]
   image: 
-- 
GitLab