Review SAO & Define CICD Requirements
DCD-1 Order: #1 Elaboration
Updated 3 months, 3 weeks ago
Guidance
Review SAO & Define CICD Requirements
Objective
Read docs/architecture/SAO.md and DCI output. Define pipeline stages, map to make targets, produce CICD_REQUIREMENTS.md. Pipeline shape depends on deployment style.
Process
1. Read SAO.md
Extract § Deployment Strategy, § Test Strategy, § CI/CD Pipeline.
2. Review DCI Output
| Style | Confirm available |
|---|---|
| EKS | Cluster name, ECR URI, Route53 domain, make traffic-switch |
| Elastic Beanstalk | EB app/env names, ECR URI, deploy-idle.sh, make swap, S3 backup bucket |
3. Choose Trigger Model
| Model | When | Trigger |
|---|---|---|
| Continuous | Fast iteration, trunk-based | Push to main → test + build |
| Release-gated (Huginn) | Production control, semver releases | gh release create vX.Y.Z → test + build + deploy-idle |
Document choice in CICD_REQUIREMENTS.md.
4. Map Pipeline Stages → Make Targets
EKS Path
| Stage | Target | Gate |
|---|---|---|
| Test | make test |
All pass |
| Build | make containers |
ECR push |
| Deploy idle | make deploy ENV=idle |
Pods healthy |
| Smoke | make smoke-test ENV=idle |
Pass |
| Switch | make switch → infra traffic-switch |
Manual approval |
| Verify prod | make smoke-test ENV=prod |
Pass |
Elastic Beanstalk Path
| Stage | Target | Gate |
|---|---|---|
| Test | make test |
All pass |
| Build | CI: ECR push (+ optional Docker Hub for client tools) | Images pushed |
| Backup | deploy-idle.sh step 2 (SSM) |
S3 keys exist |
| Deploy idle | deploy-idle.sh |
EB Ready, Health ≠ Red |
| Smoke | /health/ revision on idle CNAME |
Match GIT_REVISION |
| Promote | make swap or promote.yml |
Manual approval |
| Verify prod | /health/ on HTTPS custom domain |
Revision match |
5. Document CICD Requirements
Create docs/architecture/CICD_REQUIREMENTS.md — see artifact template CICD Requirements (EB Reference).
Deliverables
- ✅ SAO.md reviewed
- ✅ DCI output confirmed for chosen style
- ✅ Trigger model documented (continuous vs release-gated)
- ✅ Pipeline stages mapped to make targets
- ✅
CICD_REQUIREMENTS.mdcreated
Details
- Order:
- #1
- Phase:
- Created:
- Apr 12, 2026
- Last Updated:
- May 29, 2026
Workflow
Design & Deploy CICD
Design and deploy CI/CD pipeline using GitHub Actions in the application monorepo. Create Helm chart with per-environment values, add container …
View WorkflowAssigned Agent
No agent assigned
Required Skills
- GitHub Actions Patterns CI_CD GitHub Actions
Rules
No rules linked.
Input Artifacts 1
-
System Architecture Overview Template
Document
Required
Produced by: Write SAO.md
Output Artifacts 1
- CICD Requirements (Release-Gated EB Reference) Document Required