From a51905feec622fdf135ee02c57b7af0d6ef7e0e7 Mon Sep 17 00:00:00 2001
From: gitbot <gitbot@garz-fricke.com>
Date: Thu, 27 Jul 2023 11:10:44 +0000
Subject: [PATCH] Integrate gitlab-ci/separate-images-in-multiple-pipelines and
 1 more

--

Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/9406ad752cfe28ca33556df57282c278ef9ece00

Yocto build: separate images in multiple pipelines

Instead of building the Yocto image, the Yocto SDK and the FNGSystem
image in one single pipeline, separate them into three independent
pipelines that are triggered in parallel.

This makes the concept more modular: we have a single general pipeline
now which is configurable from outside via variables. Hence we can have
a custom number of pipelines along with custom build targets in each
project without having to make code changes in the gitlab-ci project.

The default Yocto manifest pipeline configures three build pipelines:

- yocto-build-jobs
- sdk-build-jobs
- fngsystem-build-jobs

In a project including the Yocto manifest pipeline, we can disable
certain build pipelines using job rules, e.g. disabling the SDK build:

sdk-build-jobs:
  rules:
    - when: never

Furthermore we can add more pipelines by simply adding jobs extending
the '.build-jobs' class in the project's .gitlab-ci.yml:

yocto-custom-build-jobs:
  extends:
    - .build-jobs
  variables:
    BITBAKE_TASK: build
    CI_PARAM_IMAGE: custom-image
    CI_PARAM_DISTRO: custom-distro
    PACKAGE_TYPE: image

--

Commit: https://git.seco.com/seco-ne/yocto/infrastructure/gitlab-ci/-/commit/447804d2f8fa6dc4c6b23bb442ec97d2cecd263c

.gitlab-ci: increase analyze timeout
---
 .gitlab-ci     | 2 +-
 .gitlab-ci.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci b/.gitlab-ci
index 5762a54..9406ad7 160000
--- a/.gitlab-ci
+++ b/.gitlab-ci
@@ -1 +1 @@
-Subproject commit 5762a54c150e5848b2262dba53df1a335af42ae9
+Subproject commit 9406ad752cfe28ca33556df57282c278ef9ece00
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce9a42f..4ebee84 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,9 @@
 # ---------------------------------------------------------------------------------------
 include:
   - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci'
-    ref: 5762a54c150e5848b2262dba53df1a335af42ae9
+    ref: 9406ad752cfe28ca33556df57282c278ef9ece00
     file: 'manifest-integration.yml'
 
 variables:
-  GITLAB_CI_REVISION: 5762a54c150e5848b2262dba53df1a335af42ae9
+  GITLAB_CI_REVISION: 9406ad752cfe28ca33556df57282c278ef9ece00
   BB_RECIPE_NAME: secure-element-examples
-- 
GitLab