DEV Community

Discussion on: Explain continuous integration like I'm five

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

Imagine you are drawing (programming an app). Every so often you with your father (CI tools) to check if your drawing is ok (passed the test) or not (some test failed). If your drawing is cool and your father approve it then he put it in the fridge (deploy to production) so your mother (users) can see it (use your app).

If your father don't approve your drawing then you need to go back and draw it again (fix bugs).

Now imagine you can do this all the time without stopping, what your father put in the fridge is a copy of your real drawing (a clone of your repository) and you can then continue drawing (sending pull requests) and sending more copies to the fridge, that way your mother will always see the last better version (release) of your drawing.