From 05a1a08a04940fe40f0628f7c0174f8e363efbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 8 May 2026 21:08:55 +0200 Subject: [PATCH] ci: build_on_debian: use variable expansion in `needs:parallel:matrix` Since gitlab 18.6, a job can refer to a subset of parallel jobs[0], so make use of it so that build jobs only depend on the container job for the specific architecture. [0]: https://docs.gitlab.com/ci/yaml/matrix_expressions/#matrix-expressions-in-needsparallelmatrix --- .gitlab-ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b35b4b25..31b3c104c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -341,12 +341,9 @@ build_on_debian: needs: - job: container_debian artifacts: false - # ideally - # parallel: - # matrix: - # - ARCH: "$ARCH" - # however https://gitlab.com/gitlab-org/gitlab/-/issues/423553 - # ("Expand variables in `needs:parallel:matrix`") + parallel: + matrix: + - ARCH: [ '$[[ matrix.ARCH ]]' ] variables: FDO_DISTRIBUTION_TAG: "$BASE_TAG-$ARCH" # see /.gitlab/ci/setup-debian-cross-container.sh for installed packages