gzip the ARA report after generating it

ARA behaves well gzipped and shaves a lot of the size due to it being
composed mostly of text.

Change-Id: I7a3f21af365d13ba783d200a75d18b50429a1488
This commit is contained in:
David Moreau-Simard 2017-05-25 16:25:45 -04:00
parent 7d23bd3712
commit dc71ebe267

View File

@ -24,6 +24,7 @@ function copy_logs {
# NOTE(SamYaple): Fix permissions for log extraction in gate # NOTE(SamYaple): Fix permissions for log extraction in gate
chmod -R 777 /tmp/logs/kolla /tmp/logs/kolla_configs /tmp/logs/system_logs chmod -R 777 /tmp/logs/kolla /tmp/logs/kolla_configs /tmp/logs/system_logs
ara generate html /tmp/logs/playbook_reports/ ara generate html /tmp/logs/playbook_reports/
gzip --recursive --best /tmp/logs/playbook_reports/
} }
function sanity_check { function sanity_check {