Continuous Integration

Definition

A software development practice where developers frequently merge code changes into a shared repository, with each change automatically built and tested.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between Continuous Integration and Continuous Delivery (CD)?
Continuous Integration (CI) is about automatically building and testing every change as developers merge code into a shared branch. Continuous Delivery (CD) goes further by automatically preparing and promoting those validated changes so they are always in a deployable state (and may deploy automatically depending on your process). In short: CI proves the code works; CD automates getting proven code ready to release.
When should I use Continuous Integration?
Use CI when multiple people contribute to the same codebase, when you want fast feedback on pull requests, or when regressions are costly. CI is especially valuable for microservices, APIs, mobile apps, and infrastructure-as-code because automated checks (tests, linting, security scans) catch issues early and reduce time spent debugging broken builds later.
How much does Continuous Integration cost?
CI cost mainly depends on build minutes, compute size, and how often pipelines run. Common cost drivers include: number of commits/PRs triggering builds, parallel jobs, use of larger CPU/RAM or GPU runners, time spent running tests, and artifact storage (build outputs, logs). Managed CI services typically charge per build minute (or per runner time) plus any underlying storage/network usage; self-hosted runners shift cost to your own compute and operations time.

Category: devops

Difficulty: intermediate

Related Terms

See Also