[Buildbot-devel] [Use Case] Best way to build the same code with several configurations?

Dan Kegel dank at kegel.com
Thu May 30 18:39:06 UTC 2013


On Thu, May 30, 2013 at 11:24 AM, sergio borghese
<sergio.borghese at gmail.com> wrote:
> Which would be the best way to configure buildbot to build tha very same
> code source several times, depending on some initial configuration step?
> For instance: I have the code of a library that could be built including or
> excluding several features, and I'd like that the code builds/works in all
> the supported configs.
>
> Creating a distinct builder per configuration, sound a bit overkill, as the
> steps run by each builder would be the same, but the initial configuration
> one.

I treat buildbot as a glorified cron that also hands me a source
tree.  buildbot knows *nothing* about what I build with it; all it
does is run a fixed set of shell scripts (patch, configure, compile, package)
that is the same for all of my projects.

In those projects that want to be built several ways, those scripts
iterate over build methods internally.  The buildbot is unaware of them.
- Dan




More information about the devel mailing list