]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Gitlab: Avoid downloading all artifacts in later stages
authorTom Rini <trini@konsulko.com>
Sun, 8 Dec 2024 17:07:28 +0000 (11:07 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 21 Dec 2024 18:27:46 +0000 (12:27 -0600)
In the test.py stage of the build we mark the pytest results as
artifacts to save, so that they can be used for reports. This however
leads to all of the artifacts being downloaded (and then not used) in
later stages. Optimize this out by using an empty list of dependencies
here (which is the keyword for which artifacts are needed).

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
.gitlab-ci.yml

index ae9120655b0c76da17bbe8124f5b829287c783cf..696d3cb1bd744fe7ba4f289371d6e1ba8cddd1d6 100644 (file)
@@ -111,6 +111,7 @@ stages:
 
 build all platforms in a single job:
   stage: world build
+  dependencies: []
   rules:
     - when: always
   parallel:
@@ -521,6 +522,7 @@ coreboot test.py:
     - if: $SJG_LAB != "1"
       when: manual
       allow_failure: true
+  dependencies: []
   tags: [ 'lab' ]
   script:
     - if [[ -z "${SJG_LAB}" ]]; then