Skip to content
Snippets Groups Projects
Commit ccbe4066 authored by Chase Qi's avatar Chase Qi
Browse files

ci: publish ovmf.qcow2 for qemu test jobs


Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent 71af25a4
No related branches found
No related tags found
No related merge requests found
...@@ -279,11 +279,11 @@ ...@@ -279,11 +279,11 @@
extends: .build-image extends: .build-image
script: script:
- !reference [.build-image, script] - !reference [.build-image, script]
# Remove everything _except_ for the .wic.* and *.bmap files. Most of the # Remove everything _except_ for the .wic.* and *.bmap and ovmf.qcow2 files.
# remaining files are redundant and quite large. Our Linux builds really # Most of the remaining files are redundant and quite large. Our Linux
# only care about the wic files. # builds really only care about the wic files and the qemu UEFI firmware.
- echo "Removing non-wic/bmap image files" - echo "Removing non-wic/bmap image files"
- find "$CI_PROJECT_DIR"/artifacts/images/ \( -type f -o -type l \) -a ! -name "*.wic.*" -print -delete - find "$CI_PROJECT_DIR"/artifacts/images/ \( -type f -o -type l \) -a ! \( -name "*.wic.*" -o -name "ovmf.qcow2" \) -print -delete
- echo "Pruning empty directories" - echo "Pruning empty directories"
- find "$CI_PROJECT_DIR"/artifacts/ -type d -exec rmdir --verbose --ignore-fail-on-non-empty {} \; 2>/dev/null || true - find "$CI_PROJECT_DIR"/artifacts/ -type d -exec rmdir --verbose --ignore-fail-on-non-empty {} \; 2>/dev/null || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment