Skip to content

Make custom hook dir configurable

Sean McGivern requested to merge make-custom-hook-dir-configurable into master

Add a new configuration option, custom_hook_dir. When this is set, we will look for global custom hooks in: <custom_hook_dir>/{pre-receive,update,post-receive}.d/*

When this is not set, default to <ROOT_PATH>/hooks.

Relates to omnibus-gitlab#1754 (closed). Will need a doc update in CE, too.

Merge request reports