Gitlab: Avoid downloading all artifacts in later stages
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>
(cherry picked from commit d3bb245855)
This commit is contained in:
@@ -152,6 +152,7 @@ stages:
|
||||
|
||||
.world_build:
|
||||
stage: world_build
|
||||
dependencies: []
|
||||
rules:
|
||||
# Skip if MR description contains [skip-world]
|
||||
- if: $CI_MERGE_REQUEST_DESCRIPTION =~ /\[skip-world\]/
|
||||
@@ -162,6 +163,7 @@ stages:
|
||||
|
||||
build all 32bit ARM platforms:
|
||||
extends: .world_build
|
||||
dependencies: []
|
||||
tags:
|
||||
- single
|
||||
script:
|
||||
@@ -180,6 +182,7 @@ build all 32bit ARM platforms:
|
||||
|
||||
build all 64bit ARM platforms:
|
||||
extends: .world_build
|
||||
dependencies: []
|
||||
tags:
|
||||
- single
|
||||
script:
|
||||
@@ -199,6 +202,7 @@ build all 64bit ARM platforms:
|
||||
|
||||
build all PowerPC platforms:
|
||||
extends: .world_build
|
||||
dependencies: []
|
||||
tags:
|
||||
- single
|
||||
script:
|
||||
@@ -219,6 +223,7 @@ build all PowerPC platforms:
|
||||
# hosts but covering all platforms in the pytest section.
|
||||
build all other platforms:
|
||||
extends: .world_build
|
||||
dependencies: []
|
||||
tags:
|
||||
- single
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user