الانتقال إلى المحتوى
DevOps والـ CloudCI/CD· 6 دقائق للقراءة

CI, Continuous Delivery, Continuous Deployment: Three Practices, Not One Pipeline

Each term answers a different question about how your team works, and a pipeline on its own answers none of them.

ReadIn

مقال كل يوم يفرق معاك

21 نوفمبر 2026
  • كاتب موثّق
محتويات المقال

The team's slide says "we do CI/CD". Every feature branch triggers a pipeline that builds, runs the tests and deploys to a preview environment. Production is one button away. Yet branches live for three weeks, merging one takes two days of conflict fixing, the main build has been red since Tuesday, and releases happen once a month after a "stabilization week". The pipeline is real. The practices it's named after aren't happening.

The common misconception

The belief: CI/CD is a tool setup. If an automated pipeline builds the app, runs the tests and deploys it, you're doing CI/CD, and continuous integration, continuous delivery and continuous deployment are just three names for parts of that pipeline.

It's an understandable belief. The products are literally sold as "CI" or "CI/CD" platforms, and Martin Fowler points at exactly this: "The confusion comes from calling these tools Continuous Integration Services." The abbreviation glues the ideas together too; the DORA research program notes that continuous delivery "is often combined with continuous integration and shortened to CI/CD". And the pipeline is the part you can see, configure and demo.

The half-truth: automation is essential. Fowler's list of CI practices includes "Automate the Build" and "Every Push to Mainline Should Trigger a Build", and deployment pipelines are "a central part of ContinuousDelivery". But DORA is direct about the limit: "using modern tooling without implementing the necessary technical practices and process change described in this document won't produce the expected benefits."

What actually happens

Each term answers a different question about how your team works, and each builds on the one before it.

Continuous integration: how often does everyone's work meet?

Fowler defines as a practice "where each member of a team merges their changes into a codebase together with their colleagues changes at least daily." Each integration "is verified by an automated build (including test) to detect integration errors as quickly as possible." DORA's description matches: developers "merge their work into a shared trunk/mainline at least daily, rather than working on long-lived feature branches," and tests should finish within "an upper limit of about 10 minutes".

The key word is integrate. A build server running on a three-week branch tests that branch alone, not how it fits with everyone else's work. Asked whether you can run a CI service on feature branches, Fowler's answer is "yes - but you're not doing Continuous Integration", adding that "we shouldn't confuse a tool for the practice."

Continuous delivery: could you release right now?

, in Fowler's words, is "a software development discipline where you build software in such a way that the software can be released to production at any time." His test: a business sponsor could ask for the current development version to "be deployed into production at a moment's notice". One of his signs that you're doing it is that your team "prioritizes keeping the software deployable over working on new features".

The tool that supports this is the : the build broken into stages, with a job "to detect any changes that will lead to problems in production." Its later stages may include manual checks. A monthly stabilization week is the opposite signal: it suggests the mainline wasn't releasable the rest of the month.

Continuous deployment: does every passing change ship by itself?

goes one step further: "every change goes through the pipeline and automatically gets put into production". With continuous delivery, you're able to deploy frequently "but may choose not to do it". So delivery comes first: "In order to do Continuous Deployment you must be doing Continuous Delivery." And it doesn't suit everything. DORA notes that continuous deployment "can't be applied to software such as firmware or mobile apps," while continuous delivery applies to all kinds of software, including regulated environments.

PracticeThe question it answersHow you'd know you're doing it
Continuous integrationDoes everyone's work meet often?Everyone merges to the mainline at least daily, and a red build is fixed first
Continuous deliveryCould we release the mainline right now?Any version can go to production on demand, with no stabilization phase
Continuous deploymentDoes every passing change ship by itself?No human decision between a green pipeline and production
"We have a pipeline"Is the build and deploy automated?It answers none of the three questions above

How to apply it in your project

  1. Measure how long branches liveLook at merged pull requests from the last month and note how many days each branch existed. If most lived longer than a day, you're running a CI tool, not practicing continuous integration. Shrink the work, not the pipeline.
  2. Track the health of the mainlineNote how often the main build went red and how long it stayed that way, and how long a build with tests takes. Agree that a red mainline is fixed or reverted before any new work, and aim for feedback in minutes.
  3. Ask the release question every weekCould you deploy the current mainline to production today, without a freeze or a stabilization phase? Every "no" points at the work continuous delivery needs: missing tests, manual steps, unfinished features without a switch.
  4. Choose continuous deployment on purposeOnce releasing on demand is routine, decide whether every green build should go live by itself. DORA says it works well for web services but can't be applied to mobile apps or firmware, where continuous delivery is the goal.

Key takeaways

  • A pipeline is a tool; continuous integration, delivery and deployment are practices with their own tests.
  • Continuous integration means everyone merges to a shared mainline at least daily, with fast automated checks.
  • Continuous delivery means the mainline can be released to production at any time, on demand.
  • Continuous deployment means every change that passes the pipeline goes to production automatically.
  • Each depends on the one before; a red mainline or long-lived branches undermine all three.

📚 المصادر

  1. Continuous Integration — Martin Fowler
  2. ContinuousDelivery — Martin Fowler (bliki)
  3. DeploymentPipeline — Martin Fowler (bliki)
  4. Capabilities: Continuous integration — DORA
  5. Capabilities: Continuous delivery — DORA

التعليقات (0)