Repository navigation
feat(deployment): Add CloudRun deployment support to ADL CLI - #55
Conversation
- Add CloudRun service template with Knative configuration - Update CLI flag to support both kubernetes and cloudrun options - Extend template registry to generate CloudRun deployment files - Add deploy tasks to Taskfile for both deployment types - Integrate CloudRun deployment into CD workflow - Update documentation with CloudRun deployment instructions - Add required environment variables and setup guide Closes #52 Co-authored-by: Eden Reich <[email protected]>
| desc: Deploy to Google Cloud Run | ||
| cmd: | | ||
| # Build and push Docker image | ||
| gcloud builds submit --tag gcr.io/$PROJECT_ID/{{`{{.APP_NAME}}`}}:{{`{{.VERSION}}`}} |
There was a problem hiding this comment.
What if the user don't want to use cloud build?
|
@claude Please use the traditional deployment to cloud run - don't use knative (it requires the user to opt-in to using kubernetes) - the whole idea of CloudRun is that it's managed and simple to deploy using the gcloud utility, it's a serverless service, if we introduce knative the user need to have a kubernetes cluster - not ideal. Please cleanup. |
|
Claude finished @edenreich's task —— View job ✅ CloudRun deployment refactored to use traditional gcloud approach Todo List
Changes MadeReplaced Knative with Direct gcloud Deployment:
Key Improvements:
Updated Integration Points:
The deployment is now truly serverless as you requested - no Knative, no Kubernetes, just managed Cloud Run! 🚀 |
Co-authored-by: Eden Reich <[email protected]>
…d deployment - Replace Knative service.yaml with gcloud deployment script - Use direct `gcloud run deploy` commands instead of YAML configurations - Support both Docker and Cloud Build for container building - Update CI/CD workflows to use deployment script - Eliminate Kubernetes dependency for CloudRun deployments - Make CloudRun truly serverless and managed Co-authored-by: Eden Reich <[email protected]>
…dRun deployment - Update deploy script to use environment variables instead of placeholders - Add validation for required PROJECT_ID and REGION environment variables - Remove sed string replacement from CD workflow - Pass environment variables cleanly through workflow step Co-authored-by: Eden Reich <[email protected]>
- Enhanced ADL schema with comprehensive CloudRun configuration - Support for multiple container registries (gcr.io, ghcr.io, custom) - Configurable resources, scaling, and service settings - Smart Cloud Build usage based on registry type - Added example ADL files for different deployment scenarios Co-authored-by: Eden Reich <[email protected]>
…line Co-authored-by: Eden Reich <[email protected]>
Co-authored-by: Eden Reich <[email protected]>
…template variables - Replace hardcoded deployment flags with ADL configuration values - Add support for custom service account configuration - Update deployment summary to show actual configured values - All values maintain sensible defaults while respecting ADL spec Co-authored-by: Eden Reich <[email protected]>
|
@claude Please document this feature in the README.md and update CLAUDE.md |
|
Claude finished @edenreich's task —— View job ✅ CloudRun deployment documentation completed Todo List
Changes Made📖 README.md Documentation:
📋 CLAUDE.md Updates:
🔧 Key Features Documented:
The CloudRun deployment feature is now fully documented in both user-facing (README.md) and developer-facing (CLAUDE.md) documentation files! 🚀 |
- Add CloudRun deployment section to README.md with configuration examples - Document container registry options (GCR vs GHCR) - Include CloudRun workflow examples and CI/CD integration - Update CLAUDE.md with CloudRun deployment implementation details - Add CloudRun examples to project structure and examples sections - Document deployment script features and environment variables 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Eden Reich <[email protected]>
|
This feature is not fully tested - but I'm also fine with merging it as is, because I don't actually use it right now, to be iterated and improved. Merging it as-is. |
## [0.18.0](v0.17.0...v0.18.0) (2025-09-05) ### ✨ Features * **deployment:** Add CloudRun deployment support to ADL CLI ([#55](#55)) ([5d3f549](5d3f549)), closes [#52](#52) ### ♻️ Improvements * **templates:** Simplify GitHub issue templates for better flexibility ([#57](#57)) ([025b6bd](025b6bd)), closes [#56](#56) * **templates:** Use GitHub repository name variable in CD workflow ([#54](#54)) ([f493c63](f493c63)), closes [#53](#53)
|
🎉 This PR is included in version 0.18.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Adds support for deploying ADL-generated A2A agents to Google Cloud Run.
Summary
Test plan
Closes #52
Generated with Claude Code