thunderbird/buildbot.tac
author Alice Nodelman <alice@mozilla.com>
Thu, 10 Sep 2009 09:14:36 -0700
changeset 1489 e095d2e1a3447c87a62c1f18d88615ae9483b8b1
parent 1209 9dc1d0ca79e64e6e346e6afaabc6a121317cf737
child 2860 fa8af2eb6f17ef8f2ee42a23397d7b09e3d23656
permissions -rw-r--r--
bug 514070 (max dirty profile testing) patch for production/try p=anodelman, r=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/buildbot-configs/thunderbird'
configfile = r'master.cfg'

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

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