[Buildbot-devel] triggering builds based on git tags

Charles Lepple clepple at gmail.com
Sat Jan 15 15:07:27 UTC 2011


[please keep the list CC'd. thanks.]

On Jan 15, 2011, at 9:59 AM, Jason Edgecombe wrote:

> On 01/14/2011 10:28 PM, Charles Lepple wrote:
>> On Jan 14, 2011, at 9:01 PM, Jason Edgecombe wrote:
>>
>>> I would like to trigger special build scripts when a tag is  
>>> created in
>>> git. This would be to produce a published release. The releases  
>>> would
>>> use special slaves.
>>>
>>> How might I accompilsh the automatic triggering of special builds
>>> when a
>>> new git tag is created?
>> I don't know if the GitPoller looks for tags, but there's always the
>> notion of writing an "update" hook script (in the Git repository)  
>> that
>> runs "buildbot sendchange" when it sees a new tag.
> sounds promising. Would the category parameter need to be used to  
> flag that this is a release?

I haven't used the category parameter. Someone else might have  
thoughts on that.

I would probably just use a separate builder (possibly using the same  
buildslaves, but with whatever extra steps are necessary for a release).

>  I'm also trying to figure out how to have the git hook communicate  
> with the buildmaster on a separate host without having to install  
> the buildbot software.
>
> How much of the buildbot software need to be installed to run  
> "buildbot sendchange"?

At the moment, I think it's the master side (plus at least the core of  
Twisted).

-- 
Charles Lepple




More information about the devel mailing list