Il software viene tipicamente deployato attraverso molteplici ambienti — come development, staging e production — ognuno dei quali svolge un ruolo nel percorso dal codice agli utenti live. Promuovere il codice attraverso gli ambienti permette di rilevare i problemi prima che raggiungano gli utenti reali.
Gli ambienti tipici
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
