mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 04:03:52 +08:00
copr: update copr-dit-git.monthly to contain all copr dist-git cron jobs
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
runuser -c 'find /var/lib/copr-dist-git/per-task-logs -name *.log -mtime +30 -delete' - copr-dist-git
|
||||
# WARNING: Destructive option!
|
||||
# When you uncomment this, all the sources from the dist-git lookaside cache
|
||||
# will be periodically unlinked, except for those sources mentioned in the
|
||||
# last commits of the git repo branches.
|
||||
runuser -c 'dist-git-clear-tarballs.py' - copr-dist-git
|
||||
|
||||
# From time to time assure that the CGIT caches are consistent, and that the
|
||||
# ownership of cache files is correct (run this as root).
|
||||
/usr/bin/copr-dist-git-refresh-cgit
|
||||
|
||||
Reference in New Issue
Block a user