talos-r3/master2.cfg
author Lukas Blakk <lsblakk@mozilla.com>
Tue, 20 Jul 2010 05:08:42 -0700
changeset 2705 723582c57bf9044df112e3f8fcd1e7c9e82635d4
parent 2636 0b7b05c44670719e10187c2966a0c61ad74a2423
permissions -rw-r--r--
Bug 576339 - add test-master02 to mozilla/ p=lsblakk r=bhearsum

from copy import deepcopy

import config
reload(config)
from config import *

ACTIVE_BRANCHES = BRANCHES.keys()
ACTIVE_PLATFORMS = {'linux64': None, 'win64': None, 'macosx64': None,}
for p in ACTIVE_PLATFORMS.keys():
    ACTIVE_PLATFORMS[p] = deepcopy(PLATFORMS[p])

execfile("master-common.cfg")

c['buildbotURL'] = "http://test-master01.build.mozilla.org:8012"
c['slavePortnum'] = 9012

from buildbot.status.html import WebStatus
c['status'].append(WebStatus(http_port=8012, allowForce=True))

## Sources
##
from buildbot.changes.pb import PBChangeSource
c['change_source'] = [PBChangeSource()]

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

for branch in ACTIVE_BRANCHES:
    objects = generateTalosBranchObjects(branch, BRANCHES[branch],
                                         ACTIVE_PLATFORMS, SUITES,
                                         BRANCH_UNITTEST_VARS['platforms'])
    c['builders'].extend(objects['builders'])
    c['schedulers'].extend(objects['schedulers'])
    c['status'].extend(objects['status'])