Deployment¶
Dieses Kapitel beschreibt das vollständige Deployment-System der easySale-Plattform.
-
:material-map: Deployment-Gesamtkonzept
Artifact Promotion, Dev→Prod Stufenmodell, kompletter Flow -
:material-github: GitHub Actions Setup
Keystores, iOS-Zertifikate, Secrets einrichten -
:material-firebase: Firebase-Konfiguration
Single-Tenant Setup, Umgebungen, Konfigurationsdateien -
:material-web: CORS-Konfiguration
CORS-Optimierungen für Firebase Storage und Cloud Functions -
:material-shield-lock: Cloudflare Access
Zero-Trust-Authentifizierung für geschützte Dokumentation
Deployment-Übersicht¶
Code-Änderung im Core
│
▼
tag-release.yml ← Erstellt Git-Tag (v1.x.x)
│
▼
notify-clients.yml ← Benachrichtigt alle Client-Repos
│
▼
auto-build.yml ← Client baut Web + Android + iOS
(in jedem Client-Repo) └── Deployed automatisch auf Dev
│
│ [Manuel: QA auf Dev bestanden]
▼
promote-to-prod.yml ← Artifact wird auf Prod promoted
(kein Rebuild nötig) └── Web: Firebase Hosting Swap
└── Android: Google Play Upload
└── iOS: TestFlight Upload
Environments¶
| Environment | Zweck | URL-Muster |
|---|---|---|
| Dev | Entwicklung & QA | <project-id>-dev.web.app |
| Prod | Live-Betrieb | <project-id>.web.app |
Jedes Client-Repo hat eigene Firebase-Projekte für Dev und Prod.