ansible-role-kojihub/templates/etc/koji-gc/koji-gc.conf.j2

56 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-12-23 09:12:56 +00:00
[main]
2020-12-31 21:44:36 +00:00
; Kerberos Auth
principal = {{ koji_gc_principal }}
keytab = {{ koji_gc_keytab }}
krb_rdns = False
2021-02-16 21:12:58 +00:00
key_aliases =
6D745A60 signing
BBE2C108 testing-signing
unprotected_keys =
testing-signing
2020-12-23 09:12:56 +00:00
server = {{ koji_hub_url }}
weburl = {{ koji_web_url }}
2020-12-31 21:44:36 +00:00
# We don't know what we're doing with SSL CA's yet
2021-01-24 00:57:36 +00:00
serverca = {{ koji_web_cacert }}
2020-12-31 21:44:36 +00:00
2020-12-23 09:12:56 +00:00
# The domain name that will be appended to Koji usernames
# when creating email notifications
#email_domain = fedoraproject.org
# SMTP user and pass (uncomment and fill in if your smtp server requires authentication)
#smtp_user=user@example.com
#smtp_pass=CHANGEME
[prune]
policy =
#stuff to protect
#note that tags with master lock engaged are already protected
tag *-updates :: keep
2021-06-07 01:08:34 +00:00
# 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
2020-12-23 09:12:56 +00:00
#stuff to chuck semi-rapidly
2021-06-07 01:19:27 +00:00
#tag *-testing *-candidate :: { # nested rules
# order >= 2 :: untag
# order > 0 && age > 6 weeks :: untag
#} #closing braces must be on a line by themselves (modulo comments/whitespace)
#tag *-candidate && age > 60 weeks :: untag
#tag *-testing *-candidate *-override && order >= 2 :: untag
#tag *-testing *-candidate && order > 0 && age > 6 weeks :: untag
#tag *-candidate && age > 8 weeks :: untag
2020-12-23 09:12:56 +00:00
#default: keep the last 3
order > 2 :: untag