Definition
What it is
CI is a discipline, not a tool: merge often, run automated build + tests on every merge, fail loud and fast. The toolchain (GitHub Actions, GitLab CI, Jenkins) automates what the discipline requires.
Why it matters
Long-lived branches accumulate divergent code; CI collapses the integration cost from days to minutes. Every commit is a checkpoint.
CI vs continuous delivery vs continuous deployment
Aspect | CI | CD (delivery) | CD (deployment) |
|---|---|---|---|
Automated build | Yes | Yes | Yes |
Automated tests | Yes | Yes | Yes |
Manual gate to prod | No prod yet | Yes | No |
No | No | Yes |
Origin
The term was popularized by Martin Fowler in 2006 as an XP practice. Grady Booch coined "continuous integration" in 1991 in his method for object-oriented design.
Evidence
FAQ
- CI vs trunk-based development?
TBD is the branching strategy; CI is the practice of testing every merge. They reinforce each other.
- How long should CI take?
Under 10 minutes for the fast suite; longer suites run in parallel.
- What if the build fails?
Nobody merges until it is green; the fix is a top priority for the whole team.
- Is CI only for tests?
No: linting, type checks, security scans, artifact publishing.
Connections
- blue-green-deployment
- dora-metrics
- pipeline
- build
Fowler (2006). Continuous Integration. https://martinfowler.com/articles/continuousIntegration.html
DORA (2023). Accelerate State of DevOps. https://dora.dev/research/
Etymology
Origin: compound
continuous(adjective): from Latin continuus, "uninterrupted"integration(noun): from Latin integrare, "to make whole"
Semantic network
● broader ● narrower ● related
Used in the garden
- Mastering Database Schema Version Control: The DevOps Secret Weapon (7×)
- Architecting API Dominance: Design a REST API That Scales From Day One (1×)
- The Zero-Downtime WordPress Migration Blueprint for High-Stakes Sites (1×)
Sources
Fowler (2006). https://martinfowler.com/articles/continuousIntegration.html
DORA (2023). https://dora.dev/research/