CI/CD, GitOps & Delivery
Deployment environments
A deployment environment combines its own secrets and variables with protection rules, and promotion moves one tested artifact through dev, staging and production in order.
What you will be able to do
- Explain how environment rules gate a deploy.
- Decide which branches and reviewers a production environment should require.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in CI/CD, GitOps & Delivery
- SLSA basicsAdvanced · 4 min
SLSA provenance is a signed build record that says what artifact was made, by which builder, from which source, so consumers can check where software came from.
- Artifact registriesAdvanced · 4 min
An artifact registry stores images by digest, and tags are movable names that can point to new content, so a deploy must pin the digest to run what was reviewed.
- Blue green deploymentAdvanced · 4 min
Blue green deployment runs two identical environments and makes the release a traffic switch, which gives a quick rollback if the data layer still works with the old…
- Canary rolloutAdvanced · 5 min
A canary rollout sends a small, growing share of traffic to a new version, and its value depends on a step gate that compares the canary with the stable version.
- Automated rollbackAdvanced · 4 min
Automated rollback is a rule that aborts a rollout when a measured metric fails its condition, returning traffic to the stable version without waiting for a person.
- Argo CD reconciliationAdvanced · 5 min
Argo CD reconciliation compares the manifests in Git with the live objects in the cluster and reports Synced or OutOfSync, so Git stays the source of desired state.