drf-gitlab-webhook is a django app wich implements a webhook endpoint for gitlab requests and send django signals for every hook event.
- Add "drf_gitlab_webhook" to INSTALLED_APPS:
INSTALLED_APPS = {
...
'drf_gitlab_webhook'
}
- Include the drf_gitlab_webhook URLconf in urls.py:
url(r'^webhook/', include('drf_gitlab_webhook.urls'))
- Then you have an endpoint called
webhook/event/
Dev notes: build package: python setup.py sdist install: pip install --user drf-gitlab-webhook/dist/drf-gitlab-webhook-01.tar.gz