fix(cloudbuild): add --set-secrets so deploy keeps 3 Cloud Run secrets; define _GEMINI_LOCATION=global
- deploy step: add --set-secrets=GOOGLE_CLIENT_ID:1,SESSION_SECRET:1,GOOGLE_CLIENT_SECRET:1 (--set-env-vars alone was wiping them) - substitutions: add _GEMINI_LOCATION: global (was undefined -> empty under ALLOW_LOOSE) - no VERTEX_MODEL added; model stays hardcoded gemini-2.5-pro Powered by Jason, Crafted by Vauco
This commit is contained in:
parent
60f46af69d
commit
709479fc2d
|
|
@ -48,6 +48,7 @@ steps:
|
|||
- '--project=${PROJECT_ID}'
|
||||
- '--service-account=${_AGENT_SA}'
|
||||
- '--set-env-vars=GOOGLE_CLOUD_PROJECT=${PROJECT_ID},GOOGLE_CLOUD_LOCATION=${_GEMINI_LOCATION},GOOGLE_GENAI_USE_VERTEXAI=True,BILLING_TABLE=billing_export.gcp_billing_export_v1_0171F6_057E6B_A260BA,RAG_CORPUS=projects/propane-will-491900-m5/locations/europe-west4/ragCorpora/6917529027641081856,RAG_LOCATION=europe-west4'
|
||||
- '--set-secrets=GOOGLE_CLIENT_ID=GOOGLE_CLIENT_ID:1,SESSION_SECRET=SESSION_SECRET:1,GOOGLE_CLIENT_SECRET=GOOGLE_CLIENT_SECRET:1'
|
||||
- '--no-allow-unauthenticated'
|
||||
- '--port=8080'
|
||||
- '--memory=1Gi'
|
||||
|
|
@ -82,6 +83,7 @@ substitutions:
|
|||
_ARTIFACT_REPO: osvauco-repo
|
||||
_CLOUD_RUN_SERVICE: osvauco-agent
|
||||
_AGENT_SA: osvauco-agent-sa@propane-will-491900-m5.iam.gserviceaccount.com
|
||||
_GEMINI_LOCATION: global
|
||||
|
||||
options:
|
||||
substitutionOption: ALLOW_LOOSE
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user