[users at bb.net] Managing large numbers of buildsteps

Clément Hurlin clement.hurlin at provenrun.com
Thu Aug 8 11:40:23 UTC 2019


Hello Honas,

  Do you mean your bot entire configuration is in master.cfg ? If that's
the case, you can split by using regular python modules. For example my
master.cfg is usually simply:

# Use master.py instead
from master import *

And then master.py is like the regular root file of a python projects,
with submodules being imported. For example I'm used to configure the
build, the steps, the schedulers, etc. in different files.

Hope this helps,
Clément

> Hello I have 3 buildworkers (say Linux, Windows and Mac)
> for each of these I have say 200 build step, so a total of around 600
> build steps.
> I know its alot.
> I have a single master.cfg file but having all these steps in a single
> file is getting a bit hard to manage/understand/read.
>  
> Is it possible to have separate files? Ideally I am thinking I could
> have a file for the Linux build steps, a separate for Windows and one
> for Mac, but still one single master.cfg  which references these other
> files.
> I don't know if this is possible or how to break things up into more
> manageable chunks.
> Can anyone give me some guidance
>
> Regards
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20190808/5d31291e/attachment.html>


More information about the users mailing list