bodhi: use the right path for the alembic config

Since this mid pod was never working before it was using the old
/srv/bodhi path instead of the current /etc/bodhi one. Switch it over to
use the current path.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-12-08 11:39:52 -08:00
parent d2c2dde6b2
commit 394e856f0e

View file

@ -20,9 +20,9 @@ items:
- /bin/sh
- '-c'
- >-
(/usr/bin/alembic-3 -c /srv/bodhi/alembic.ini current | grep -q
"(head)") || ( cd /srv/bodhi && /usr/bin/alembic-3 -c
/srv/bodhi/alembic.ini upgrade head)
(/usr/bin/alembic-3 -c /etc/bodhi/alembic.ini current | grep -q
"(head)") || ( cd /etc/bodhi && /usr/bin/alembic-3 -c
/etc/bodhi/alembic.ini upgrade head)
containerName: bodhi-web
volumes:
- config-volume