From b7de1b3108cc54237a391c79feb89bf4ebeafdda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Wed, 10 Dec 2025 02:36:08 +0100 Subject: [PATCH] ci: enable support for fastboot devices in ci-tron MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pablo Correa Gómez Part-of: --- .ci/build-jobs.yaml.j2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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