From 394e856f0e2ce20df56e9a62c686cbc33d9b3d48 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 8 Dec 2023 11:39:52 -0800 Subject: [PATCH] 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 --- roles/openshift-apps/bodhi/templates/deploymentconfig.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml index cda89e169c..745b64b2fe 100644 --- a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml +++ b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml @@ -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