]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Gitlab: Optimize the job dependency list more
authorTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 23:28:35 +0000 (17:28 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 11 Nov 2025 17:55:16 +0000 (11:55 -0600)
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 <trini@konsulko.com>
.gitlab-ci.yml

index 24d790dd8517dc1a56dd9a6d836c04ed2e92cc3b..434945ce35014667dc6c84920284c2c06b96a3f4 100644 (file)
@@ -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: