Start compressing config files too

This commit starts gzipping the config files that are copied to the
log directory. Previously this was overlooked because there weren't
any conf files copied.

Change-Id: I21902d34eeea6931289f2a8053c787cd5284e5b2
This commit is contained in:
Matthew Treinish
2014-02-19 16:09:19 -05:00
parent 07cf1cc9ac
commit e5437abe25

View File

@@ -435,6 +435,7 @@ function cleanup_host {
# Compress all text logs
sudo find $BASE/logs -iname '*.txt' -execdir gzip -9 {} \+
sudo find $BASE/logs -iname '*.dat' -execdir gzip -9 {} \+
sudo find $BASE/logs -iname '*.conf' -execdir gzip -9 {} \+
# Save the tempest nosetests results
sudo cp $BASE/new/tempest/nosetests*.xml $BASE/logs/