ci-cd
Installation
SKILL.md
Pipeline Stages
Every pipeline follows the same stage progression. No stage can be skipped.
Code Push → Build → Test → Publish → Deploy
| Stage | Purpose | Fails fast on |
|---|---|---|
| Build | Compile, restore dependencies, lint | Syntax errors, missing dependencies |
| Test | Run unit + integration tests | Logic errors, regressions |
| Publish | Build Docker images, push to registry | Image build failures |
| Deploy | Apply migrations, deploy containers | Infrastructure errors |
Rules:
- Every push to
maintriggers the full pipeline. Feature branches trigger Build + Test only. - Each stage gates the next. A test failure blocks publishing. A publish failure blocks deployment.
- Keep the pipeline under 10 minutes for the Build + Test stages. Developers should get feedback before context-switching.