-
- Downloads
There was a problem fetching the pipeline summary.
Make custom hooks dir configurable
Add a new configuration option, custom_hooks_dir. When this is set, we will look for global custom hooks in: <custom_hooks_dir>/{pre-receive,update,post-receive}.d/* When this is not set, default to <REPO_PATH>/hooks.
parent
8e370b37
No related branches found
No related tags found
Pipeline #
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- CHANGELOG 1 addition, 1 deletionCHANGELOG
- config.yml.example 5 additions, 1 deletionconfig.yml.example
- lib/gitlab_config.rb 7 additions, 0 deletionslib/gitlab_config.rb
- lib/gitlab_custom_hook.rb 10 additions, 8 deletionslib/gitlab_custom_hook.rb
- spec/gitlab_custom_hook_spec.rb 52 additions, 14 deletionsspec/gitlab_custom_hook_spec.rb
Please register or sign in to comment