diff --git a/.ci/build-jobs.yaml.j2 b/.ci/build-jobs.yaml.j2 index 70eabb085..bc0773c45 100644 --- a/.ci/build-jobs.yaml.j2 +++ b/.ci/build-jobs.yaml.j2 @@ -68,18 +68,17 @@ build: # Define here all the gitlab-ci snippets that could be common between the # different packages -# Extends from this job if the the build job generates a kernel and initramfs -# artifact for your target device. This will not work if your device generates -# boot images. +# Extends from this job if the target device needs a kernel and initramfs to +# boot. This will not work if your device uses boot images. .device-boot-flow-separate-artifacts: variables: CI_TRON_KERNEL__URL: "glartifact://${CI_TRON__PMB_BUILD_JOB}/${CI_TRON__PMB_EXPORT_PATH}/${KERNEL_NAME}" CI_TRON_INITRAMFS__INITRAMFS__URL: "glartifact://${CI_TRON__PMB_BUILD_JOB}/${CI_TRON__PMB_EXPORT_PATH}/initramfs" -# NOTE: For fastboot devices, we will need to use something like this -# .ci-tron-device-boot-flow-fastboot-image: -# variables: -# CI_TRON_FASTBOOT__BOOT_IMAGE: "glartifact://${CI_TRON__PMB_BUILD_JOB}/${CI_TRON__PMB_EXPORT_PATH}/bootimg" +# Extends from this job if the target device boots using fastboot and boot images +.device-boot-flow-fastboot-image: + variables: + CI_TRON_FASTBOOT__BOOT_IMAGE__URL: "glartifact://${CI_TRON__PMB_BUILD_JOB}/${CI_TRON__PMB_EXPORT_PATH}/boot.img" # Include all the devices that need and can to be tested