Make custom hook dir configurable
All threads resolved!
All threads resolved!
Compare changes
Files
7+ 7
− 0
@@ -19,6 +19,13 @@ class GitlabConfig
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
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 https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1754. Will need a doc update in CE, too.