chore: add production templates (CI/CD, Docker, K8s, n8n, LangGraph)#38
Draft
chore: add production templates (CI/CD, Docker, K8s, n8n, LangGraph)#38
Conversation
…ation API) Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
…erability Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add production-ready templates and CI/CD workflows
chore: add production templates (CI/CD, Docker, K8s, n8n, LangGraph)
Dec 9, 2025
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.
Adds production-ready deployment templates, integration API skeleton with provider adapters, n8n workflows, and infrastructure manifests to enable deployment and automation orchestration.
Changes
CI/CD & Infrastructure
.github/workflows/ci.yml- Lint, test, build pipeline.github/workflows/cd-staging.yml- Automated staging deploymentdocker-compose.prod.yml- Multi-container production stack.env.prod.example- Production environment templatek8s/langgraph-deployment.yaml- Kubernetes deployment with health checksk8s/hpa.yaml- Horizontal pod autoscaling (2-10 replicas, 70% CPU target)Integration API (FastAPI)
integration/api/server.py- Core API with/health,/ready,/v1/graph/runendpointsintegration/api/providers/kiro_provider.py- kiro.ai webhook adapterintegration/api/providers/lindy_provider.py- lindy.ai webhook adapterintegration/api/routes/integrations.py- Provider routing and health checksintegration/api/Dockerfile- Multi-stage Python 3.11 imagen8n Workflows
n8n/workflows/main_orchestrator.json- Entry webhook → LangGraph triggern8n/workflows/langgraph_trigger.json- HTTP request to integration APIn8n/credentials/credentials_template.json- API key placeholdersn8n/README.md- Import and configuration instructionsDocumentation
docs/deployment.md- Docker Compose, Kubernetes deployment steps with example commandsdocs/observability.md- Prometheus metrics, health check endpointsdocs/runbook.md- Troubleshooting common deployment issuesdocs/integrations.md- Provider setup (kiro.ai, lindy.ai) with curl examplesProject Configuration
requirements.txt- FastAPI 0.109.1, uvicorn, testing dependenciespyproject.toml- PEP 621 metadata, Black/mypy/pytest config.gitignore- Excludes__pycache__,.env, build artifactsREADME.md- Added deployment templates noticeNext Steps
.env.prodwith actual credentialsGHCR_TOKEN,KUBECONFIGn8n/workflows/docker-compose -f docker-compose.prod.yml uporkubectl apply -f k8s/Security
Fixed FastAPI ReDoS vulnerability (CVE): Updated from 0.109.0 to 0.109.1 across all dependency files.
Note: Contains placeholder values (TODO markers) for secrets and organization-specific configuration. PR left as draft pending credential setup.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.