ci: improve dependency resolution in build-jobs.yaml.j2

The gitlab issue is now resolved! Although we still need gitlab 18.6
to test it.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7590>
This commit is contained in:
Pablo Correa Gómez 2025-12-05 09:34:57 +01:00 committed by The Friendly Merge Bot
parent 2c08601858
commit 41d7b0c4b7
No known key found for this signature in database

View file

@ -129,8 +129,9 @@ prepare-{{ device.name }}:
needs:
- job: 'prepare-{{ device.name }}'
artifacts: false
# NOTE: We can't wait for a particular job in the matrix until GitLab implements support for it:
# https://gitlab.com/gitlab-org/gitlab/-/issues/423553
parallel:
matrix:
- KERNEL_VARIANT: $[[ matrix.KERNEL_VARIANT ]]
variables:
CI_TRON__PMB_BUILD_JOB: "prepare-{{ device.name }}{% if device.has_kernel_variants %}: [$KERNEL_VARIANT]{% endif %}"
CI_TRON_KERNEL_CMDLINE__DEVICEINFO: '{{ device.deviceinfo.kernel_cmdline }}'