[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:
parent
ea6bcbb762
commit
3b729d6337
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue