Package buildbot :: Package scripts :: Module runner
[frames] | no frames]

Module runner

source code

Classes
  OptionsWithOptionsFile
  MakerBase
  Maker
  UpgradeMasterOptions
  MasterOptions
  SlaveOptions
  StartOptions
  StopOptions
  ReconfigOptions
  RestartOptions
  DebugClientOptions
  StatusClientOptions
  SendChangeOptions
  ForceOptions
  TryOptions
  TryServerOptions
  CheckConfigOptions
  Options
Functions
dict
loadOptionsFile(filename='options', here=None, home=None)
Find the .buildbot/FILENAME file.
source code
 
upgradeMaster(config) source code
 
createMaster(config) source code
 
createSlave(config) source code
 
stop(config, signame='TERM', wait=False) source code
 
restart(config) source code
 
debugclient(config) source code
 
statuslog(config) source code
 
statusgui(config) source code
 
sendchange(config, runReactor=False)
Send a single change to the buildmaster's PBChangeSource.
source code
 
doTry(config) source code
 
doTryServer(config) source code
 
doCheckConfig(config) source code
 
run() source code
Variables
  makefile_sample = '# -*- makefile -*-\n\n# This is a simple ma...
  masterTAC = '\nfrom twisted.application import service\nfrom b...
  slaveTAC = '\nfrom twisted.application import service\nfrom bu...
  __package__ = 'buildbot.scripts'
Function Details

loadOptionsFile(filename='options', here=None, home=None)

source code 

Find the .buildbot/FILENAME file. Crawl from the current directory up towards the root, and also look in ~/.buildbot . The first directory that's owned by the user and has the file we're looking for wins. Windows skips the owned-by-user test.

Returns: dict
a dictionary of names defined in the options file. If no options file was found, return an empty dict.

sendchange(config, runReactor=False)

source code 

Send a single change to the buildmaster's PBChangeSource. The connection will be drpoped as soon as the Change has been sent.


Variables Details

makefile_sample

Value:
'''# -*- makefile -*-

# This is a simple makefile which lives in a buildmaster/buildslave
# directory (next to the buildbot.tac file). It allows you to start/st\
op the
# master or slave by doing \'make start\' or \'make stop\'.

# The \'reconfig\' target will tell a buildmaster to reload its config\
...

masterTAC

Value:
'''
from twisted.application import service
from buildbot.master import BuildMaster

basedir = r\'%(basedir)s\'
configfile = r\'%(config)s\'
rotateLength = %(log-size)s
maxRotatedFiles = %(log-count)s
...

slaveTAC

Value:
'''
from twisted.application import service
from buildbot.slave.bot import BuildSlave

basedir = r\'%(basedir)s\'
buildmaster_host = \'%(host)s\'
port = %(port)d
slavename = \'%(name)s\'
...