talos-staging-pool/master2.cfg
author 'John Ford <jhford@mozilla.com>'
Thu, 21 Oct 2010 14:58:09 -0700
changeset 3164 c5f1d20795a5945dd1d1cecedc56993c97e98c61
parent 2636 0b7b05c44670719e10187c2966a0c61ad74a2423
permissions -rw-r--r--
bug 602120 - new master for n900s r=aki p=jhford

from copy import deepcopy

import config
reload(config)
from config import *

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

execfile("master-common.cfg")

c['buildbotURL'] = "http://talos-staging-master02.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'])