This commit is contained in:
parent
ed5a9e71d6
commit
5b47dfb24f
@ -129,7 +129,8 @@ steps:
|
|||||||
echo "🔑 SSH prerequisites installed"
|
echo "🔑 SSH prerequisites installed"
|
||||||
|
|
||||||
# ── SSH into PROD and deploy (NO DEK SYNC) ────────────────────────
|
# ── SSH into PROD and deploy (NO DEK SYNC) ────────────────────────
|
||||||
IMG_TAG="$(gcloud secrets versions access latest --secret=IMG_TAG --project=aptivaai-dev)"; export IMG_TAG; \
|
IMG_TAG_DEV="$(gcloud secrets versions access latest --secret=IMG_TAG --project=aptivaai-dev)"
|
||||||
|
[ -n "$IMG_TAG_DEV" ] || { echo "❌ dev IMG_TAG empty"; exit 2; }
|
||||||
ssh -o ProxyCommand="gcloud compute start-iap-tunnel aptiva-prod-vm 22 \
|
ssh -o ProxyCommand="gcloud compute start-iap-tunnel aptiva-prod-vm 22 \
|
||||||
--project=aptivaai-prod --zone=us-central1-a \
|
--project=aptivaai-prod --zone=us-central1-a \
|
||||||
--listen-on-stdin --verbosity=error" \
|
--listen-on-stdin --verbosity=error" \
|
||||||
|
Loading…
Reference in New Issue
Block a user