continuous integration
Automatically building and testing every change as soon as it is pushed, so problems are caught early.
In more detail
Each change is merged often and checked by an automated pipeline, which runs the build, the linters and the tests. A failing check blocks the change before it reaches everyone else.
Examples
An Ansible pipeline typically runs ansible-playbook --syntax-check, ansible-lint and Molecule on every change.For a design system the checks include compiling tokens, unit and accessibility tests with axe-core, and visual regression screenshots.Commit-message rules enforced locally by a Git hook are enforced for real in CI.gofmt -l . && go vet ./... && go test ./...Run the Testcontainers integration suite deliberately in CI.A CI service account reading Kubernetes secrets with curl from an outside address is worth an alert.In Terraform: For Terraform, continuous integration runs terraform fmt -check, terraform init -backend=false, terraform validate, tests and a plan on every pull request. The plan is published for review, and apply runs only after approval from a protected branch.In this course: CI logs should carry verbose test output so failures can be read weeks later. Tests that write into the repository or depend on a developer's machine are the ones that break there.Related terms
- pipeline — An automated sequence of steps, such as build, test, scan and publish, that runs on every change.
- ansible-lint — The community linter for Ansible playbooks, roles and collections, which checks them against rules of good practice.
- Molecule — A testing framework for Ansible roles that creates a disposable test machine, applies the role, checks the result and destroys the machine.
- pinning — Fixing an exact version or digest of something you depend on so it cannot change without you noticing.
- trunk-based development — A branching practice where developers merge small changes into one main branch, the trunk, at least once a day, keeping any other branches short-lived.
- build — The automated step that turns source code into something runnable, and the result of that step.
- test suite — A collection of tests run together to check a piece of software.
- linter — A tool that reads code or configuration without running it and flags likely mistakes and style problems.
- ShellCheck — A linter for shell scripts that reports quoting mistakes, portability problems and common bugs, each with a numbered code.
- continuous delivery — Keeping every change that passes the pipeline in a state where it could be released to production at any moment.
- continuous deployment — Automatically releasing every change that passes the pipeline to production, with no human approval step.
- CI/CD — Short for continuous integration plus continuous delivery or deployment: the automated path from a commit to a running release.
- quality gate — A check, or set of checks, that a change must pass before it can move on, such as being merged or promoted to the next pipeline stage.
- pull request — A request on a hosting service such as GitHub to merge one branch into another, with a page for review, discussion and automated checks.
- image promotion — Moving the exact same, already-tested image through environments, such as staging to production, without rebuilding it.
- image scanning — Checking the packages inside an image against lists of known vulnerabilities.
- integration test — A test that checks several real parts working together, such as the service talking to a real database.
- remote caching — Storing build outputs on a shared server so that any developer or CI machine with the same inputs can download the result instead of rebuilding.
- Git hook — A script Git runs automatically at a point in its workflow, such as pre-commit, which can stop the commit by exiting non-zero.
- build wrapper — A small script committed to a project that downloads and runs the exact build tool version the project expects.
- builder identity — The recorded identity of the system that built an artefact, such as a named continuous integration pool.
- GitHub Actions — GitHub's built-in automation service that runs workflows, written as YAML files in a repository, on runners when events happen.
- release gate — An automatic check that must pass before a change may be deployed.
- noEmit — The compiler option that makes tsc check types without writing any output files.
- noEmitOnError — The compiler option that stops tsc from writing any JavaScript if the project has type errors.
Taught in
- Measuring Retrieval — AI Engineering: LLM Apps, RAG & Agents
- The Agent Loop — AI Engineering: LLM Apps, RAG & Agents
- Eval-Driven Development — AI Engineering: LLM Apps, RAG & Agents
- Regression Tests In CI — AI Engineering: LLM Apps, RAG & Agents
- Working With AI Coding Assistants — AI Engineering: LLM Apps, RAG & Agents
- Testing With Molecule — Ansible Configuration Management at Scale
- CodeBuild: The Build That Passed With Failing Tests — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- StackSets: Eighty Failures Before Lunch — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Pipeline Security: The Build Role That Could Do Anything — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Azure Pipelines YAML: Stages, Triggers And Conditions — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- ShellCheck — Bash Scripting & Command Line Automation
- Argo CD: Components, Applications And Projects — Certified Argo Project Associate (CAPA) Exam Prep
- Half The Marks Are Definitions: How The Exam Works — Certified GitOps Associate (CGOA) Exam Prep
- Staging Is Gone: Desired State, Declarations And The State Store — Certified GitOps Associate (CGOA) Exam Prep
- Three Edits At 2 A.M.: Drift And Reconciliation — Certified GitOps Associate (CGOA) Exam Prep
- Sixteen Pods, Room For Twelve: The System, Feedback And Continuous — Certified GitOps Associate (CGOA) Exam Prep
- Terminology Sprint: One Incident, Nine Terms — Certified GitOps Associate (CGOA) Exam Prep
- Seven Steps Called GitOps: The Declarative Principle — Certified GitOps Associate (CGOA) Exam Prep
- Someone Cleaned Up The History: Versioned And Immutable — Certified GitOps Associate (CGOA) Exam Prep
- Twelve Keys To Production: Pulled Automatically — Certified GitOps Associate (CGOA) Exam Prep
- Principles Sprint: Six Setups, One Question — Certified GitOps Associate (CGOA) Exam Prep
- Two Clicks Nobody Wrote Down: Configuration And Infrastructure As Code — Certified GitOps Associate (CGOA) Exam Prep
- Friday At Five To Five: DevOps And DevSecOps — Certified GitOps Associate (CGOA) Exam Prep
- What Does CI Still Do? CI, CD And Where GitOps Starts — Certified GitOps Associate (CGOA) Exam Prep
- Related Practices Sprint: One Change, Five Practices — Certified GitOps Associate (CGOA) Exam Prep
- Three Minutes Of Waiting: Pull Versus Event-Driven — Certified GitOps Associate (CGOA) Exam Prep
- Three Regions By Spring: GitOps Architecture — Certified GitOps Associate (CGOA) Exam Prep
- Patterns Sprint: Eight Needs, One Pattern Each — Certified GitOps Associate (CGOA) Exam Prep
- A Bucket Nobody Wrote Down: State Stores Beyond Git — Certified GitOps Associate (CGOA) Exam Prep
- A Bake-Off With One Rule: Argo CD And Flux — Certified GitOps Associate (CGOA) Exam Prep
- A Rollback Nobody Heard: Notifications, Observability And CI — Certified GitOps Associate (CGOA) Exam Prep
- Tooling Sprint: The CTO's Shopping List — Certified GitOps Associate (CGOA) Exam Prep
- Forty-Six Of Sixty: The Mock And What It Tells You — Certified GitOps Associate (CGOA) Exam Prep
- The Evening Before: Final Review — Certified GitOps Associate (CGOA) Exam Prep
- What Is a Pipeline? — Continuous Integration & Continuous Delivery Pipelines
- Runners: Where Code Executes — Continuous Integration & Continuous Delivery Pipelines
- RBAC: From Everything To Exactly Enough — Certified Kubernetes Administrator (CKA) Exam Prep
- kube-bench: Ten Failures On A Fresh Cluster — Certified Kubernetes Security Specialist (CKS) Exam Prep
- RBAC: Find The Path To Cluster Admin — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Sandboxed Pods: RuntimeClass And gVisor — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Minimal Base Images: Less To Attack — Certified Kubernetes Security Specialist (CKS) Exam Prep
- SBOMs: Knowing What You Ship — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Scan Reports: Triage, Gates And Cleanup — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Signing And Verifying Images With Cosign — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Static Analysis: kubesec And KubeLinter — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Investigating An Attack: One Timeline, Two Logs — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Mock Exam: Seventeen Security Tasks Against The Clock — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- Least Privilege Enforcement & CIEM Architecture — Cloud Security & DevSecOps Engineering
- Pre-Commit Secret Scanning with Gitleaks & Entropy — Cloud Security & DevSecOps Engineering
- Static Application Security Testing with Semgrep — Cloud Security & DevSecOps Engineering
- Supply Chain Security: SBOMs & Cosign Signing — Cloud Security & DevSecOps Engineering
- Continuous IaC Drift Detection & State Protection — Cloud Security & DevSecOps Engineering
- Token Transformation: Style Dictionary & Multi-Platform Outputs — Design Systems & Component Engineering
- Automated Accessibility Testing: axe-core & Testing Library — Design Systems & Component Engineering
- Visual Regression Testing: Playwright & Snapshot Differencing — Design Systems & Component Engineering
- What DevOps Actually Is — DevOps & Site Reliability Engineering
- The Pitfalls Of Measurement — DevOps & Site Reliability Engineering
- Trunk-Based Development Versus Git Flow — DevOps & Site Reliability Engineering
- Continuous Integration — DevOps & Site Reliability Engineering
- Testing Strategies And The Test Pyramid — DevOps & Site Reliability Engineering
- Multi Stage Builds, Targets And Build Secrets — Docker Architecture & Production Containers
- Authenticate, Tag, Push And Pull From A Registry — Docker Architecture & Production Containers
- Environment, Secret Files And Runtime Restrictions — Docker Architecture & Production Containers
- Development Overrides, Hot Reloading And Debuggers — Docker Architecture & Production Containers
- Build, Test And Promote The Same Image In CI — Docker Architecture & Production Containers
- Directory.Build.props, global.json and Central Packages — Modern .NET Core, C# & Enterprise Microservices
- Code Quality: .editorconfig and Roslyn Analyzers — Modern .NET Core, C# & Enterprise Microservices
- Unit Testing with xUnit and NSubstitute — Modern .NET Core, C# & Enterprise Microservices
- Monorepo Architecture: Workspaces & Turborepo — Production Full-Stack Engineering
- Unified Build Pipelines: Caching & Dependency Graphs — Production Full-Stack Engineering
- API Contract Architecture: OpenAPI 3.1 & Schema Truth — Production Full-Stack Engineering
- End-to-End Testing with Playwright: Multi-Tier Suites — Production Full-Stack Engineering
- Containerization Architecture: Multi-Stage Dockerfiles — Production Full-Stack Engineering
- Impersonation, Short-Lived Credentials And Workload Identity — Google Cloud Associate Cloud Engineer Exam Prep
- Conventional Commits — Advanced Git Internals & Distributed Workflows
- Trunk Based Development Versus Git Flow — Advanced Git Internals & Distributed Workflows
- Workflow Structure: Jobs, Env, Services, Commands And Anchors — GitHub Actions (GH-200) Exam Prep
- Workflow Templates: Sharing Workflows Across An Organization — GitHub Actions (GH-200) Exam Prep
- Faster And Cheaper: Where The Minutes Go — GitHub Actions (GH-200) Exam Prep
- The Merge Request That Deployed To Production — GitLab Certified CI/CD Associate Exam Prep
- How The Exam Works: Fifty Questions, No Notes — GitLab Certified CI/CD Associate Exam Prep
- Continuous Integration, Delivery And Deployment: One Keyword Apart — GitLab Certified CI/CD Associate Exam Prep
- From Push To Runner: How GitLab Starts A Pipeline — GitLab Certified CI/CD Associate Exam Prep
- Anatomy Of .gitlab-ci.yml, And Three Ways To Check It — GitLab Certified CI/CD Associate Exam Prep
- Jobs And Stages: Who Waits, Who Runs, Who Gets Skipped — GitLab Certified CI/CD Associate Exam Prep
- Rules, Workflow Rules And The Legacy only And except — GitLab Certified CI/CD Associate Exam Prep
- Reuse With extends And include, And What Survives The Merge — GitLab Certified CI/CD Associate Exam Prep
- Stages Versus Needs: Building The Pipeline As A Graph — GitLab Certified CI/CD Associate Exam Prep
- Parent, Child And Multi-Project Pipelines — GitLab Certified CI/CD Associate Exam Prep
- Artifacts: Which Files Reach Which Jobs — GitLab Certified CI/CD Associate Exam Prep
- Caching: Dependencies That Survive Between Pipelines — GitLab Certified CI/CD Associate Exam Prep
- CI/CD Variables: Where Values Come From, And Which One Wins — GitLab Certified CI/CD Associate Exam Prep
- Environments, Review Apps And Deployments — GitLab Certified CI/CD Associate Exam Prep
- The Container Registry: Build, Tag, Push, Clean Up — GitLab Certified CI/CD Associate Exam Prep
- Package Registries: Publishing With The Job Token — GitLab Certified CI/CD Associate Exam Prep
- Adding GitLab's Security Scanners To A Pipeline — GitLab Certified CI/CD Associate Exam Prep
- Reading Security Results: The Merge Request And The Vulnerability Report — GitLab Certified CI/CD Associate Exam Prep
- Runner Types And Executors: Who Runs The Job, And Where — GitLab Certified CI/CD Associate Exam Prep
- Registering Runners And Routing Jobs With Tags — GitLab Certified CI/CD Associate Exam Prep
- Debugging Pipelines: The Graph, The Errors, The Logs — GitLab Certified CI/CD Associate Exam Prep
- Faster Pipelines: Minutes You Can Win Back — GitLab Certified CI/CD Associate Exam Prep
- Pipeline Clinic: Five Tickets, Five Fixes — GitLab Certified CI/CD Associate Exam Prep
- Recall Sprint: Knowing It Cold, With No Docs And No AI — GitLab Certified CI/CD Associate Exam Prep
- Final Mock And Review: One Question Short — GitLab Certified CI/CD Associate Exam Prep
- Installing the Go Toolchain — Concurrent Systems Programming with Go
- Files and the os Package — Concurrent Systems Programming with Go
- Test First, DevOps And Shift Left — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Confirmation, Regression And Maintenance Testing — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- The Test Pyramid And The Testing Quadrants — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Monitoring, Control And Test Reports — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Configuration Management: Which Build Did We Test? — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Database Integration With Testcontainers — Modern Java: Virtual Threads & High-Throughput Services
- Not The Admin Certificate: RBAC And ServiceAccounts — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Fundamentals Sprint: Four Tickets Before The Doors Open — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Not As Root, Not In Plain Sight: Pod Security And Secrets — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Two Versions Of The Truth: GitOps, Helm And Kustomize — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- The Festival, End To End: Final Review — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- One Leaked Kubeconfig: How Far Does It Go? — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Created, But Never Running: Pod Security Admission — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- There Is No Users Table: Authentication — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Read-Only, Except Secrets: RBAC In Depth — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Draw The Boundaries: Trust And Data Flow — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- What Outlives The Fix: Persistence And Privilege Escalation — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- One Pod Away: Network Attackers And Sensitive Data — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Which Benchmark, And Who Checked It? Compliance And Frameworks — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Lockfiles And Reproducible Builds — Application Security & Threat Modeling for Engineers
- Provenance And Signing — Application Security & Threat Modeling for Engineers
- Installing Terraform And Meeting The CLI — Infrastructure as Code with Terraform
- Initialising The Working Directory — Infrastructure as Code with Terraform
- Running Terraform In CI — Infrastructure as Code with Terraform
- Native Testing With Tftest Files — Infrastructure as Code with Terraform
- Provider Mocking For Tests — Infrastructure as Code with Terraform
- Policy As Code With OPA — Infrastructure as Code with Terraform
- Releasing The Real Cloud Artifact — Infrastructure as Code with Terraform
- Introducing pytest — Automated Testing, TDD & Quality Engineering
- Parametrised Tests — Automated Testing, TDD & Quality Engineering
- Testing The Filesystem — Automated Testing, TDD & Quality Engineering
- Code Review As A Quality Gate — Automated Testing, TDD & Quality Engineering
- The Compiler Pipeline: tsc, AST And Code Emission — Production TypeScript
- Verify Your Environment: Running tsc And Bun TypeScript — Production TypeScript
- Write, Plan, Apply, And What Init Prepares — HashiCorp Terraform Associate (004) Exam Prep
- VCS, CLI And API Workflows: Speculative Plans And Run Triggers — HashiCorp Terraform Associate (004) Exam Prep
- Images Sprint: Eight Questions On Builds, Tags And Registries — Docker Certified Associate (DCA) Exam Prep
- Storage Sprint: Eight Questions On Layers, Drivers And Volumes — Docker Certified Associate (DCA) Exam Prep
- The Release Tag That Never Left The Laptop: Git Branches, Remotes, Tags And History — CompTIA Linux+ (XK0-006) Exam Prep
- A New Depot By Friday: OpenTofu, Cloud-init, Pipelines And Kubernetes — CompTIA Linux+ (XK0-006) Exam Prep
References
- Ansible Lint: using it in CI
- Martin Fowler: Continuous Integration
- DORA capability: continuous integration
- GitHub Docs: about continuous integration
- AWS: What is continuous integration?
- GitHub Docs: Understanding GitHub Actions
- Docker Build: continuous integration
- ISTQB Glossary: continuous integration
- ISTQB CTFL Syllabus v4.0.1, section 2.1.4
- Running Terraform in automation
- TSConfig: noEmit
- TSConfig: noEmitOnError
Certification courses
- AWS AIP-C01 course and practice exam: AI engineering with LLM apps, RAG and agents
- AWS DevOps Engineer Professional course and practice exam: DOP-C02
- AZ-400 course and practice exam: Microsoft Azure DevOps Engineer Expert
- CAPA course and practice exam: Certified Argo Project Associate
- CGOA course and practice exam: Certified GitOps Associate
- CKA course and practice exam: Certified Kubernetes Administrator
- CKS course and practice exam: Certified Kubernetes Security Specialist
- Google Associate Cloud Engineer course and practice exam: Google Cloud certification
- GH-200 course and practice exam: GitHub Actions
- GitLab CI/CD Associate course and practice exam: GitLab Certified CI/CD Associate
- ISTQB CTFL course and practice exam: Certified Tester Foundation Level v4.0
- KCNA course and practice exam: Kubernetes and Cloud Native Associate
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)
- DCA course and practice exam: Docker Certified Associate
- CompTIA Linux+ course and practice exam: XK0-006