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)
This commit is contained in:
Neal Gompa 2024-11-23 15:43:20 -05:00
parent 87740c8234
commit b25a6440f9

View File

@ -10,4 +10,6 @@ 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