Skip to content

Commit 9df72c3

Browse files
committed
fix: Update configure-bastion.sh to check REGISTRY_URL instead of ACR_LOGIN_SERVER
- Verification now checks for REGISTRY_URL (bastion registry) instead of ACR_LOGIN_SERVER - Adds helpful error message showing expected vs found variables
1 parent 09e54ac commit 9df72c3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rhdp-isolated/configure-bastion.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,14 @@ fi
162162
# 2. Environment variables
163163
if [ -f ~/.envrc ]; then
164164
source ~/.envrc
165-
if [ -n "$ACR_LOGIN_SERVER" ] && [ -n "$GUID" ]; then
165+
if [ -n "$REGISTRY_URL" ] && [ -n "$GUID" ]; then
166166
echo " ✅ Environment variables configured"
167167
echo " GUID: $GUID"
168-
echo " ACR: $ACR_LOGIN_SERVER"
168+
echo " Registry: $REGISTRY_URL"
169169
else
170170
echo " ❌ Environment variables incomplete"
171+
echo " Expected: REGISTRY_URL and GUID"
172+
echo " Found: REGISTRY_URL=${REGISTRY_URL:-unset}, GUID=${GUID:-unset}"
171173
exit 1
172174
fi
173175
else

0 commit comments

Comments
 (0)