[Buildbot-devel] Multiple factories for one Builder

Ben Hearsum bhearsum at mozilla.com
Wed May 21 16:25:54 UTC 2008

Do you mind sharing a config? I'm doing something similar, I think:

factory1 = MyBuildFactory()
factory2 = MyBuildFactory2()

real_factory = BuildFactory()

On 21-May-08, at 12:23 PM, Dustin J. Mitchell wrote:

> On Wed, May 21, 2008 at 12:03 PM, Ben Hearsum <bhearsum at mozilla.com>  
> wrote:
>> I'm just starting to write factories for some of our processes. To
>> help avoid duplication I was hoping to be able to chain factories
>> together. For example, I'd like to have something like..
> My solution to this has been to put sequences of steps into variables,
> or make functions to create them, and then just include those
> sequences in all of the factory objects I want to create.  Put another
> way, I use the fact that the config file is Python to avoid repeating
> myself, while still providing buildbot with what it expects.
> Dustin
> -- 
> Storage Software Engineer
> http://www.zmanda.com

More information about the devel mailing list