copr: we don't need this cron job, we use more sophisticated script

We used to use prune-dist-git.py script which deleted data from distgit
repositories and lookaside cache. Now we use dist-git-clear-tarballs.py script
which can delete only sources not mentioned in the last commits
of the git repo branches.
Relates: https://pagure.io/copr/copr/issue/2078
This commit is contained in:
Silvie Chlupova 2022-02-15 14:58:27 +01:00
parent dd811b24f4
commit f937e22a92

View file

@ -4,7 +4,4 @@
flock -n 9 || exit 1
# ... commands executed under lock ...
runuser -c 'find /var/lib/copr-dist-git/per-task-logs -name *.log -mtime +30 -delete' - copr-dist-git
runuser -c 'prune-dist-git.py --repos /var/lib/dist-git/git/ --lookasidepkgs /var/lib/dist-git/cache/lookaside/pkgs/ --copr-config ~/.config/copr --always-yes' - copr-dist-git
) 9>/var/lock/copr-dist-git-cron-daily