koji_builder / stg: only keep buildroots for 4 hours, not 24 hours like prod

If we try and keep every build root for 24 hours the builders fill up and stop processing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-15 22:03:30 +00:00 committed by Pierre-Yves Chibon
parent 123e36f38e
commit 9afd2960a0

View file

@ -24,11 +24,18 @@ rpmbuild_timeout=201600
oz_install_timeout=14400
use_createrepo_c=True
{% if env != 'staging' %}
; The default time to clean up a failed buildroot is 4 hours.
; We find that it's sometimes helpfull to have it available the next day
; especially for hard to reproduce jobs that run as part of the composes.
; So, up this to 24 hours so we have time to look at failures.
failed_buildroot_lifetime=86400
{% else %}
; The default time to clean up a failed buildroot is 4 hours.
; In staging we keep that because we only have single builders and
; Their disk will fill up if we try and keep all builds for 24 hours
failed_buildroot_lifetime=14400
{% endif %}
{% if host in groups['buildvm_s390x'] %}
# s390x builders use a local varnish cache