GitLab Webhooks for Drupal 7

This will be short post but I thought it was worth mentioning. We’ve released a new module today called GitLab Webhooks which creates a Services resource that accepts the post-commit notifications from GitLab into Drupal.

The resource is pretty simple. It logs the post-commit notification to watchdog and then invokes hook_gitlab_webhook_commit() which can then be used by other modules to react to the event.

We chose to use Services 3.x since it handles all the access control, defining the end points and all that get-out-of-my-way-and-let-me-work web service stuff.

Give it a try and let us know of any issues or feature requests in the issue queue.