From e45cc6e31b53f6fddd3d5596495f3d211535a179 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 20 Feb 2020 21:58:09 +0100 Subject: [PATCH] copr-be: drop prune weekly job We run it on a daily basis, from cron job provided by copr-backend.rpm. --- roles/copr/backend/files/cron.weekly/copr-backend | 3 --- roles/copr/backend/tasks/main.yml | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 roles/copr/backend/files/cron.weekly/copr-backend diff --git a/roles/copr/backend/files/cron.weekly/copr-backend b/roles/copr/backend/files/cron.weekly/copr-backend deleted file mode 100644 index 9f89f420c6..0000000000 --- a/roles/copr/backend/files/cron.weekly/copr-backend +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/sh - -runuser -c "PYTHONUNBUFFERED=1 python /usr/bin/copr_prune_results.py &> /dev/null" - copr diff --git a/roles/copr/backend/tasks/main.yml b/roles/copr/backend/tasks/main.yml index 83a08e4c28..78c6bcfd6e 100644 --- a/roles/copr/backend/tasks/main.yml +++ b/roles/copr/backend/tasks/main.yml @@ -140,9 +140,6 @@ tags: - config -- name: provisional copr-backend cron.weekly job - copy: src="cron.weekly/copr-backend" dest="/etc/cron.weekly/copr-backend" owner=root group=root mode=0644 - - name: install custom lighttpd template for directory listings template: src="lighttpd/dir-generator.php.j2" dest="/var/lib/copr/public_html/dir-generator.php" owner=copr group=copr mode=0755