CI/CD — Continuous Integration & Delivery
Pipeline‑Schritte (typisch):
- Lint: Code‑Style (eslint, ruff).
- Type Check: TS, mypy.
- Test: unit, integration, e2e.
- Build: Compile / Bundle / Docker Image.
- Security Scan: Trivy, Snyk, Dependabot.
- Push Artefakt: Registry, Storage.
- Deploy: staging → smoke → production.
- Notify: Slack, Mail.
| Tool | Stärke |
|---|---|
| GitHub Actions | tief integriert mit GitHub, riesiges Ecosystem |
| GitLab CI | komplette DevOps‑Plattform |
| CircleCI | schnell, parallel, Caching‑stark |
| Jenkins | klassisch, self‑hosted, sehr flexibel |
| Argo CD | GitOps‑Continuous‑Delivery für K8s |
| Drone | Container‑basiert, simpel |
Deploy‑Strategien:
- Rolling: Pod für Pod tauschen (Default in K8s).
- Blue/Green: komplette zweite Umgebung, dann Switch.
- Canary: 1 % Traffic auf neu, langsam erhöhen.
- Feature Flags: Deploy ≠ Release.
Zurück zu Technik