How it works · 26 of 38 Core
What is CI/CD?
From a code change to live, safely
CI/CD: Continuous integration (CI) builds and tests every change automatically as it is merged; continuous delivery (CD) releases what passes automatically; because passing the tests is not proof a release is safe, it goes to a small canary ring first and the rollout stops, or rolls back, before it reaches everyone.
Loading the animation…
Say it like this CI builds and tests every change automatically as it is merged, and CD releases what passes automatically; passing tests is not the same as safe, so release to a small canary ring first, watch it, and stop or roll back before it reaches everyone.
Under the hood — for builders
- Real case: CrowdStrike, 19 July 2024
- A content update went to every Windows sensor at 04:09 UTC and was reverted at 05:27. Microsoft counted 8.5 million devices hit:
- The fix they named
- CrowdStrike's review commits to staggered rollouts of such content, starting with a canary group.
- CI and CD
- CI: merge often, with an automatic build and test each time. CD: release what passes, automatically.
- A typical pipeline
- Each stage gates the next; health checks run between release rings:
- Rollback
- Return to the last good version automatically when error rates rise in a ring.
- Watch out
- Config and content need the same rings as code. A rollback can't help a machine that no longer boots.
- Sources
- CrowdStrike, "Falcon Content Update Preliminary Post Incident Report" (July 2024) · Microsoft, "Helping our customers through the CrowdStrike outage" (20 Jul 2024) (read November 2026).
What happens in the CI/CD animation, step by step?
- Continuous integration (CI): every change is merged into the shared code often, then built and tested automatically, so a mistake is caught minutes after it is written, not weeks later.
- Continuous delivery (CD): once the checks pass, the release rolls out by itself. Teams ship many small releases a week instead of one big, risky release night.
- But a pass is not proof. On 19 July 2024 a CrowdStrike content update passed its checks (a bug in the validator let it through) and went to every machine at once. Microsoft estimates 8.5 million Windows devices crashed.
- Your turn: drag how big the first ring of the rollout is, from everyone at once down to a 1% canary. The same faulty release goes out; a monitor watches the ring and stops the rollout.
- Rolling back stops new crashes, but machines that already crashed need hands-on repair; CrowdStrike reverted in 78 minutes, by which time the damage was done. Its fix: staggered releases "starting with a canary deployment".
- Every gate on this track, and every test copy of the system, runs on rented machines that bill by the hour. Which of them are you overpaying for? Next: cloud cost.
What everyday example explains CI/CD?
A new medicine. Lab tests catch most problems early and cheaply (CI); then the medicine goes to a small trial group before the whole country (the canary ring); and if the trial group falls ill, the rollout stops there. Skipping the trial because the lab tests passed is how a whole country gets sick at once.
Why should a team care about CI/CD?
When you set up a release pipeline, decide what blocks a merge (which tests, which scans), whether releases go out by themselves or wait for a person, and how big the first ring is, what it watches, and who can stop it; config and content changes included.