DEV Community

Discussion on: Explain CI/CD like I'm five.

Collapse
 
ayushsharma profile image
Ayush Sharma

Imagine you're delivering a pizza.

This requires two things. First, you and your 3 chefs need to make the pizza. Second, the delivery guy needs to deliver it to the customer.

The first part is Continuous Integration. You and your chefs (your team) decide what kind of pizza it is based on customer requirements. You then figure out which order everything happens in. So if someone starts deciding on the toppings before you decide which base and sauce to use, you need to stop and go back. CI involves integration checks to make sure everything happens in the correct order (is the code formatted correctly? unit tests?). Then you start placing the toppings and ensure you're following the requirements (pull-request review). If the toppings aren't good quality, you replace them (code quality scanning).

Then the delivery happens. You need to decide which delivery guy will take which route to deliver the pizza (your software product) on time. Figuring out this logsitcs and supply chain process is the Delivery part of Continuous Delivery.

When you can do both in one big smooth operation: get customer order -> assemble pizza + quality checks -> delivery pizza, you have Continuous Integration + Continuous Delivery.

Hope this helps :)