fix 1.23.9: versions.host-04 stage-lfp names under host-podman

This commit is contained in:
Hernâni Marques 2026-08-30 17:23:41 +02:00
parent ba899dd8b5
commit a1275e6e45
No known key found for this signature in database
5 changed files with 14 additions and 5 deletions

View file

@ -179,13 +179,18 @@ elif [ "${INSIDE_PROFILE:-}" = "stage-lfp" ] \
|| [ "${EXPECT_CURRENCY:-}" = "TESTPAYSAN" ] \
|| [ -n "${INSIDE_SSH:-}" ]; then
_VERS_SSH_HOST="${INSIDE_SSH:-}"
_VERS_BANK="${INSIDE_BANK_CTR:-stage-lfp-bank}"
_VERS_EX="${INSIDE_EXCHANGE_CTR:-stage-lfp-exchange-ansible}"
_VERS_MER="${INSIDE_MERCHANT_CTR:-stage-lfp-merchant}"
elif [ "${LOCAL_STACK:-0}" = "1" ] && [ "${SKIP_SSH:-0}" != "1" ]; then
# laptop → koopa via SSH (not host-podman)
_VERS_SSH_HOST="${KOOPA_SSH}"
fi
# Stage names independent of access mode. host-podman on stagepaysan used to keep
# GOA names → empty dpkg list → versions.host-04 ERROR (public /monitoring_err).
if [ "${INSIDE_PROFILE:-}" = "stage-lfp" ] \
|| [ "${EXPECT_CURRENCY:-}" = "TESTPAYSAN" ]; then
_VERS_BANK="${INSIDE_BANK_CTR:-stage-lfp-bank}"
_VERS_EX="${INSIDE_EXCHANGE_CTR:-stage-lfp-exchange-ansible}"
_VERS_MER="${INSIDE_MERCHANT_CTR:-stage-lfp-merchant}"
fi
if [ "$_VERS_LOCAL" = "1" ]; then
VERS_ACCESS=host-podman