summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-06 17:28:35 -0600
committerTom Rini <[email protected]>2025-11-11 11:55:16 -0600
commitcaa740df9cae5ddc74b18b88a4fea43e27b2fdf6 (patch)
treeefd3bc1d65373962bca21b7d9c347f7ab81cd348 /.gitlab-ci.yml
parent363ef8e491798a3abad83eac087c824c93c42676 (diff)
Gitlab: Optimize the job dependency list more
In general, we want to fail the whole pipeline as soon as we can if we spot an error while also letting bigger jobs get started as soon as possible. Currently we use the "Run binman, buildman, dtoc, Kconfig and patman testsuites" job from the testsuite stage to unblock the next stage as this test is complex enough that if it passes, likely the whole stager will pass. Using this same logic, unblock the world build (and sjg-lab) stages if "sandbox test.py" has completed as if there's no failures here, there's likely not failures in the rest of the test.py stages. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 24d790dd851..434945ce350 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -142,6 +142,7 @@ stages:
build all platforms in a single job:
stage: world build
dependencies: []
+ needs: [ "sandbox test.py" ]
tags:
- ${DEFAULT_FAST_TAG}
script:
@@ -596,6 +597,7 @@ coreboot test.py:
when: manual
allow_failure: true
dependencies: []
+ needs: [ "sandbox test.py" ]
tags: [ 'lab' ]
script:
# Environment: