mozilla2/master1.cfg
author Ben Hearsum <bhearsum@mozilla.com>
Wed, 12 Aug 2009 08:41:40 -0400
changeset 1427 69eb71197222b980e92b87ff5eb3deb039a8b6a0
parent 1417 abb1fe031e68657c25a6258f088899013db0e845
child 1462 5b1820fab855260e22b8fe7a43a0fa65061499dc
permissions -rw-r--r--
bug 508281: add mozilla-1.9.2 builds to moz2-master, talos-pool master. r=ccooper,anodelman

import config
reload(config)
from config import SLAVES

ACTIVE_BRANCHES = ['mozilla-central', 'mozilla-1.9.2', 'places']
L10N_SLAVES = {
    'linux': SLAVES['linux'][:8],
    'win32': SLAVES['win32'][:8],
    'macosx': SLAVES['macosx'][:8],
}

execfile("master-main.cfg")

c['buildbotURL'] = 'http://production-master.build.mozilla.org:8010/'

import buildbotcustom.misc
reload(buildbotcustom.misc)
from buildbotcustom.misc import generateBranchObjects

for branch in ACTIVE_BRANCHES:
    branchObjects = generateBranchObjects(BRANCHES[branch], branch)
    c['builders'].extend(branchObjects['builders'])
    c['schedulers'].extend(branchObjects['schedulers'])
    c['change_source'].extend(branchObjects['change_source'])
    c['status'].extend(branchObjects['status'])

import buildbotcustom.log
import buildbotcustom.l10n
reload(buildbotcustom.log)
reload(buildbotcustom.l10n)
from buildbotcustom.l10n import Scheduler as SchedulerL10n

buildbotcustom.log.init(
    scheduler = buildbotcustom.log.DEBUG,
    dispatcher = buildbotcustom.log.DEBUG
)

s = SchedulerL10n("l10n", "l10nbuilds1.ini")
c['schedulers'].append(s)