What is CI/CD? (original) (raw)

What is CI/CD?

CI/CD stands for Continuous Integration and Continuous Deployment (or Continuous Delivery). It's a set of practices and tools designed to improve the software development process by automating builds, testing, and deployment, enabling you to ship code changes faster and reliably.

CI/CD comprises of continuous integration and continuous delivery or continuous deployment. Put together, they form a “CI/CD pipeline”—a series of automated workflows that help DevOps teams cut down on manual tasks.

Example of a CI/CD pipeline

Flowchart showing the steps in CI/CD, including planning, coding, building, testing, creating artifacts, staging, and production.

Continuous delivery vs. continuous deployment

When someone says CI/CD, the “CD” they’re referring to is usually continuous delivery, not continuous deployment. What’s the difference? In a CI/CD pipeline that uses continuous delivery, automation pauses when developers push to production. A human—your operations, security, or compliance team—still needs to manually sign off before final release, adding more delays. On the other hand, continuous deployment automates the entire release process. Code changes are deployed to customers as soon as they pass all the required tests.

Continuous deployment is the ultimate example of DevOps automation. That doesn’t mean it’s the only way to do CI/CD, or the “right” way. Since continuous deployment relies on rigorous testing tools and a mature testing culture, most software teams start with continuous delivery and integrate more automated testing over time.

Why CI/CD?

The short answer: Speed. The State of DevOps report found organizations that have “mastered” CI/CD deploy 208 times more often and have a lead time that is 106 times faster than the rest. While faster development is the most well-known benefit of CI/CD, a continuous integration and continuous delivery pipeline enables much more.

The mindset we carry is that we always want to automate ourselves into a better job. We want to make sure that the task we’re doing manually today becomes mostly automated.

Andrew Mulholland, Director of Engineering

Learn more about the benefits of CI/CD

Teams make CI/CD part of their development workflow with a combination of automated process, steps, and tools.

Example CI/CD workflow

CI/CD doesn’t have to be complicated, or mean adding a host of tools on top of your current workflow. At mabl, developers deploy to production about 80 times a week using only two CI/CD integrations: The mabl testing suite and GitHub Actions. Here’s how it works. ✨

CI/CD flow chart displaying how mabl deploys to production

  1. Developers open pull requests to trigger initial builds and unit tests
  2. Approved commits are deployed to a preview environment
  3. Custom-built GitHub Actions install the mabl CLI and run headless tests
  4. GitHub Apps provide live check results within pull requests
  5. Approved commits are merged to the main branch for additional tests or deployed to production

What makes CI/CD successful

You’ll find different tools and integrations everywhere you look, but effective CI/CD workflows all share the same markers of success.

See What's Possible with CI/CD: Real Customer Stories

See how DevOps teams put continuous automation into practice.

What can you do with CI/CD?

Whether you’re ready to dive in or still have questions, we’ve got you covered.

Explore best practices: Explore best practices Learn more

Get a GitHub demo: See how world-class CI/CD, automation, and security can support your workflow. Request a demo

Ask the experts: Build a custom strategy for your business goals in a 1:1 session with GitHub product leaders. Schedule a virtual briefing

Compare DevOps solutions: See how GitHub compares to other DevOps tools and platforms. Learn more