koji-hub / gc: kee only last most recent packages in infra tags. ticket 7454. Thanks mattia

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-03-19 23:29:01 +00:00 committed by Pierre-Yves Chibon
parent 0192bb0f1c
commit d5f5525696

View file

@ -94,8 +94,6 @@ policy =
#stuff to protect
#note that tags with master lock engaged are already protected
tag *-updates :: keep
tag *-infra :: keep
tag *-infra-stg :: keep
tag f26-modularity :: keep
age < 1 day :: skip
sig fedora-gold :: skip
@ -135,6 +133,10 @@ policy =
tag *-testing *-candidate && order > 0 && age > 6 weeks :: untag
tag *-candidate && age > 8 weeks :: untag
#stuff for infrastructure repositories
tag *-infra && order >= 2 :: untag
tag *-infra-stg && order >= 2 && age > 4 weeks :: untag
#default: keep the last 3
order > 2 :: untag