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:
parent
84fed68636
commit
e887af865d
2 changed files with 5 additions and 0 deletions
3
roles/koji_hub/files/koji-sidetag-cleanup
Normal file
3
roles/koji_hub/files/koji-sidetag-cleanup
Normal 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"
|
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue