01Chapter 1: Why teams need CI/CDCI/CD is a set of practices and tooling that builds, tests, and releases software automatically every time the code changes. This chapter explains the problems that motivated it. Later chapters cover how each part works.6 min read
03Chapter 3: Automating the buildThis chapter assumes you can read simple YAML, use Git and the command line, and have built and tested a small application on your own machine. It covers what a build is, what makes an automated build trustworthy, and the errors that most often break one.6 min read
04Chapter 4: Running automated tests on every changeThis chapter covers what a pipeline should test on each change, how to order those tests, and how to deal with the errors that make test results untrustworthy. It assumes you have read the earlier chapters on continuous integration and build automation. You should also be comfortable with Git, the c6 min read
05Chapter 5: Anatomy of a pipeline: stages, jobs, and triggersThis chapter assumes you can read simple YAML, use Git branches and pull requests, and run a small application's tests from the command line. It explains how a CI/CD pipeline is structured, using GitHub Actions syntax for the examples. The same ideas apply in GitLab CI, Jenkins, CircleCI, and other 5 min read
06Chapter 6: Build once, promote the same artifactThis chapter assumes you can read a basic GitHub Actions workflow. You should know what a job and a step are, and that npm ci and npm run build produce a build output. It follows the chapter on pipeline anatomy and leads into continuous delivery.6 min read
07Chapter 7: Defining pipelines as codeThis chapter assumes you know basic Git, can read simple YAML, and have seen a pipeline run (see the earlier chapters on pipeline anatomy and build artifacts). Here you learn what it means to keep the pipeline definition in the repository, why teams do it, and how to avoid the errors that come with 6 min read
08Chapter 8: Environments from development to productionThis chapter assumes you can read a GitHub Actions workflow, know what a build artifact is, and understand the difference between continuous integration and continuous delivery. Earlier chapters covered building once and promoting the same artifact. This chapter covers where that artifact goes: the 6 min read
09Chapter 9: Continuous delivery: always ready to releaseThis chapter explains what continuous delivery adds on top of continuous integration, how it changes the way a team releases, and how to build it with a two-job pipeline. It assumes you know basic Git (commits, branches, pull requests), can build and test a small application, can use the command lin7 min read
10Chapter 10: Continuous deployment: releasing automaticallyContinuous deployment is the practice of releasing every change that passes the pipeline to production, with no human approval step. This chapter assumes you know basic Git, can read simple YAML, and have seen a pipeline that builds and tests code. It also assumes you know what continuous delivery i6 min read
11Chapter 11: Deployment strategies: rolling, blue/green, and canaryThis chapter assumes you know what a pipeline, an artifact, and an environment are. It also assumes you have read the chapters on continuous delivery and continuous deployment. You should be comfortable reading simple YAML and know what a load balancer is: a component that spreads incoming requests 7 min read
12Chapter 12: Rollbacks and feature flagsThis chapter assumes you have read the earlier chapters on pipelines, build artifacts, environments, and deployment strategies. You should be comfortable with a pipeline that builds an artifact once and deploys it to production. You should also be able to read a GitHub Actions workflow in YAML.6 min read
13Chapter 13: Securing pipelines and handling secretsA pipeline holds some of the most powerful access in an organization. It can read source code, build the software that customers run, and write to production. An attacker who controls a pipeline can often ship malicious code without touching the application repository. This chapter covers how to pro7 min read
14Chapter 14: Measuring delivery performanceThis chapter assumes you can read a simple pipeline definition, know the difference between continuous integration, continuous delivery, and continuous deployment, and understand how deployment strategies and rollbacks limit the damage from a bad release. Here you learn how to tell whether your pipe5 min read
15Chapter 15: Common pitfalls and anti-patternsThis chapter assumes you know basic Git usage, can read simple YAML, and have followed the earlier chapters on pipelines, artifacts, environments, continuous delivery, deployment strategies, and delivery metrics. Here you will learn the mistakes that make a CI/CD setup slow, flaky, or dangerous, and7 min read