Skip to content

tests: add a helper script to poke our webhook implementation

Peter Hutterer requested to merge whot/gitlab-validate-users:wip/poker into main

To test our server we can run ./tests/poke-webhook.sh push-event which calls the webhook with (hopefully) valid data. It uses the server config and the first project defined in the Settings.yaml file.

The json is copied from the gitlab documentation here: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html


Kinda needs !2 (closed) first so we can actually run the server ;)

Merge request reports

Loading