Skip to contentSkip to conversation

Buildbot build triggering setup

Openvpn-devel Samuli Seppänen 1 participant 1 message Jul 9, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

As promised in IRC meeting on July 1st
(http://thread.gmane.org/gmane.network.openvpn.devel/3815) I checked if it's possible to trigger builds by reading the VCS changes from SF.net Git repository RSS feed. Unfortunately I found nothing 100% usable using Google or by searching buildbot-devel mailinglist archives. If we still want go the RSS feed route, we could perhaps build on this Mercurial RSS feed poller:

<http://buildbot.net/trac/ticket/76>

A simpler alternative supported out of the box would be this:

- add the post-receive-email hook into SF.net git repository and configure it to send mail to buildbot account on build server
- configure buildbot to trigger a build when it receives an email from SF.net git

Unlike I previously assumed, there's no need to create a separate openvpn-commits list. Unless somebody is itching to write a new Python ChangeSource for Buildbot, I suggest using the MailParser approach. For more information about that, see these links:

<http://djmitche.github.com/buildbot/docs/0.7.12/#Mail_002dparsing-ChangeSources>
<http://sourceforge.net/apps/trac/sourceforge/wiki/Git#Commitemailhooksetup>
<http://git.kernel.org/?p=git/git.git;a=blob;f=contrib/hooks/post-receive-email;hb=HEAD>

Any thoughts?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock