Closed dennislapchenko closed 1 year ago
For me, pre_commit
does not seem to be working, either.
@dennislapchenko - This does seem to be a bug, bootstrap is run via an exec (the commands becomes the bootstrap command). So no post_hook is ever processed.
@shadowrylander - pre_commit
should work without any issue. Is your pre_commit file executable?
I am currently not a position to check, but I'll let you know once my setup is finalized!
This issue has been labeled as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Describe the bug
Hooks with
post_
and<command>
should be invoked after successful commands execution.post_boostrap
hook is not executed afteryadm bootstrap
To reproduce
Alternatively a:
Outputs:
Expected behavior
Given correct hooks location is created, with properly named file and permissions: post hook for
yadm bootstrap
should be executed.Environment