1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00

init: adding Postgres cert install to entrypoint (PROJQUAY-7694) (#3229)

Adding postgres cert install to quay-entrypoint
This commit is contained in:
Brandon Caton 2024-09-17 09:19:09 -04:00 committed by GitHub
parent 84249a153b
commit b6d51e7a08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,6 +78,7 @@ case "$QUAYENTRY" in
echo ""; echo "Startup timestamp: "; date; echo ""
: "${MIGRATION_VERSION:=$2}"
: "${MIGRATION_VERSION:?Missing version argument}"
"${QUAYPATH}/conf/init/client_certs.sh" || exit
echo "Entering migration mode to version: ${MIGRATION_VERSION}"
PYTHONPATH="${QUAYPATH}" alembic upgrade "${MIGRATION_VERSION}"
;;