Search code examples
gitlabbuildbot

how to use web hooks on Buildbot (gitlab integration)


I am quite curious to know how do you actually use the buildbot when you have a repo on gitlab.

From what I understand, there is no way to upload the py files, which are triggered by the post-commit hook, so I am not exactly clear how do you tell gitlab to send the changes in the codebase to the buildbot, and how the buildbot knows about these changes sent.

We are planning to switch soon to gitlab, and I am looking ahead to avoid to get stuck when the real fun will begin.

Does anyone have any pointer about the integration and communication between Gitlab and Buildbot?

The info on the official documentation of Buildbot is not really clear; I have read about web hooks but I am not really getting how they work.


Solution

  • The main issue is the incompatibility of the github module for Buildbot; once the Gitlab will make possible to have either Gitlab or Github hooks, it will work without problems.

    http://feedback.gitlab.com/forums/176466-general/suggestions/3787958-web-hooks-data-posts-should-be-github-compatible

    Hope that this will help people looking for info, so they avoid to bang their head on the wall in search of an answer :)