Pipeline Patterns and Antipatterns - Things your Pipeline Should (Not) Do
summary
Concrete rules and measurable fixes: use GitHub Actions YAML conditionals to skip irrelevant steps, split a 25-minute linear pipeline into parallel jobs and artifacts to reach ~12 minutes, and avoid hoarding over 7,000 Docker images by pruning nightly snapshots; replace wrapper actions with direct binary calls (cargo, poetry), use Make or task so local and CI steps match, leverage caching build output and remote build cache (restore 2 GB in ~30s) and beware of publishing tooling images as latest to avoid interference.
AI-written summary · about
chapters (12)
- 0:00Introduction and goals
- 3:03Workflow optimization
- 10:18Managing artifacts
- 12:11Practical ordering
- 14:44Parallelizing pipelines
- 18:49Tooling and wrapper tasks
- 21:18Composable pipelines
- 23:32Scripting and portability
- 26:00Caching strategies
- 35:12Avoiding interference
- 37:00Build agent management
- 41:50Summary and conclusion
