Skip to content

Commit f050125

Browse files
rdiazcamopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
Remove all images from logs
In addtion to deleting the files with img extension [0] from the logs folder, delete also qcow2 files. [0] #197
1 parent c030097 commit f050125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

container-images/tcib/base/os/tempest/run_tempest.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ function generate_test_results {
416416
&& (subunit2junitxml ${TEMPEST_LOGS_DIR}testrepository.subunit > ${TEMPEST_LOGS_DIR}tempest_results.xml || true) \
417417
&& subunit2html ${TEMPEST_LOGS_DIR}testrepository.subunit ${TEMPEST_LOGS_DIR}stestr_results.html || true
418418

419-
# NOTE: Remove cirros image before copying of the logs.
420-
rm ${TEMPEST_DIR}/etc/*.img
419+
# NOTE: Remove images before copying of the logs.
420+
rm ${TEMPEST_DIR}/etc/*.{img,qcow2}
421421

422422
echo Copying logs file
423423
cp -rf ${TEMPEST_DIR}/* ${TEMPEST_LOGS_DIR}

0 commit comments

Comments
 (0)