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:
parent
0192bb0f1c
commit
d5f5525696
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue