Merge "Remove explicit compress of log files"
This commit is contained in:
commit
0787fa53cb
|
@ -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 {} \+
|
||||
|
|
Loading…
Reference in New Issue