Skip to content

Continuous Integration and Delivery ​

The pipeline is where a team's real engineering standards live. Whatever the wiki says about testing and review, the pipeline is what is actually enforced. Senior candidates get asked about it because owning a pipeline means owning the trade-off between shipping fast and shipping safely.

Three chapters, in the order the work happens. First, the principles that survive any tool. Then the image the pipeline builds. Last, the one tool most teams use, and how credentials reach it without being stored in it. What happens to the artefact afterwards is the Deployment/ section.

Chapters ​

#ChapterWhat it answers
01CI/CD FundamentalsWhat is the pipeline for, and how do you keep it under ten minutes?
02Container Images: Building and HardeningHow do you get a small image that rebuilds fast and does not run as root?
03GitHub Actions and Pipeline SecurityHow do you write a workflow that holds no long-lived credentials?

What Interviewers Probe For ​

Three pipeline questions, on top of the part-level signals in the Part VIII opener:

  • Can you make a slow pipeline fast without deleting the tests? Caching, parallel jobs, and running the expensive checks only where they change a decision. "Skip the flaky ones" is the wrong answer.
  • Do you understand layer caching? "The image takes nine minutes to build and the only change was one line of code." The answer is about COPY order.
  • How does a secret leak out of a build? Through a fork's pull request, a mutable action tag or a long-lived key. Each one has a specific fix.

Reading Order ​

01 first, because the other two use its words. Then 02 and 03 in either order. Chapter 03 is the one most likely to come up in an interview.

The whole book, free to read. Generated from the manuscript on every change.

Your progress

Tick each chapter in the sidebar once you have read and understood it. Your name and email keep the ticks on any device.

Your name and email are stored to save your progress. Nothing else is done with them.