GitLab hooks: post-receive directly through internal REST API
This implements the `post-receive` hook by a direct HTTP call to the internal API endpoint. For this, two new config parameters in the `heptapod` section are introduced: - gitlab-internal-api-secret-file - gitlab-internal-api-url We're keeping the previous structure, with a `name` that's now almost useless and leads us to the complication of the `_hook_methods` dict. This keeps compatibility for the caller (also part of this package since Heptapod 0.12), allowing us to refactor in a separate step.
parent
cac20dfe000d
No related branches found
No related tags found
Mercurial>=5.2 | ||
hg-evolve>=9.2.1 | ||
hg-git>=0.8.13 | ||
requests | ||
requests_unixsocket==0.2.0 |
Please register or sign in to comment