☁️ DevOps & Cloud · CI/CD
Structure a fast, honest CI pipeline
Stage ordering that fails cheap and fast: lint → unit → build → integration → deploy gates.
intermediate~35 minDevOps EngineersSREsCloud Architects
Steps
- 1Fail cheapest first: format+lint under 2 minutes before anything heavy
- 2Parallelize independent suites; cache dependencies by lockfile hash
- 3Run builds with strict env mirroring production
- 4Gate deploys on required checks only; no manual memory of 'it passed locally'
- 5Upload artifacts (coverage, bundles) visible in PR checks
- 6Keep total pipeline under 10 min p95; split flaky suites out for quarantine
Common Pitfalls
- ▲Everything sequential behind one slow integration suite
- ▲Cache keys ignoring lockfiles causing phantom dependency bugs
Success Signals
- ✓p95 pipeline under 10 minutes
- ✓Flake rate below 1%
Commands
Install with skills CLI
$ npx skills add aniruddhaadak80/skills --skill ci-cd-pipeline-stagesInstall globally
$ npx skills add aniruddhaadak80/skills --skill ci-cd-pipeline-stages -gTags
#ci#github-actions#testing#devops-cloud#ci-cd