From f0ed0f4fd8cea2d0c76aabc102c68bf89fe96fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com> Date: Fri, 20 Sep 2024 10:51:45 +0200 Subject: [PATCH] CI: Changelog: Add new variable 'CHANGELOG_PROJECTS_SKIP', remove project list The listed projects for the changelog are now supposed to be found automatically. No need to list them anymore. The 'SKIP' variable is mostly ment for custom projects, to filter out unneeded projects from the changelog. YT-256 --- build-pipeline.yml | 3 +++ manifest-pipeline-ci-test.yml | 5 ----- manifest-pipeline-yocto.yml | 5 ----- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/build-pipeline.yml b/build-pipeline.yml index a442ed0f..f6f8524c 100644 --- a/build-pipeline.yml +++ b/build-pipeline.yml @@ -236,6 +236,9 @@ workflow: - for project in ${CHANGELOG_PROJECTS}; do PROJECT_ARGS="${PROJECT_ARGS} --project=$project"; done + - for project in ${CHANGELOG_PROJECTS_SKIP}; do + PROJECT_ARGS="${PROJECT_ARGS} --skip-project=$project"; + done - .gitlab-ci/scripts/changelog_generator.py --token=${GITBOT_TOKEN} --branch=${MASTER_BRANCH} diff --git a/manifest-pipeline-ci-test.yml b/manifest-pipeline-ci-test.yml index 7ac91b48..ae308750 100644 --- a/manifest-pipeline-ci-test.yml +++ b/manifest-pipeline-ci-test.yml @@ -22,11 +22,6 @@ variables: # Has to be modified for new branches, e.g. new Yocto versions or fix releases. MASTER_BRANCH: master - # Projects to include in the changelog in addition to the manifest project - CHANGELOG_PROJECTS: - seco-ne/yocto/infrastructure/ci-test/minimal-bar - seco-ne/yocto/infrastructure/ci-test/minimal-foo - # List of machines to simulate building images for MACHINES: seco-mx6 seco-mx8mm diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 564fe1b4..bb43e10d 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -18,11 +18,6 @@ variables: BUILD_TIMEOUT: 1h - # Projects to include in the changelog in addition to the manifest project - CHANGELOG_PROJECTS: - seco-ne/yocto/layers/meta-seconorth-distro - seco-ne/yocto/layers/meta-seconorth-machine - # List of machines to build images for MACHINES: imx6guf imx6ullguf imx8mguf imx8mpguf -- GitLab