Per-project server hooks on omnibus installation

Problem to solve

I’m trying to set up custom hooks per project on omnibus installation of gitlab. The instructions indicate I need to run gittaly hooks set command with the appropriate parameters. One of these parameters is “config path”. The example given provides a path to the gitaly toml config path - however on the omnibus install this file doesn’t exist. So, the command obviously fails.
So, how can I do this?

Steps to reproduce

Install standard omnibus package (my version is 17.5), try to set up custom hooks per project.

Configuration

Default omnibus installation 17.5 - no custom settings other than hostname and email server.

Versions

17.5

  • Self-managed
  • GitLab.com SaaS
  • Dedicated

Versions

  • GitLab 17.5 EE (free edition)

The easiest way I find to do webhooks is to just go to the project → Settings → Webhooks and then click the button to add new webhook.

If you mean some other kind of hook, then please provide a link to the documentation or whatever it is you are trying to do.

Thanks. I’m not looking for webhooks - but for server hooks, for things such as enforcing branch naming and commit message patterns.

1 Like