mozilla2-staging/master1.cfg
author Benjamin Smedberg <benjamin@smedbergs.us>
Fri, 28 Aug 2009 16:37:27 -0700
changeset 1479 8674359326dc19dacd191c38f32e3a5612b36636
parent 1463 075bff5b85679dba88a17ab8b5ccbf86286d0c96
child 1914 596f22b540b4c33cff4ba0319f1006da7d8daf7d
permissions -rw-r--r--
Break symlinks between mozilla-central and older mozilla-1.9.* trees so that we can perform compiler upgrades on -central. The project branches (places/electrolysis/tracemonkey) keep their symlinks because they should continue to track -central.

import config
reload(config)
from config import SLAVES, MAC_MINIS, XSERVES

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

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

execfile("master-main.cfg")

c['slavePortnum'] = 9010

from buildbot.status.html import WebStatus
c['status'].append(WebStatus(
    http_port=8010,
    allowForce=True
))
c['buildbotURL'] = 'http://staging-master.build.mozilla.org:8010/'

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)

####### Buildbot Database
import buildbotcustom.status.db.status
reload(buildbotcustom.status.db.status)
from buildbotcustom.status.db.status import DBStatus

# passwords.py should be a locally available file with various passwords
# defined
import passwords
reload(passwords)
from passwords import *
c['status'].append(DBStatus("mysql://buildbot_setup:%s@tm-stage01-master01.mozilla.org/buildbot_staging" % BBDB_PASSWORD, 'staging-master1'))