#886 copr-distgit: adding cron job for removing old tarballs
Merged 2 years ago by schlupov. Opened 2 years ago by schlupov.
fedora-infra/ schlupov/ansible dist_git_new_cron  into  main

@@ -0,0 +1,3 @@ 

+ #!/usr/bin/bash

+ 

+ runuser -c 'dist-git-clear-tarballs.py' - copr-dist-git

@@ -137,3 +137,8 @@ 

    copy: src="copr-dist-git.daily" dest="/etc/cron.daily/copr-dist-git" mode=755

    tags:

    - config

+ 

+ - name: install copr-dist-git.monthly cron file

+   copy: src="copr-dist-git.monthly" dest="/etc/cron.monthly/copr-dist-git" mode=755

+   tags:

+   - config

no initial comment

rebased onto a581fbd0b52b31e098eb631143144cbae34df308

2 years ago

rebased onto a581fbd0b52b31e098eb631143144cbae34df308

2 years ago

use:

remove_unused_sources \
  "/var/lib/dist-git/git/$owner/$project/$package.git/" \
  "/var/lib/dist-git/cache/lookaside/pkgs/$owner/$project/$package/" \
  &> /var/log/copr-dist-git/remove_unused_sources.log

Please don't run this under root...

rebased onto 2dae66c9f244d3ed0dc3bc833cab99791c6b0aa5

2 years ago

rebased onto ac58f20cc0f0e076843aea4673bfb33971386b66

2 years ago

rebased onto f4dfcfae9550c5b7c8c709dc7eba855626e0745f

2 years ago

rebased onto f807585a8b7b70d1a3e56b4d9344ceb6b06a852b

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto b72e67925be43e477efbc0dc12118db904944725

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto 4dfa838f48d1141a7f2a3c9f0dc0d235aaa587d7

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

I don't know enough about copr deployment on this one. :)

@praiskup can you re-review or ?

Sorry, we intentionally wait on this one -- this requires a new Copr release first (this week).

rebased onto 05c986b

2 years ago

Pull-Request has been merged by schlupov

2 years ago