Software zakonisht shpërndan nëpër disa environment — si development, staging, dhe production — secila duke shërbyer një qëllim në rrugën nga kodi deri te përdoruesit live. Promovimi i kodit nëpër environment-e kap problemet përpara se ato të arrijnë në përdoruesit realë.
Environment-et tipike
DEVELOPMENT (dev) → where developers build and test (local or a shared dev environment);
unstable, frequent changes, experimentation
STAGING (test/QA/pre-prod) → a PRODUCTION-LIKE environment for final testing:
→ mirrors production (same config/infrastructure as closely as possible)
→ run integration/E2E tests, QA, UAT before releasing
→ catch issues in a safe, prod-like setting BEFORE real users see them
PRODUCTION (prod) → the LIVE environment serving real users:
→ stability is critical; changes are careful and monitored
