From c87ae2b5165dd1f73c2fc2e495b48b47482a9d79 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 19 Sep 2018 21:31:53 +0200 Subject: [PATCH] Don't retry if the cron failed Signed-off-by: Patrick Uiterwijk --- roles/openshift-apps/release-monitoring/files/cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/release-monitoring/files/cron.yml b/roles/openshift-apps/release-monitoring/files/cron.yml index 3b2ac29780..c2f3155d3e 100644 --- a/roles/openshift-apps/release-monitoring/files/cron.yml +++ b/roles/openshift-apps/release-monitoring/files/cron.yml @@ -15,7 +15,7 @@ spec: containers: - name: release-monitoring-web image: docker-registry.default.svc:5000/release-monitoring/release-monitoring-web:latest - command: ["/usr/local/bin/anitya_cron.py"] + command: ["bash", "-c", "/usr/local/bin/anitya_cron.py; echo failed"] env: - name: ANITYA_WEB_CONFIG value: /etc/anitya/anitya.toml