Skip to content
Snippets Groups Projects
Commit 6bfa1bad authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Make distro and image combos dynamic

parent 414ebe6d
No related branches found
No related tags found
No related merge requests found
Pipeline #70386 passed with warnings with stages
in 7 minutes and 38 seconds
......@@ -28,16 +28,17 @@ variables:
generate-build-jobs:
variables:
# Default image and distro
CI_PARAM_IMAGE: guf-image
CI_PARAM_DISTRO: guf-wayland
# Flash-N-Go image and distro
# In the past, the buildfng job overwrote the image and distro itself. Due to the
# transition to the new seconorth names, image and distro for the buildfng must be
# settable from outside of the job.
CI_PARAM_IMAGE_FNG: fngsystem-image
CI_PARAM_DISTRO_FNG: guf-fngsystem
# List of machines to build images for
CI_PARAM_MACHINES: imx6guf imx6ullguf imx8mguf imx8mpguf
parallel:
matrix: &build_jobs
# Default image and distro
- CI_PARAM_DISTRO: guf-wayland
CI_PARAM_IMAGE: guf-image
# Flash-N-Go image and distro
- CI_PARAM_DISTRO: guf-fngsystem
CI_PARAM_IMAGE: fngsystem-image
build-jobs:
parallel:
matrix: *build_jobs
......@@ -79,7 +79,8 @@ generate-build-jobs:
build-jobs:
extends:
- .full_build_pipeline
needs: ["generate-build-jobs"]
dependencies:
- "generate-build-jobs: [${CI_PARAM_DISTRO}, ${CI_PARAM_IMAGE}]"
trigger:
include:
- artifact: build-jobs.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment