From 55cf3ec497533aad1e6df06563b05590b34db8dc Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sun, 6 Jun 2021 18:08:34 -0700 Subject: [PATCH] fix pruning --- templates/etc/koji-gc/koji-gc.conf.j2 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/etc/koji-gc/koji-gc.conf.j2 b/templates/etc/koji-gc/koji-gc.conf.j2 index a883a21..281b772 100644 --- a/templates/etc/koji-gc/koji-gc.conf.j2 +++ b/templates/etc/koji-gc/koji-gc.conf.j2 @@ -29,7 +29,17 @@ policy = #stuff to protect #note that tags with master lock engaged are already protected tag *-updates :: keep - age < 1 day :: skip + # protect modules + tag *-modular-* :: keep + tag *-modular :: keep + tag module-* :: keep + # protect infra + tag *-infra :: keep + # general age + age < 30 day :: skip + + # sig protect + sig signing && age < 16 weeks :: keep #stuff to chuck semi-rapidly tag *-testing *-candidate :: { # nested rules