GL Webhooks is a project that provides GitLab functionalities via webhook endpoints.
Project description
gl-webhooks
GL Webhooks is a project that provides GitLab functionalities via webhook endpoints.
It is a WSGI application written with the Flask framework with connexion on top of it. It can be served via Gunicorn with a helper script.
Configuration file
A template configuration file can be found in conf/gl-webhooks.yml.
Configuration will be taken, in order, from command line then configuration file.
Development environment
Setup
# pip and virtual env are required to be installed system wide
apt-get install python3-pip python3-venv
# create a virtualenv inside a folder called '.venv'
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements-dev.txt
# Run the flask server:
./bin/gl-webhooks-dev
Production
You can run a production server as a Gunicorn WSGI application with a helper script:
pip3 install -r requirements.txt
./bin/gl-webhooks
License
This project is licensed under the MIT License - see the LICENSE file for details.
Locations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gl-webhooks-1.1.11.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for gl_webhooks-1.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ba1c3311a918fe9233cdfcbf60137645e6323e685191955a63a4e3d44dcdc8 |
|
MD5 | 716c83f11f86f79eea9673a1624f3090 |
|
BLAKE2b-256 | 5a3673e311be0ee9bf7ff28872dfa6cbaab2ed1585f2660274b2a5f9223b8cd1 |