[release-monitoring] Revert the command mid hook changes
When testing the container locally I found out that the command should still work, so the issue needs to be somewhere else. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
74988bf1ff
commit
a697655559
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ items:
|
|||
failurePolicy: Abort
|
||||
execNewPod:
|
||||
containerName: release-monitoring-web
|
||||
command: [/bin/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini upgrade head"]
|
||||
command: [/bin/sh, -i, -c, "alembic-3 -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/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini current | grep '(head)'"]
|
||||
command: [/bin/bash, -c, "alembic-3 -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/python3, -m "alembic.config", "-c /etc/anitya/alembic.ini current | grep '(head)'"]
|
||||
command: [/bin/bash, -c, "alembic-3 -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