.drone.yml aktualisiert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
35
.drone.yml
35
.drone.yml
@@ -1,38 +1,3 @@
|
||||
# ============================================================================
|
||||
# .drone.yml — Infra Maintenance (Authelia Update via Bastille/Jail)
|
||||
#
|
||||
# Ziel:
|
||||
# - Authelia Update-Script im Authelia-Jail nativ ausführen (kein Docker)
|
||||
# - Secrets (SSH + Matrix) aus Vault ziehen
|
||||
# - Exit-Codes sauber an Drone übergeben (für Auswertung/Benachrichtigung)
|
||||
# - Matrix-Benachrichtigung bei Erfolg/Fehler (inkl. Check-Only vs Apply)
|
||||
#
|
||||
# Architektur:
|
||||
# - Drone Pipeline type: ssh
|
||||
# -> verbindet sich auf den FreeBSD Host (XigmaNAS/FreeBSD)
|
||||
# -> führt dort "bastille cmd authelia ..." aus
|
||||
# -> damit läuft alles im echten Jail mit echtem service(8)
|
||||
#
|
||||
# Voraussetzungen:
|
||||
# - Authelia-Jail heißt: authelia (ggf. anpassen)
|
||||
# - Script liegt IM Jail unter: /root/authelia-update.sh (ggf. anpassen)
|
||||
# - Bastille ist auf dem Host vorhanden und korrekt konfiguriert
|
||||
# - Drone Vault Secret-Plugin ist aktiv (dein Setup)
|
||||
# - Matrix Bot Credentials in Vault vorhanden (siehe Secrets unten)
|
||||
#
|
||||
# Trigger-Konzept (empfohlen):
|
||||
# - event: cron -> check-only (kein apply), Exit 0 oder 10 etc.
|
||||
# - event: manual -> apply + auto-revert
|
||||
#
|
||||
# Hinweis:
|
||||
# - Der Matrix-Notify Step läuft in einem Container (Spotlightkid Plugin).
|
||||
# Das ist OK, weil es nur HTTP Richtung Matrix macht und keine System-
|
||||
# Operationen auf FreeBSD ausführt.
|
||||
# ============================================================================
|
||||
|
||||
# -----------------------------
|
||||
# SSH Secrets aus Vault (Host)
|
||||
# -----------------------------
|
||||
---
|
||||
kind: secret
|
||||
name: username_xigmanas
|
||||
|
||||
Reference in New Issue
Block a user