Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Stage

Direct answer

A stage groups related jobs in a CI/CD pipeline, such as build, test or deploy. Stages run in order and a failure usually stops later stages, while jobs within one stage can run in parallel.

When to use this

Use it when configuring, checking or troubleshooting Stage in CI/CD.

First 30 seconds

1. Stages group jobs by phase.

2. Gates between stages.

3. Parallelise within stages.

4. Fail fast early.

5. Clear naming.

Operational verification

stage → gate → next stage

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
CI/CD pipeline automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCI/CD pipeline automation · Automation → CI/CD owns vendor-neutral pipeline evaluation, execution workers, artifacts, build/test/release/deployment workflow, approvals, environments, variables/secrets usage, caching/concurrency, rollback and pipeline troubleshooting. Git owns repository semantics; Security owns credential governance; GitHub Actions/Jenkins own platform-specific behavior; target Domains own runtime implementation and service acceptance.
Scope / prerequisiteUse it when configuring, checking or troubleshooting Stage in CI/CD.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

Healthy evidence: Stage entry criteria, included jobs, dependency behavior and exit evidence are explicit for the platform and run.

Step 2 Failure modes and next checks Narrow the fault

Suspicious evidence: A stage is marked successful because optional/skipped jobs were allowed even though operators interpret the label as complete lifecycle validation.

Step 3 Common mistakes Narrow the fault
  • Stages that depend on files from other stages without artefacts.
Step 4 Where it fails Narrow the fault

Where Stage usually goes wrong: tag/ref identity, annotated/signed metadata, immutability expectations and release binding.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Stage success ≠ every downstream dependency is ready; stage names are organizational labels and platform scheduling semantics must be verified separately.
  • Pipeline status is execution evidence, not independent proof of target service health or business outcome.
  • The exact revision, evaluated pipeline definition, effective inputs and execution worker are part of the evidence context.
  • Preserve artifact identity and target read-back so validation, promotion and runtime acceptance cannot be silently conflated.
Key checks
  • Stages: build, test, scan, package, deploy — structure
  • Stage gates (tests pass) — progression
  • Stage durations — bottlenecks
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Stage success ≠ every downstream dependency is ready; stage names are organizational labels and platform scheduling semantics must be verified separately.

In depth

A stage groups related jobs in a pipeline and defines order: all jobs in one stage must succeed before the next stage starts (in stage-based systems like GitLab CI or Azure Pipelines). Stages give pipelines a readable structure and clear failure points.

# GitLab CI
stages: [validate, test, plan, deploy]
lint:
  stage: validate
  script: [yamllint ., ansible-lint]
plan:
  stage: plan
  script: [terraform plan -out=tfplan]
  artifacts: { paths: [tfplan] }
deploy_prod:
  stage: deploy
  script: [terraform apply tfplan]
  environment: production
  when: manual
  rules: [{ if: '$CI_COMMIT_BRANCH == "main"' }]

Within a stage jobs run in parallel; needs: can let jobs start as soon as their specific dependencies finish rather than waiting for the whole previous stage.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCI/CD pipeline automation current

Authoritative/upstream documentation reviewed for bounded claims in CI/CD > Stage. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
Stagepipeline stageCI stage
Embedded reference data

Quick lookup tables

Stage CI/CD proof-boundary map

Fast trigger/execution/artifact/promotion/target-proof boundaries for Stage.

BoundaryHealthy evidenceSuspicious evidence
Trigger / evaluationExact commit and evaluated pipeline/inputs are knownWrong ref, inherited rule or hidden variable changes the run
Execution / validationExpected worker, jobs and tests execute with traceable contextSkips, retries, stale cache or worker drift hides the failure
Artifact / promotionImmutable artifact is linked to release, approval and environmentRebuild/mutable tag breaks provenance or approval scope
Target proofRollout plus independent readiness/acceptance confirms the intended releasePipeline/API success is treated as runtime health
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For Stage, rely on structured fields and stable IDs (tag/ref identity, annotated/signed metadata, immutability expectations and release binding) rather than text formatted for display.

Confirmation

Confirm action

Continue?