From c41b562b1008bb01afcd724515589dacd00c12c2 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Thu, 21 Dec 2023 23:22:42 -0500 Subject: tmt/tests/build-image: Purge the image working root after the build Once the image build is done, we do not need the working tree anymore and leaving it around causes it to get archived at the end of CI runs when it is totally unneeded. --- tmt/tests/build-image.fmf | 1 + 1 file changed, 1 insertion(+) diff --git a/tmt/tests/build-image.fmf b/tmt/tests/build-image.fmf index 4bbfac6..8100c9c 100644 --- a/tmt/tests/build-image.fmf +++ b/tmt/tests/build-image.fmf @@ -8,4 +8,5 @@ framework: shell path: / test: | ./kiwi-build --debug --image-type="$image_type" --image-profile="$image_profile" --kiwi-description-dir="${TMT_TREE}" --output-dir="${TMT_TEST_DATA}" + rm -rf "${TMT_TEST_DATA}/build/image-root" duration: 60m -- cgit v1.3.1+13