CI: introduce BUILD_FOR_TESTS_ONLY

When the variable is set, only build jobs that are used in tests are
scheduled. This saves a lot of time, for example when scheduling a test
pipeline with alternative linux branch.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
This commit is contained in:
Marek Marczykowski-Górecki authored and Anthony PERARD committed 2026-04-23 17:39:55 +02:00
1 parent 48b6cd64dc
commit a183f7fbe7
2 files changed
+26

No files matched your search

+2
View File
@@ -3,6 +3,8 @@ variables:
SELECTED_JOBS_ONLY:
description: "Regex to select only some jobs, must be enclosed with /. For example /job1|job2/"
value: "/.*/"
BUILD_FOR_TESTS_ONLY:
description: "Include only build jobs necessary for running tests"
ARTIFACTS_REPO:
description: "Path to the test-artifacts repo"
value: xen-project/hardware/test-artifacts
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.