[Buildbot-devel] N builders per bot ?

Ben Hearsum bhearsum at wittydomain.com
Wed Sep 26 23:03:19 UTC 2007


Darin Fisher wrote:
> On 9/26/07, *Robert Helmer* <robert at roberthelmer.com 
> <mailto:robert at roberthelmer.com>> wrote:
> 
>     On 9/26/07, *Darin Fisher* <darinf at gmail.com
>     <mailto:darinf at gmail.com>> wrote:
> 
>         I've read through the buildbot manual, and I haven't found an
>         answer to this question.  Is it possible to have several
>         builders configured for a single bot?  That is, if I have one
>         machine with one slave instance running on it, can I arrange to
>         have the build master command that slave to do N different
>         builds in series? 
> 
> 
> 
>     Do you want to have a buildslave shared between multiple builders?
>     You can, but the builders don't have a shared queue so you can get
>     into the situation where a builder is waiting on a buildslave that's
>     in use by another builder even though there are idle slaves waiting.
> 
>     Not sure if I'm understanding though; can you describe what you want
>     to do?
>      
> 
> 
> 
> Yes, I just want to be able to have a buildslave shared between multiple 
> builders.  I plan on having my builders targetted to a specific 
> buildslave, so I think I'm okay with the queuing issue you describe.
> 
> So, I can accomplish what I want by simply defining more than one 
> builder to use the same buildslave?  That sounds too easy :-)
> 
> -Darin
> 

You will probably want a SlaveLock for them. If you don't have one then 
both builders could be building at the same time (which may or may not 
be good).

- Ben




More information about the devel mailing list