mozilla2/master-main.cfg
author Chris AtLee <catlee@mozilla.com>
Thu, 22 Jul 2010 19:20:25 -0400
changeset 2787 67bbba13a116a42c6fbb82e35d3d14bcb155d612
parent 2485 e672fd2e92ad0d6a1b826821e30f010ded54b372
child 3107 9747fa2e1c04320b9e6fa2c8f85877f6930537e3
permissions -rw-r--r--
Bug 568568: Port test masters to buildbot 0.8.0. r=bhearsum

# -*- python -*-
# ex: set syntax=python:

# Shorthand
c = BuildmasterConfig = {}

import config
from config import *

####### BUILDSLAVES

import BuildSlaves
reload(BuildSlaves)
from BuildSlaves import SlavePasswords

from buildbot.buildslave import BuildSlave
c['slaves'] = []
for platform, names in SLAVES.items() + TRY_SLAVES.items():
    for name in names:
        c['slaves'].append(BuildSlave(name, SlavePasswords[platform], max_builds=1))

buildbotcustom.misc.fastRegexes.extend([
    '-ix-',
    'xserve',
    ])

# Now setup the l10n slaves. L10N_SLAVES is defined in
# master1 and master2.cfg before we get exec'ed
for branch in BRANCHES.keys():
    BRANCHES[branch]['l10n_slaves'] = L10N_SLAVES

c['change_source'] = []
c['schedulers'] = []
c['builders'] = []
c['status'] = []

from buildbot.changes.pb import PBChangeSource

c['change_source'].append(PBChangeSource())

####### PROJECT IDENTITY

# the 'projectName' string will be used to describe the project that this
# buildbot is working on. For example, it is used as the title of the
# waterfall HTML page. The 'projectURL' string will be used to provide a link
# from buildbot HTML pages to your project's home page.

c['projectName'] = "Mozilla 2"
c['projectURL'] = "http://wiki.mozilla.org/Mozilla_2"

# Cap the log size at 50 MB
c['logMaxSize'] = 50 * 1024 * 1024

# Keep 100 changes
c['changeHorizon'] = 100