ci: use matrix for yocto-check-layer
PATCH 1/1 ci: use matrix for yocto-check-layer
The check-layers task takes longer than any of the individual tests running. Split this up to take advantage of parallelism and speed up the overall runs.
Signed-off-by Jon Mason <[email protected]>
--- .gitlab-ci.yml | 6 ++++-- ci/check-layers.py | 44 -------------------------------------------- ci/check-layers.yml | 7 ------- 3 files changed, 4 insertions(+), 53 deletions(-) delete mode 100755 ci/check-layers.py delete mode 100644 ci/check-layers.yml
.gitlab-ci.yml +4 -2
@@ -77,10 +77,12 @@ machine-coverage: # Validate layers are Yocto Project Compatible check-layers: extends: .setup - coverage: '/Coverage: \d+/' script: - kas shell --update --force-checkout ci/base.yml:ci/meta-openembedded.yml --command \ - "$CI_PROJECT_DIR/ci/check-layers.py $CI_PROJECT_DIR/ci/check-layers.yml $CI_PROJECT_DIR $KAS_WORK_DIR" + "yocto-check-layer-wrapper $CI_PROJECT_DIR/$LAYER --dependency $CI_PROJECT_DIR $KAS_WORK_DIR/meta-openembedded/meta-oe --no-auto-dependency" + parallel: + matrix: + - LAYER: [meta-arm, meta-arm-bsp, meta-arm-toolchain, meta-gem5] pending-updates: extends: .setup
ci/check-layers.py deleted +0 -44
44 lines not on this page · raw message
ci/check-layers.yml deleted +0 -7
@@ -1,7 +0,0 @@ -layers: - - meta-arm - - meta-arm-bsp - - meta-arm-toolchain - - meta-gem5 -dependencies: - - meta-openembedded/meta-oe
Signature · 1 line
2.17.1
Jon Mason
AppliedQuoted 3 lines · Jon Mason
The check-layers task takes longer than any of the individual tests running. Split this up to take advantage of parallelism and speed up the overall runs.
Applied, thanks!
[1/1] ci: use matrix for yocto-check-layer
commit: 2766987583fc19ad1daeefb8138ac01b2d2b886f
Best regards,
Signature · 1 line
Jon Mason <[email protected]>