With this blog post I would like to introduce you to the logic of the code we use (mozilla2/master.cfg)
In general words it works like this:
- import modules from python, twisted, buildbot and our own custom modules buildbotcustom
- import configuration files regarding slaves and each branch
- for every branch do:
- setup a TinderboxMailNotifier
- if L10n is enabled for this branch setup a TinderboxMailNotifier for "Mozilla-l10n" and for "Mozilla-l10n-%locale%"
- add the HgPoller for this branch and the associated Scheduler
- add a Periodic scheduler if enabled for this branch
- for every nightlyBuilder generate a Nightly scheduler
- if L10n enabled for this branch add a DependentL10n scheduler
- for every platform defined for this branch do:
- create builders for dependent builds (periodic and build-on-change)
- create builders for nightly builds (if it is not a debug platform)
- if L10n enabled for this branch add a nightly builder for this platform
- end of for every branch loop
- import Release Automation configuration
- import Mobile configuration
- import UnitTest configuration (it is coming soon)
No comments:
Post a Comment