aboutsummaryrefslogtreecommitdiff
path: root/tmt/tests
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2023-12-21 23:22:42 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-01-13 05:13:42 -0500
commitc41b562b1008bb01afcd724515589dacd00c12c2 (patch)
tree466d8875fbaf4beda186034cb649de30f0500f15 /tmt/tests
parent11e6913afa7daddbfc0c8dfbc97cbc1fb481e2e0 (diff)
downloadkiwi-descriptions-c41b562b1008bb01afcd724515589dacd00c12c2.tar.gz
kiwi-descriptions-c41b562b1008bb01afcd724515589dacd00c12c2.zip
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.
Diffstat (limited to 'tmt/tests')
-rw-r--r--tmt/tests/build-image.fmf1
1 files changed, 1 insertions, 0 deletions
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