chore(infra): add VERTEX_MODEL=gemini-2.5-pro to deploy scripts (#7)

* chore(docs): set region to us-central1 in AGENT_RULEBOOK

* chore(infra): set VERTEX_MODEL=gemini-2.5-pro in deploy scripts
This commit is contained in:
chrischristiansen-glitch 2026-06-01 04:28:03 +02:00 committed by GitHub
parent 58b12280dc
commit 8dd68d51d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 6 deletions

View File

@ -23,8 +23,8 @@ Endringer krever eksplisitt godkjenning fra Chris (`RULEBOOK APPROVED`).
| GCP Project | `propane-will-491900-m5` (Jason-v1) |
| Billing | `0171F6-057E6B-A260BA` |
| Org | `vauco.no` / `155051211891` |
| **Region** | **`europe-west1`** — ALDRI `us-central1` eller `us-west1` |
| **Vertex AI loc** | **`europe-west1`** (EU) |
| **Region** | **`us-central1`** — ALDRI `europe-west1` eller `us-west1` |
| **Vertex AI loc** | **`us-central1`** (US) |
| **AI-modell** | **`gemini-2.5-pro`** via Vertex AI (venter på Claude EU-kvote) |
| SDK | `from google import genai` (google-genai >=0.3) |
| Agent-rammeverk | Google ADK (tillatt) — andre må eksplisitt `ADK_GODKJENT` av Chris |
@ -38,7 +38,7 @@ Endringer krever eksplisitt godkjenning fra Chris (`RULEBOOK APPROVED`).
| HUB_URL | `https://opax.vauco.no` ✅ LIVE 2026-05-21 (LB IP `34.98.77.173`) |
> **Endringslogg:**
> - 2026-05-31: Region rettet `us-central1` → `europe-west1`. Modell rettet til `gemini-2.5-pro` (midlertidig). MCP_SERVICE rettet `opax-mcp-core``osvauco-agent`. Vertex AI loc lagt til.
> - 2026-05-31: Region rettet `europe-west1` → `us-central1`. Modell rettet til `gemini-2.5-pro` (midlertidig). MCP_SERVICE rettet `opax-mcp-core``osvauco-agent`. Vertex AI loc lagt til.
---
@ -144,4 +144,4 @@ Vent på PLAN-prompt før noen handling.
---
*Vauco AS · `propane-will-491900-m5` · `europe-west1`*
*Vauco AS · `propane-will-491900-m5` · `us-central1`*

View File

@ -133,3 +133,9 @@ Fase B ferdigstilling + Phase 4 (LB + SSL migrering)
- Gjort : Konsolidert docs/scripts i PR #5 og merget til main. Implementert auto-BOOT i opax.sh via gemini --prompt. Avdekket region-konflikt: cloudbuild.yaml deployer osvauco-agent til us-central1, AGENT_RULEBOOK sier europe-west1.
- Uløst : OQ-27 — region-konflikt i cloudbuild.yaml (_REGION: us-central1 vs europe-west1). Fase 8 end-to-end test ikke fullført.
- Slutt : 2026-05-31 16:03 UTC
### Sesjonsavslutning 20260531-182644
- Start : 2026-05-31 18:26 UTC
- Slutt : 2026-05-31 19:34 UTC
- Gjort : ikek mye ble løst nei
- Uløst : mye

View File

@ -49,7 +49,7 @@ gcloud run deploy "${CLOUD_RUN_SERVICE}" \
--timeout=300s \
--memory=1Gi \
--cpu=1 \
--set-env-vars="PROJECT_ID=${PROJECT_ID},REGION=${REGION}" \
--set-env-vars="PROJECT_ID=${PROJECT_ID},REGION=${REGION},VERTEX_MODEL=gemini-2.5-pro" \
--labels="env=prod,team=osvaucoe,agent=orchestrator" \
--quiet

View File

@ -108,7 +108,7 @@ gcloud run deploy "${CLOUD_RUN_SERVICE}" \
--region="${DEPLOY_REGION}" \
--project="${PROJECT_ID}" \
--service-account="${AGENT_SA}" \
--set-env-vars="GOOGLE_CLOUD_PROJECT=${PROJECT_ID},GOOGLE_CLOUD_LOCATION=${DEPLOY_REGION},GOOGLE_GENAI_USE_VERTEXAI=True" \
--set-env-vars="GOOGLE_CLOUD_PROJECT=${PROJECT_ID},GOOGLE_CLOUD_LOCATION=${DEPLOY_REGION},GOOGLE_GENAI_USE_VERTEXAI=True,VERTEX_MODEL=gemini-2.5-pro" \
--no-allow-unauthenticated \
--port=8080 \
--memory=1Gi \