From c5971107d5ac03129a6e7480aef79bfa8d57c2f3 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Sat, 23 Nov 2024 15:43:20 -0500 Subject: [PATCH] tmt: Purge work area contents to free up space on archiving We only need to preserve the log file anyway. --- tmt/tests/build-image.fmf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmt/tests/build-image.fmf b/tmt/tests/build-image.fmf index 48e72bb..3a400cd 100644 --- a/tmt/tests/build-image.fmf +++ b/tmt/tests/build-image.fmf @@ -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