| name | cicd-infra-pipeline |
| description | Generate CI/CD pipelines for infrastructure tiers with approval gates |
/cicd-infra-pipeline - Infrastructure CI/CD Pipelines
Generate separate CI/CD pipelines for each infrastructure tier with appropriate approval gates.
Instructions
-
Read configuration from .claude/cicd.yml infrastructure section.
-
Generate pipelines:
PYTHONPATH="$CPP_DIR/lib:$PYTHONPATH" python3 -m lib.cicd infra-pipeline --path "$(pwd)" --write
- Report what was generated and explain the approval model:
- Foundation: requires environment approval in GitHub (or manual in Woodpecker)
- Platform: auto-deploy on merge (configurable)
- App: auto-deploy on merge
Pipeline Model
Each tier gets its own workflow file, triggered only by changes to that tier's directory:
.github/workflows/infra-foundation.yml - Manual approval required
.github/workflows/infra-platform.yml - Auto-deploy (configurable)
.github/workflows/infra-app.yml - Auto-deploy
Approval Gates
Foundation tier uses GitHub Environments with required reviewers. Set up:
- Go to repo Settings > Environments
- Create
infra-foundation environment
- Add required reviewers
Related
/cicd-infra-init - Scaffold IaC directory structure
/cicd-infra-discover - Audit existing cloud resources
/cicd-pipeline - Application-layer pipeline generation