Skip to content

Commit 176fe2b

Browse files
luis5tbclaude
andcommitted
feat: rewrite cloudbuild.yaml as full CI/CD pipeline matching deploy.sh
The old cloudbuild.yaml was outdated and unused — it only handled the agent image with inline CLI flags. This rewrite creates a complete 10-step pipeline that mirrors deploy.sh: builds both service images, copies the MCP image from Quay.io to GCR, deploys both services using the YAML configs with sed substitution, configures Pub/Sub, and sets service URLs. Also documents the Cloud Build workflow in the Cloud Run and main READMEs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f42b1a7 commit 176fe2b

3 files changed

Lines changed: 409 additions & 66 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -876,12 +876,14 @@ export GOOGLE_CLOUD_LOCATION="us-central1"
876876
# Run setup script
877877
./deploy/cloudrun/setup.sh
878878
879-
# Deploy both services
879+
# Option A: Manual deployment with deploy.sh
880880
./deploy/cloudrun/deploy.sh --service all --build --allow-unauthenticated
881881
882-
# Or deploy individually:
883-
./deploy/cloudrun/deploy.sh --service handler --allow-unauthenticated
884-
./deploy/cloudrun/deploy.sh --service agent --allow-unauthenticated
882+
# Option B: CI/CD pipeline with Cloud Build (builds, pushes, and deploys everything)
883+
gcloud builds submit --config=cloudbuild.yaml --substitutions=_ALLOW_UNAUTHENTICATED=true
884+
885+
# Option C: Deploy pre-built images from Quay.io (no local build)
886+
gcloud builds submit --config=cloudbuild.yaml --substitutions=_BUILD_FROM_SOURCE=false,_ALLOW_UNAUTHENTICATED=true
885887
```
886888

887889
## License

0 commit comments

Comments
 (0)