[release-monitoring] Use correct python command

Fedora 38 doesn't have /bin/python command instead it has /bin/python2 and
/bin/python3. Let's use /bin/python3

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-04-25 16:22:24 +02:00
parent ea6bcbb762
commit 3b729d6337

View file

@ -19,7 +19,7 @@ items:
failurePolicy: Abort
execNewPod:
containerName: release-monitoring-web
command: [/bin/python, -m, "alembic.config -c /etc/anitya/alembic.ini upgrade head"]
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini upgrade head"]
volumes:
- config-volume
resources: {}
@ -118,7 +118,7 @@ items:
failurePolicy: Retry
execNewPod:
containerName: release-monitoring-web
command: [/bin/python, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
env:
- name: ANITYA_WEB_CONFIG
value: /etc/anitya/anitya.toml
@ -206,7 +206,7 @@ items:
failurePolicy: Retry
execNewPod:
containerName: release-monitoring-web
command: [/bin/python, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
command: [/bin/python3, -m, "alembic.config -c /etc/anitya/alembic.ini current | grep '(head)'"]
env:
- name: ANITYA_WEB_CONFIG
value: /etc/anitya/anitya.toml