mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
koji_hub: cleanup prune signed copies cron/script
* Rename to koji-prune-signed-copies to make it clear it's not removing signatures * Quote the script and args gor lock-wrapper so it runs and doesn't error out. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
3
roles/koji_hub/files/koji-prune-signed-copies
Normal file
3
roles/koji_hub/files/koji-prune-signed-copies
Normal file
@@ -0,0 +1,3 @@
|
||||
# Run prune-signed-copies nightly
|
||||
MAILTO=releng-cron@lists.fedoraproject.org
|
||||
0 8 * * * apache /usr/local/bin/lock-wrapper koji-prune-signed "/usr/bin/koji --noauth prune-signed-copies --verbose --protect-tag-file=/etc/prune-signed-copies-protected-tags"
|
||||
@@ -1,4 +0,0 @@
|
||||
# Run prune-signed-copies nightly
|
||||
MAILTO=releng-cron@lists.fedoraproject.org
|
||||
SCRIPT=/usr/bin/koji
|
||||
0 8 * * * apache /usr/local/bin/lock-wrapper koji-prune-signed $SCRIPT --noauth prune-signed-copies --verbose --protect-tag-file=/etc/prune-signed-copies-protected-tags
|
||||
@@ -409,7 +409,7 @@
|
||||
with_items:
|
||||
- koji-directory-cleanup
|
||||
- koji-gc
|
||||
- koji-prunesigs
|
||||
- koji-prune-signed-copies
|
||||
tags:
|
||||
- files
|
||||
- koji_hub
|
||||
|
||||
Reference in New Issue
Block a user