From da283ab81c0c4b3489f0a7d141a7812e8961822f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Mon, 7 Jan 2019 11:53:28 +0100 Subject: [PATCH] release-monitoring: Fix failing cronjob MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script created by python easy_install is pointing to non-existent file. Fix this by removing the script created by easy_install and replace it by actual cron script. Signed-off-by: Michal Konečný --- roles/openshift-apps/release-monitoring/files/buildconfig.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/openshift-apps/release-monitoring/files/buildconfig.yml b/roles/openshift-apps/release-monitoring/files/buildconfig.yml index 6b0264995e..bbd7201a98 100644 --- a/roles/openshift-apps/release-monitoring/files/buildconfig.yml +++ b/roles/openshift-apps/release-monitoring/files/buildconfig.yml @@ -54,6 +54,8 @@ items: cp -r _build/html/* ../anitya/static/docs/ && \ popd && \ python3 setup.py install && \ + rm -f /usr/local/bin/anitya_cron.py && \ + cp files/anitya_cron.py /usr/local/bin/ && \ pip-3 install . && \ popd && \ rm -rf anitya