buildbot

Buildbot configurations
git clone git://git.danielmoch.com/buildbot.git
Log | Files | Refs

commit 3ad1c24978b4862221d48a91edb7df092a0c7925
parent cd842af07b4ea3439109a51e6233ab1ed5ce5aa4
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun,  2 Dec 2018 20:09:50 -0500

Remove remote worker

Diffstat:
M.gitignore | 1+
Dworker/buildbot.tac | 43-------------------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -4,3 +4,4 @@ server/*/ *.pid twistd.* *.sqlite +secrets/ diff --git a/worker/buildbot.tac b/worker/buildbot.tac @@ -1,43 +0,0 @@ - -import os - -from buildbot_worker.bot import Worker -from buildbot.plugins import util -from twisted.application import service - -basedir = '.' -rotateLength = 10000000 -maxRotatedFiles = 10 - -# if this is a relocatable tac file, get the directory containing the TAC -if basedir == '.': - import os.path - basedir = os.path.abspath(os.path.dirname(__file__)) - -# note: this line is matched against to check that this is a worker -# directory; do not edit it. -application = service.Application('buildbot-worker') - -from twisted.python.logfile import LogFile -from twisted.python.log import ILogObserver, FileLogObserver -logfile = LogFile.fromFullPath( - os.path.join(basedir, "twistd.log"), rotateLength=rotateLength, - maxRotatedFiles=maxRotatedFiles) -application.setComponent(ILogObserver, FileLogObserver(logfile).emit) - -buildmaster_host = 'localhost' -port = 9989 -workername = 'dotcom-worker' -passwd = util.Secret('worker-pass') -keepalive = 600 -umask = None -maxdelay = 300 -numcpus = None -allow_shutdown = None -maxretries = None - -s = Worker(buildmaster_host, port, workername, passwd, basedir, - keepalive, umask=umask, maxdelay=maxdelay, - numcpus=numcpus, allow_shutdown=allow_shutdown, - maxRetries=maxretries) -s.setServiceParent(application)