What “deployment” means in Materi
- Building and releasing service artifacts
- Applying configuration and secrets for an environment
- Migrating stateful dependencies (when required)
- Verifying health checks and observability before traffic
Where to find the real instructions
- Ops runbooks: Operational runbooks
- Disaster recovery: DR runbook
- Deployment scripts:
scripts/(repo root) - Service-specific build/run targets: each service’s
Makefile/README.md
Suggested deployment order (baseline)
- Provision dependencies (Postgres/Redis) and verify connectivity.
- Apply environment configuration (non-secret config first, then secrets).
- Deploy application services.
- Deploy observability (metrics/logs/alerts) and confirm telemetry is flowing.
- Run a smoke test (HTTP + collaboration if applicable).
Verification checklist
- Health endpoints return success for all critical services.
- Database migrations (if any) have completed and the schema is compatible.
- Logs show no crash loops or repeated fatal errors.
- Key dashboards and alerts are enabled for the environment.
Rollback and safety
Rollback strategy depends on whether a change is schema-breaking.- If a change is backwards compatible, rollback can often be a simple version revert.
- If migrations are involved, ensure you have a documented downgrade/restore plan.