Chapter 8: CI/CD Concepts
Chala mitrano, aaj aapan CI/CD chi factory conveyor. Code push zala ki belt chalato: lint → test → build → push → deploy. Artifacts, versioning, dev/staging/prod, fail fast, quality gates, aani prod sathi manual approval. Tools nantar (Actions, Jenkins) — aaj concepts crystal clear. Ghabru naka: badge API sathi ek paper pipeline design karuya.
What you will learn in this chapter
- Pipeline stages from lint to deploy
- Artifacts and versioning
- Dev, staging and production environments
- Fail fast and quality gates
- When to use manual prod approval
Concepts in this chapter
- 8.1Why a pipeline — stop the ship on a failed check
- 8.2Pipeline stages — lint → test → build → push → deploy
- 8.3Artifacts and versioning
- 8.4Environments — dev, staging, production
- 8.5Fail fast and quality gates
- 8.6Manual approval for production — when and why
- 8.7CI vs CD vs deploy vs release (refresh)
- 8.8What a junior watches on a red pipeline
- 8.9Anti-patterns (spot them early)
- 8.10Versioning and release notes (lightweight)
- 8.11Lab — design badge API pipeline on paper
Review and practice
The chapter recap is at the end of the last concept page.