Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 586 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 586 Bytes

gitlab-webhooks

docker setup via nix-build (currently broken ...)

nix-build docker.nix -o result
docker load -i ./result
docker images | grep gitlab-webhooks-server
docker run -it -v $(pwd)/app.py:/app.py -p 5000:5000 gitlab-webhooks-server:latest flask run --host=0.0.0.0

nix-shell setup

nix-shell
flask run

test via curl

curl -X POST -H "Content-Type: application/json" -d '{"object_kind": "push", "message": "Example commit message"}' http://localhost:5000/webhook