revert: bootstrap.sh tilbake til versjonen fra før 15:00 (kun opprinnelig tekst og hints)

This commit is contained in:
chrischristiansen-glitch 2026-05-25 21:52:49 +02:00
parent a001ed4f8f
commit 010de59a3c

View File

@ -15,7 +15,6 @@ echo ""
echo "╔══════════════════════════════════════════════════╗"
echo "║ OSVauco VM Bootstrap ║"
echo "║ Prosjekt: $PROJECT_ID"
echo "╚══════════════════════════════════════════════════╝"
echo ""
@ -67,14 +66,6 @@ gcloud iam service-accounts add-iam-policy-binding "$AGENT_SA" \
echo ""
echo "[4/4] Tester Cloud Run-agenten..."
echo " Forventet konfig:"
echo " GOOGLE_CLOUD_LOCATION=us-central1"
echo " ORCHESTRATOR_MODEL=gemini-2.5-flash"
echo " SUBAGENT_MODEL=gemini-2.5-flash"
echo " REASONING_MODEL=gemini-3.5-flash"
echo ""
TOKEN=$(gcloud auth print-identity-token 2>/dev/null || echo "")
if [[ -z "$TOKEN" ]]; then
@ -95,7 +86,7 @@ else
cat /tmp/osvauco-test.json
echo ""
echo " Vanlige årsaker:"
echo " - Publisher Model '...gemini-2.0-flash(-001)...' not found: 2.0-modellene er utfaset. Kjør 'gcloud run services update ...' med GOOGLE_CLOUD_LOCATION=us-central1 og ORCHESTRATOR_MODEL=gemini-2.5-flash, SUBAGENT_MODEL=gemini-2.5-flash, REASONING_MODEL=gemini-3.5-flash"
echo " - gemini-2.0-flash: kjør 'gcloud run services update ...' med ORCHESTRATOR_MODEL=gemini-2.0-flash-001"
echo " - 403: ny revisjon ikke deployet ennå — vent 2 min og prøv igjen"
fi
fi
@ -105,6 +96,5 @@ echo "╔═══════════════════════
echo "║ Bootstrap ferdig! ║"
echo "║ Husk: bash infrastructure/03-teardown.sh ║"
echo "║ ...hver kveld for å unngå 24/7-fakturering ║"
echo "╚══════════════════════════════════════════════════╝"
echo ""