ci: lint the rendered role templates #466
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#466
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Twelve
roles/*/templates/*.sh.j2androles/backup-drill/templates/bitborg-backup-drill.py.j2are linted by nothing.scripts/shellcheck.shtargetsscripts/*.sh, and ruff cannot parse Jinja. These run as timers that delete registry packages, boot VMs and restore backups.Add a script that renders each template with the role defaults (the same approach as
scripts/check-alert-rules.py), then runs the shellcheck and ruff wrappers on the output. Wire it into CI and lefthook.