fedora-kiwi-descriptions/tmt/tests/build-image.fmf
Neal Gompa b25a6440f9 tmt: Purge work area contents to free up space on archiving
We only need to preserve the log file anyway.

(cherry picked from commit c5971107d5ac03129a6e7480aef79bfa8d57c2f3)
2024-11-23 15:44:35 -05:00

16 lines
533 B
Plaintext

summary: Build image
require:
- distribution-gpg-keys
- git-core
- kiwi
- kiwi-systemdeps-containers
- kiwi-systemdeps-disk-images
- libselinux-utils
framework: shell
path: /
test: |
./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --kiwi-file="$kiwi_file" --output-dir="${TMT_TEST_DATA}" --image-release="$(date --utc +'%Y%m%d.%H%M')"
mv ${TMT_TEST_DATA}-build/build/image-root.log ${TMT_TEST_DATA}
rm -rf "${TMT_TEST_DATA}-build"
duration: 60m