Pipeline stages
- Build + unit tests.
- Integration tests.
- Evals (subset on PR, full on merge).
- Docker build + push.
- Deploy to staging.
- Smoke tests.
- Manual gate → deploy to prod.
Advertisement
Speed vs thoroughness
PR pipeline: fast. < 10min. Main pipeline: thorough. < 30min. Nightly: exhaustive.
Advertisement
Deploy on merge
Merge to main = deploy to prod (after gates). Removes 'we need to deploy the change from 3 days ago'.