Merge "Remove explicit compress of log files"

This commit is contained in:
Zuul 2020-02-13 18:26:39 +00:00 committed by Gerrit Code Review
commit 0787fa53cb
1 changed files with 0 additions and 6 deletions

View File

@ -113,7 +113,6 @@ if [ -f /tmp/openstack/tempest/testrepository.subunit ] ; then
for f in testrepository.subunit testr_results.html;
do
sudo cp /tmp/openstack/tempest/$f $LOG_DIR/$f
sudo gzip -9 $LOG_DIR/$f
done
fi
@ -281,8 +280,3 @@ fi
if [ -d $SCRIPT_DIR/hiera ]; then
mv $SCRIPT_DIR/hiera $LOG_DIR
fi
# Compress all text logs
sudo find $LOG_DIR -iname '*.txt' -type f -execdir gzip -9 {} \+
sudo find $LOG_DIR -iname '*.dat' -type f -execdir gzip -9 {} \+
sudo find $LOG_DIR -iname '*.conf' -type f -execdir gzip -9 {} \+