ci/lava: Make fastboot commands customizable

Instead of hardcoding the A/B slot selection, allow an optional
environment variable (LAVA_FASTBOOT_CMD) for devices that need it.
This is used for sm8350-hdk to select slot A, but can be omitted
for devices that don’t support A/B slots.

Update the lava-trigger container to pull in
1b521e7b38.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37478>
This commit is contained in:
Valentine Burley 2025-09-15 15:33:48 +02:00 committed by Marge Bot
parent 08da41f2f1
commit 57541eaa9b
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@ variables:
# 4. lava/health-check-docker - the slim container used for fastboot
# Set image: directly instead of extending .set-image to avoid conflicts
# with MESA_IMAGE_PATH and FDO_DISTRIBUTION_TAG between the containers.
image: registry.freedesktop.org/gfx-ci/lava-job-submitter/alpine/x86_64_lava-trigger:20250929-lava-timeout
image: registry.freedesktop.org/gfx-ci/lava-job-submitter/alpine/x86_64_lava-trigger:20251009-fastboot
# Cancel job if a newer commit is pushed to the same branch
interruptible: true
# The jobs themselves shouldn't actually run for an hour, of course.

View file

@ -284,6 +284,8 @@
KERNEL_IMAGE_NAME: "Image.gz"
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-sm8350-hdk
# The device has A/B boot slots - select slot A
LAVA_FASTBOOT_CMD: "set_active a"
DRIVER_NAME: freedreno-a6xx
VK_DRIVER: freedreno
LAVA_FIRMWARE: qcom-lava