Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Environment Promotion

Direct answer

Environment promotion moves a change from dev to staging to production by updating each environment's configuration in Git, through pull requests or automated image updates.

When to use this

Use this when moving changes from dev to production in GitOps.

First 30 seconds

1. Promotion moves changes through environments.

2. Same artefact (image digest) across environments.

3. PR per promotion.

4. Tests/gates between stages.

5. Track versions per environment.

Operational verification

dev → test → staging → prod via PRs

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
GitOps reconciliation
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.

PlatformGitOps reconciliation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when moving changes from dev to production in GitOps.
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.

1 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 Common mistakes Narrow the fault
  • Different code paths per environment, so tests show little.
  • Promoting by copying files by hand.
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
  • Promote changes via pull requests per environment.
  • Use per-environment image tags or overlays.
  • Automate promotion where tests are strong.
Key checks
  • Environment folders/branches (dev, staging, prod) — structure
  • Promotion PRs (image tag bump) — process
  • Automated promotion tools (Kargo, image updater) — automation
ReferenceWhy it matters1 section · depth on demand

What it is

Environment promotion moves a tested version from dev to staging to production, usually by updating a version or image tag in the next environment's folder or branch via merge request.

ReferenceHow it works1 section · depth on demand

In depth

Environment promotion moves a tested change from one environment to the next — development, test, staging, production — in GitOps by changing what each environment's configuration points to. The same artifact (image digest, chart version, configuration) moves through the environments; only environment-specific values differ.

Common repository layouts:

LayoutPromotion
Directory per environment (envs/test, envs/prod)PR updating the version in the next directory
Branch per environmentMerge between branches (harder to keep tidy)
Separate repo per environmentPR to the production repo

Automate promotion PRs after successful tests (tools like Kargo or Argo CD Image Updater help), and keep the production merge as the human approval point.

ReferenceImportant terms & boundaries1 section · depth on demand

Example

Folder-per-environment GitOps layout:

apps/web/base/
apps/web/overlays/dev/kustomization.yaml      # image tag 1.4.2
apps/web/overlays/prod/kustomization.yaml     # image tag 1.4.1

Promotion = a merge request that changes the tag in prod to the version already tested in dev.

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 docGitOps reconciliation current

Authoritative/upstream documentation reviewed for bounded claims in GitOps > Environment Promotion. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://opengitops.dev/ · confidence 94%
Confirmation

Confirm action

Continue?