ソフトウェアは通常、複数の環境(開発、ステージング、本番など)を通じてデプロイされ、各環境はコードからライブユーザーへの経路で目的を果たします。環境を通じてコードを昇格させることで、実際のユーザーに到達する前に問題をキャッチします。
典型的な環境
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
