From 45b49ee34994139ae8199b467ca561a75a13382c Mon Sep 17 00:00:00 2001
From: Tim Jaacks <tim.jaacks@garz-fricke.com>
Date: Mon, 12 Sep 2022 17:55:28 +0200
Subject: [PATCH] Remove build stage on master

We don't need to explicitly trigger a build after merging changes in
gitlab-ci. A master pipeline on the target projects runs automatically.
---
 .gitlab-ci.yml | 48 ------------------------------------------------
 1 file changed, 48 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 048c6e54..53347497 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -200,51 +200,3 @@ merge-yocto:
     - .merge
   variables:
     MANIFEST_BRANCH: dunfell,kirkstone
-
-
-# --------------------------------------------------------------------------------------
-# Stage: build
-# --------------------------------------------------------------------------------------
-.build-master:
-  stage: build
-  rules:
-    - if: $CI_COMMIT_BRANCH == "master"
-      when: manual
-
-.build-master-ci-test:
-  extends: .build-master
-  needs: ["merge-ci-test"]
-  trigger:
-    project: seco-ne/yocto/infrastructure/ci-test/minimal-manifest
-    branch: "${MANIFEST_BRANCH}"
-    strategy: depend
-
-.build-master-yocto:
-  extends: .build-master
-  needs: ["merge-yocto"]
-  trigger:
-    project: seco-ne/yocto/manifest
-    branch: "${MANIFEST_BRANCH}"
-    strategy: depend
-
-# Jobs
-
-build-master-ci-test:primary:
-  extends: .build-master-ci-test
-  variables:
-    MANIFEST_BRANCH: primary
-
-build-master-ci-test:secondary:
-  extends: .build-master-ci-test
-  variables:
-    MANIFEST_BRANCH: secondary
-
-build-master-yocto:dunfell:
-  extends: .build-master-yocto
-  variables:
-    MANIFEST_BRANCH: dunfell
-
-build-master-yocto:kirkstone:
-  extends: .build-master-yocto
-  variables:
-    MANIFEST_BRANCH: kirkstone
-- 
GitLab