koji_hub: setup cron job to clean up old and empty side tags daily.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-06-04 09:55:07 -07:00
parent 84fed68636
commit e887af865d
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# Clean up sidetags.
MAILTO=releng-cron@lists.fedoraproject.org
0 4 * * * root /usr/local/bin/lock-wrapper koji-sidetag-cleanup "/usr/sbin/koji-sidetag-cleanup --empty-delay=14 --old-delay=30"

View file

@ -445,6 +445,7 @@
- koji-directory-cleanup - koji-directory-cleanup
- koji-gc - koji-gc
- koji-prune-signed-copies - koji-prune-signed-copies
- koji-sidetag-cleanup
tags: tags:
- files - files
- koji_hub - koji_hub
@ -455,6 +456,7 @@
- koji-directory-cleanup - koji-directory-cleanup
- koji-gc - koji-gc
- koji-prune-signed-copies - koji-prune-signed-copies
- koji-sidetag-cleanup
tags: tags:
- files - files
when: env != 'staging' and ansible_hostname.startswith('koji02') when: env != 'staging' and ansible_hostname.startswith('koji02')