aboutsummaryrefslogtreecommitdiff
path: root/tmt/tests
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-23 15:43:20 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-11-23 15:43:20 -0500
commitc5971107d5ac03129a6e7480aef79bfa8d57c2f3 (patch)
tree80b0f7ee48b3a4581a047460273618917c045853 /tmt/tests
parent58210badb5a83d11f9fe088f20c913981d3013f9 (diff)
downloadkiwi-descriptions-c5971107d5ac03129a6e7480aef79bfa8d57c2f3.tar.gz
kiwi-descriptions-c5971107d5ac03129a6e7480aef79bfa8d57c2f3.zip
tmt: Purge work area contents to free up space on archiving
We only need to preserve the log file anyway.
Diffstat (limited to 'tmt/tests')
-rw-r--r--tmt/tests/build-image.fmf2
1 files changed, 2 insertions, 0 deletions
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