Script to run copr-backend /usr/bin/copr_be.py Uses backend config with default location /etc/copr/copr-be.conf.
To prune result builds use run/copr_prune_results.py. Internally it would invoke sh script run/copr_find_obsolete_builds.sh
Clean ups old builds. Don’t affect projects with disabled auto_createrepo option.
Doesn’t have startup options. Uses backend config with default location /etc/copr/copr-be.conf. Can be changed by setting environment variable BACKEND_CONFIG
Finds folders in CHROOTPATH, with built package which is older than DAYS and there is a higher version in a chroot repository.
copr_find_obsolete_builds.sh CHROOTPATH DAYS
To get current copr-backend view on used VM use: run/copr_get_vm_info.py
To monitor service disruption use run/check_consecutive_builds_fails.py. It checks if copr-backend has too many interrupted builds. This script is aimed to be used by nagios nrpe check.