feat(iap): configure IAP for osvauco-agent

This commit is contained in:
Chris Christiansen 2026-05-30 19:43:34 +00:00
parent e6b1575d27
commit a98e3fcdbf
2 changed files with 34 additions and 3 deletions

View File

@ -15,4 +15,4 @@ ENV PORT=8080
EXPOSE 8080 EXPOSE 8080
# app.py exports `app = FastAPI(...)` # app.py exports `app = FastAPI(...)`
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"] CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]

View File

@ -2,6 +2,37 @@
--- ---
## Sesjon 2026-05-30 (kveld)
**Tidspunkt:** ~20:00 CEST
**Status ved sesjonsslutt:** Phase 5 IAP ferdig.
### Utført i dag
- [x] Konfigurert IAP for `osvauco-agent` Cloud Run service.
- [x] Begrenset tilgang til `@vauco.no` domenet.
- [x] Verifisert at IAP fungerer på `https://opax.vauco.no`.
### Neste sesjon
Phase 6 — VS Code ↔ Cloud Shell workflow
---
## Sesjon 2026-05-30
**Tidspunkt:** ~19:30 CEST
**Status ved sesjonsslutt:** Cloud Run agent deployet og verifisert.
### Utført i dag
- [x] Fikset `Dockerfile` i `agents/core-logic` til å peke på `app:app` i stedet for `main:app`.
- [x] Deployet `osvauco-agent` til Cloud Run via `infrastructure/05-cloudrun-deploy.sh`.
- [x] Verifisert at tjenesten er live og svarer med HTTP 200 OK på `/health`.
- [x] Service URL: `https://osvauco-agent-zjbqp3prqq-uc.a.run.app`
### Neste sesjon
Phase 5 — IAP på opax.vauco.no: begrens til @vauco.no Google-kontoer
---
## Sesjon 2026-05-25 (kveld) ## Sesjon 2026-05-25 (kveld)
**Tidspunkt:** ~18:1523:30 CEST **Tidspunkt:** ~18:1523:30 CEST
@ -150,8 +181,8 @@ bash infrastructure/08-memorybank-setup.sh # A5 — sjekk om allerede kjørt
00:02:15 ✘[127] B4 — Webhook URL 00:02:15 ✘[127] B4 — Webhook URL
00:02:18 ✘[127] B5 — Cost guard + GCS ML-telemetri sink 00:02:18 ✘[127] B5 — Cost guard + GCS ML-telemetri sink
00:08:00 ✔ bash infrastructure/02-deploy.sh 00:08:00 ✔ bash infrastructure/02-deploy.sh
00:14:19 ✘[127] gcloud secrets versions access latest --secret="github-pat" \\ 00:14:19 ✘[127] gcloud secrets versions access latest --secret="github-pat"
00:14:41 ✘[127] gcloud secrets versions access latest --secret="github-pat" \\ 00:14:41 ✘[127] gcloud secrets versions access latest --secret="github-pat"
00:15:47 ✔ printf '%s' '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' | gcloud secrets create github-pat --data-file=- --project=propane-will-491900-m5 00:15:47 ✔ printf '%s' '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' | gcloud secrets create github-pat --data-file=- --project=propane-will-491900-m5
00:16:17 ✘[1] bash infrastructure/06-cicd-setup.sh 00:16:17 ✘[1] bash infrastructure/06-cicd-setup.sh
00:16:53 ✔ bash infrastructure/06-cicd-setup.sh 00:16:53 ✔ bash infrastructure/06-cicd-setup.sh