Hooks vor und nach einem Lauf (#100) #110
Loading…
Reference in a new issue
No description provided.
Delete branch "thorsten.spille/hooks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #100
Änderung
/etc/bashclub/hooks.d/pre-run/undpost-run/gelten für alle Configs./etc/bashclub/hooks.d/<config>/pre-run/undpost-run/gelten für eine Config. Das weicht vom Ticket ab: Nach der Entscheidung zu #98 gibt es kein<name>.conf.d.[ERROR]übersprungen, damit eine Fehlkonfiguration auffällt und nicht still ein Schritt fehlt.[ERROR], Exit 1).on_exitnachfinish_statusund vor dem Spool, sobald die pre-run-Phase begonnen hat; also auch nach Fehlern oder einem übersprungenen Lauf, damit z. B. etwas wieder abgebaut werden kann. Ein Exit-Code ungleich 0 ergibt nur[WARN], der Exit-Code des Laufs bleibt.ZSYNC_CONFIG,ZSYNC_NAME,ZSYNC_TARGET,ZSYNC_SOURCE,ZSYNC_PHASE; nach dem LaufZSYNC_RCundZSYNC_DURATION. Den Pfad zur Ergebnisdatei bekommt #99.[INFO] <hook>: ...).hook_timeoutSekunden (Standard 600) abgebrochen.-s.triggerim Skript nennt jetzt auchexternal(#98).Tests
hooks, auf der VM bestanden:🤖 Generated with Claude Code
Executable files in /etc/bashclub/hooks.d/{pre-run,post-run}/ and /etc/bashclub/hooks.d/<config>/{pre-run,post-run}/ run inside the lock of the run; only files and folders of root that only root may write. A failing pre-run hook skips the run, a failing post-run hook only warns. hook_timeout limits a hook. Without the folders nothing changes. Fixes #100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Manuell nach
maingemergt (8205d05), CI inkl. publish nach testing grün. Schließe den PR.Pull request closed