[Buildbot-devel] Help with setting up a buildbot slave

Marcus Lindblom macke at yar.nu
Tue Feb 3 12:19:00 UTC 2009



Manish wrote:
> On Tue, Feb 3, 2009 at 1:55 PM, Marcus Lindblom wrote:
>   
>> Manish wrote:
>>     
>>> Can someone please share a sample config file that I need to feed
>>> buildbot as far as VC config is involved?
>>>       
>> Look at the documentation on BuildFactory (6.3.2 in 0.7.9) and modify
>> accordingly:
>>
>> f = factory.BuildFactory()
>> f.addStep(source.Git(repourl="git://myserver/myrepo", mode="update"))
>> f.addStep(...)
>>
>> b1 = {'name': "",
>>   'slavename': "slave1",
>>   'builddir': "build",
>>   'factory': f,
>>   }
>> c['builders'] = [ b1 ]
>>     
> This seems to be in the configuration for for buildbot master.  I am
> only running a slave.  But thanks for the information.  This should be
> useful in future.
>   
Only running a slave won't do you much good. You need a master too, as 
the 'brain' is located there. The slaves just do as they're told, and 
sit idle if there are no one there to boss them around.

/Marcus






More information about the devel mailing list