Consolidate enterprise extensions: resources, provisioning, teardown, infra, GCP, CI/CD#11
Draft
Consolidate enterprise extensions: resources, provisioning, teardown, infra, GCP, CI/CD#11
Conversation
…nfra, gcp, ci modules and update ship.py Co-authored-by: Karthik777 <7102951+Karthik777@users.noreply.github.com>
…ation Co-authored-by: Karthik777 <7102951+Karthik777@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Consolidate all feature branches into one branch targeting main
Consolidate enterprise extensions: resources, provisioning, teardown, infra, GCP, CI/CD
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consolidates PRs #3-#10 into a unified branch. Adds cloud-agnostic resource provisioning, lifecycle management, multi-cloud orchestration (Azure/AWS/GCP/Hetzner), idempotent server provisioning, and CI/CD pipeline generation.
Core Modules
resources.py- Unified provisioning for databases, cache, queues, storage, LLM endpoints, functions, search across docker/aws/azure/gcpconnect.py- ResourceConfig for config persistence and Pythonic client wrappers with zero-config defaultsteardown.py- Idempotent destroy operations with CLI validationinfra.py- Optional pyinfra integration for idempotent server provisioninggcp.py- Cloud Run orchestration with Cloud SQL and Memorystoreci.py- GitHub Actions and GitLab CI workflow generationShip Orchestrator
Extended with
resourcesparameter for integrated provisioning and Hetzner auto-provisioning viato='hetzner':Resource Provisioning
Stack returns environment variables, compose config, and volumes. Resources parameter switches providers based on deployment target:
Dependencies
Added optional extras to
pyproject.toml:db,storage,llm,cache,queue,search,azure,aws,infra,allUpdated Exports
__init__.pynow exports:database,cache,queue,bucket,llm,function,search,stack,ResourceConfig,destroy,destroy_stack,status,provision,deploy_infra,server_status,gcp_stack,Gcp,gcloud,github_actions,gitlab_ci,deploy_workflow,test_workflowStatistics
Original prompt
This pull request was created from Copilot chat.
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.