Don't retry if the cron failed

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2018-09-19 21:31:53 +02:00
parent f06a45f82f
commit c87ae2b516

View file

@ -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