Skip to content
Snippets Groups Projects
Commit a9f1a24b9679 authored by Georges Racinet's avatar Georges Racinet
Browse files

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
1 merge request!20Calling GitLab hooks through API
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment