Skip to content

Deployment Checklist

Executive Overview — all summaries for decision-makers.

Nach jedem Production-Deploy (Push auf main → Render Auto-Deploy).

Pre-Deploy

  • [ ] CI grün (GitHub Actions)
  • [ ] Keine offenen CRITICAL Security-Issues
  • [ ] Env-Vars in Render unverändert oder dokumentiert
  • [ ] Bei DB-Migration: Backup erstellt oder PITR-Fenster bekannt

Deploy beobachten

  • [ ] Render: mqa-backend Deploy Status Live
  • [ ] Render: mqa-frontend Deploy Status Live
  • [ ] Keine Build-Fehler in Logs

Smoke-Tests (5 Min)

Backend

bash
curl -sf https://api.mqa.group/health
# → {"status":"ok",...}

curl -sf https://api.mqa.group/api/auth/status \
  -H "Origin: https://portal.mqa.group"
# → {"oauthEnabled":true,...}

Frontend

  • [ ] https://portal.mqa.group/login lädt
  • [ ] Microsoft 365 Login redirect funktioniert
  • [ ] Nach Login: Dashboard sichtbar
  • [ ] Keine CORS-Fehler in Browser-Console

Auth

  • [ ] Logout → Login erneut
  • [ ] Mock-Login nicht verfügbar (Production)

Kritische Flows (Stichprobe)

  • [ ] Policies-Liste lädt
  • [ ] Media Hub: Datei-Liste (falls R2 konfiguriert)
  • [ ] Admin-Bereich nur für Admin-Rolle

Post-Deploy

  • [ ] Team informieren (Slack/E-Mail)
  • [ ] Bei Fehler: Rollback via Render Redeploy previous

Rollback

  1. Render Dashboard → Service → Deploys
  2. Vorherigen Live Deploy → Redeploy
  3. Bei DB-Migration-Problemen: PITR Restore → BACKUP-RESTORE-RUNBOOK

Staging (wenn live)

Gleiche Checks auf staging.portal.mqa.group vor Production-Merge.