AI Hints
CI/CD with GitHub Actions · Lesson 3 of 138

Integration, Delivery, Deployment

The three ideas.

⏱ 2 min read▶ Video at 2:18🎓 Free
Watch this lesson in the CI/CD with GitHub Actions courseWatch on YouTube ↗Full CI/CD with GitHub Actions course

CI/CD is really three ideas, each building on the last. Continuous integration, continuous delivery, and continuous deployment. The last two sound almost the same, but there's one important difference.

Integration, Delivery, Deployment
From the video: Integration, Delivery, Deployment
  • Three ideas
  • Each builds on the last
  • Delivery is not deployment

Three levels

Continuous integration means every change is merged often, and automatically built and tested. Continuous delivery adds packaging, so every passing change is ready to release, at the press of a button. Continuous deployment goes one step further. Every passing change goes to users automatically, with no button at all.

PracticeWhat happens automatically
Continuous Integrationbuild and test every change
Continuous Deliveryplus: package, ready to release
Continuous Deploymentplus: release to users

Which one is right?

Most teams start with continuous integration. Then they add delivery, so releasing is easy. Continuous deployment needs excellent tests and monitoring, because nobody checks a change before users see it. All three use the same tool, a pipeline.

keyvalue
Start withCI
Then adddelivery
Deploymentneeds great tests
All usea pipeline

Summary

Integration tests every change, delivery makes it ready to release, and deployment releases it automatically. Next, what a pipeline is.

Key takeaways
  • CI: build + test
  • Delivery: ready to ship
  • Deployment: shipped
Next up: What Is a Pipeline? — stages in order