Compress subunit tmpfile artifacts on static.o.o.

Change-Id: I8772eefafe7807ac110154f24bcd4959249249c3
Reviewed-on: https://review.openstack.org/24654
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2013-03-18 17:30:37 +00:00 committed by Jenkins
parent c7ec9dcc52
commit 07c1647531

View File

@ -124,7 +124,7 @@ class openstack_project::static (
user => 'root',
minute => '0',
hour => '*/6',
command => 'sleep $((RANDOM\%600)) && flock -n /var/run/gziplogs.lock find /srv/static/logs/ -type f -not -name robots.txt \( -name \*.txt -or -name \*.html \) -exec gzip \{\} \;',
command => 'sleep $((RANDOM\%600)) && flock -n /var/run/gziplogs.lock find /srv/static/logs/ -type f -not -name robots.txt -not -name \*.gz \( -name \*.txt -or -name \*.html -or -name tmp\* \) -exec gzip \{\} \;',
environment => 'PATH=/var/lib/gems/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin',
}
}