Are server hooks possible on a gitlab.com repository?
Or is this feature only available on gitlab ee
Are server hooks possible on a gitlab.com repository?
Or is this feature only available on gitlab ee
Hi,
since installing server side git hooks requires administrative permissions, you can only do that on self-hosted GitLab Enterprise installations. Maybe you can achieve your solution with web hooks too?
Cheers,
Michael
Many thanks @dnsmichi, will try investigating the webhooks, appreciated
I meanwhile had a go at developing and releasing a Ruby gem, served on rubygems.org. Details of the gem are available from here.
Install with:
gem install gitlab-lint-client
Usage for the CLI is:
glab-lint -h
The source code is available from here. The repository also serves a pre-commit hook rule called validate-gitlab-ci.