calendar/buildbot.tac
author Ben Hearsum <bhearsum@mozilla.com>
Tue, 01 Nov 2011 14:27:18 -0400
changeset 4971 6fa12d51d6987dab53892943726bf1bce7ebea48
parent 3850 fc8ac618cc5d10bdb3c0ee2e4d0593cae28305e4
permissions -rw-r--r--
bug 696161: create simplified talos buildbot for a-team usage. r=rail/catlee


from twisted.application import service
from buildbot.master import BuildMaster

from twisted.python.log import ILogObserver, FileLogObserver
from twisted.python.logfile import DailyLogFile

basedir = r'/buildbot/calendar/buildbot-configs/calendar'
configfile = r'master.cfg'

logfile = DailyLogFile("twistd.log", "logs")
application = service.Application('buildmaster')

application.setComponent(ILogObserver, FileLogObserver(logfile).emit)
BuildMaster(basedir, configfile).setServiceParent(application)