Skip to content

Glossary: CI/CD, build & testing

45 DevOps terms explained: CI/CD, build & testing.

Index
45 items

Acceptance test

Checks that a feature meets the business requirements, often written from the user's point of view (Given / When / Then).

Build

Turning source code into something runnable: compiling, bundling, installing dependencies, building a container image.

Build cache

Reusing outputs of earlier builds (dependencies, compiled files, Docker layers) to make builds faster. Wrong cache keys cause stale or broken builds.

Code coverage

The percentage of code lines or branches executed by tests. Useful to find untested code; high coverage doesn't prove the tests check the right things.

Dependency pinning

Referring to an exact version (or digest) of a dependency, base image or action instead of a moving one like latest, so builds don't change unexpectedly and supply chain attacks are harder.

Example FROM node:22.11.0-alpine instead of FROM node:latest

End-to-end test

Also E2E test

Tests a full user journey through the whole system, often by driving a browser (Playwright, Cypress). Most realistic, slowest and most brittle.

Flaky test

A test that sometimes passes and sometimes fails without any code change, usually due to timing, shared state or network. Destroys trust in CI; quarantine and fix it.

Job

One unit of work in a pipeline, run on a runner: a list of steps such as checkout, install, test.

Linting

Also linter

Automatic checks for style issues and likely bugs in code or config (ESLint, ShellCheck, hadolint, yamllint, tflint).

Matrix build

Running the same job across combinations of parameters, e.g. three OS versions times two language versions, in parallel.

Mock

Also stub · fake · test double

A stand-in for a real dependency (database, API) in tests, returning canned answers so the test is fast and deterministic.

Nightly build

A scheduled full build and test run (often including slow suites) that runs once a day, typically overnight.

Pipeline

The automated sequence that takes a commit through build, test, scan, package and deploy steps. Defined as code in the repo (.github/workflows, .gitlab-ci.yml, Jenkinsfile).

Pipeline as code

Defining the CI/CD pipeline in a file in the repository, so it is versioned, reviewed and reproducible like the app code.

Example .gitlab-ci.yml, Jenkinsfile, .github/workflows/ci.yml

Quality gate

Automated pass/fail criteria a change must meet to move on: tests pass, coverage over 80%, no critical vulnerabilities, no new code smells (SonarQube uses this name).

Regression test

Re-running tests after a change to make sure existing behaviour didn't break. A test written for every fixed bug stops it coming back.

Runner

Also agent · executor · build agent

The machine or container that executes pipeline jobs. Hosted runners are provided by the CI service; self-hosted runners run on your own infrastructure (needed for private network access).

Self-hosted runner

A CI runner you operate yourself. Gives access to private networks and custom hardware; you must patch, scale and isolate it, since jobs can run untrusted code.

Smoke test

A quick check right after a deploy that the most important things work at all: the app starts, the home page loads, login works.

Stage

A phase of a pipeline (build, test, deploy). Jobs in a stage usually run in parallel; the next stage starts when they pass.

Step

A single command or action inside a job, like npm test or actions/checkout.

Trigger

The event that starts a pipeline: a push, a pull request, a tag, a schedule (cron), a manual button or an API call.

Unit test

A fast test of one small piece of code (a function or class) in isolation, with dependencies faked. The base of the test pyramid.

Webhook

An HTTP callback: when an event happens (push, PR opened), one system POSTs a JSON payload to a URL of another system, e.g. GitHub notifying Jenkins.

Workflow

GitHub Actions' name for a pipeline: a YAML file in .github/workflows with triggers and jobs.

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…