Skip to content
Snippets Groups Projects

Make custom hook dir configurable

Merged username-removed-443319 requested to merge make-custom-hook-dir-configurable into master
All threads resolved!

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • username-removed-443319 resolved all discussions

    resolved all discussions

  • @rymai @glensc can you take another look please?

  • added 1 commit

    • fbc213ea - Make custom hooks dir configurable

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • I've updated the VERSION file and created https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8040 to update that in CE, along with the docs.

  • Thanks guys! LGTM too.

  • mentioned in commit 92dad7c1

  • @smcgivern Let's tag v4.1.0 and push to all remotes (at least GitLab.com and dev)!

  • Pushed, thanks!

  • Please register or sign in to reply
    Loading