Practice this topic in a realistic system design interview
Shipping code to production is not one step. The team has to build the code, test it, package it, deploy it, and make sure the running service is still healthy.
When people do this by hand, small mistakes creep in. Someone skips a command, runs a script from the wrong branch, or uses a slightly different local setup than last time.
A CI/CD pipeline automates this work. It takes a code change from commit all the way to production, checking at every step that the change is safe to move forward.
Loading simulation...
This chapter explains what continuous integration and continuous delivery mean, how a pipeline moves a change from commit to production, and what makes a pipeline fast, reliable, and safe.