What are environments in a delivery pipeline and how do changes get promoted through them?
IntermediateConceptFundamentals and Pipeline Design
Answer
Typical environments are dev, QA/test, staging (production-like), and production. Promotion means deploying the same artifact to the next environment after gates pass: automated tests, smoke checks, security sign-off, or manual approval.
Staging should mirror production in topology, config shape and data volume as closely as budget allows, otherwise passing there proves little. Each environment gets its own credentials, and production credentials are only available to the production deploy job.
More on Fundamentals and Pipeline Design
What is Continuous Integration (CI)?BeginnerWhat is the difference between Continuous Delivery and Continuous Deployment?IntermediateWhat is a CI/CD pipeline and what are its stages?BeginnerWhy should a pipeline "fail fast", and how do you order stages to achieve it?IntermediateWhat makes a build reproducible, and why does it matter?AdvancedHow does your branching strategy affect CI? Compare trunk-based development with GitFlow.Intermediate