Skip to content

Commit

Permalink
Remove all images from logs
Browse files Browse the repository at this point in the history
In addtion to deleting the files with img extension [0] from the logs folder,
delete also qcow2 files.

[0] #197
  • Loading branch information
rdiazcam authored and openshift-cherrypick-robot committed Nov 20, 2024
1 parent c030097 commit f050125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container-images/tcib/base/os/tempest/run_tempest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ function generate_test_results {
&& (subunit2junitxml ${TEMPEST_LOGS_DIR}testrepository.subunit > ${TEMPEST_LOGS_DIR}tempest_results.xml || true) \
&& subunit2html ${TEMPEST_LOGS_DIR}testrepository.subunit ${TEMPEST_LOGS_DIR}stestr_results.html || true

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

echo Copying logs file
cp -rf ${TEMPEST_DIR}/* ${TEMPEST_LOGS_DIR}
Expand Down

0 comments on commit f050125

Please sign in to comment.