Technik 2.1 — DevOps & CI/CD

CI/CD — Continuous Integration & Delivery

Pipeline‑Schritte (typisch):
  1. Lint: Code‑Style (eslint, ruff).
  2. Type Check: TS, mypy.
  3. Test: unit, integration, e2e.
  4. Build: Compile / Bundle / Docker Image.
  5. Security Scan: Trivy, Snyk, Dependabot.
  6. Push Artefakt: Registry, Storage.
  7. Deploy: staging → smoke → production.
  8. Notify: Slack, Mail.
ToolStärke
GitHub Actionstief integriert mit GitHub, riesiges Ecosystem
GitLab CIkomplette DevOps‑Plattform
CircleCIschnell, parallel, Caching‑stark
Jenkinsklassisch, self‑hosted, sehr flexibel
Argo CDGitOps‑Continuous‑Delivery für K8s
DroneContainer‑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