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...
  DB_HELP = '\n The --db string is evaluated to build the DB ...
  masterTAC = '\nimport os\n\nfrom twisted.application import se...
  slaveTAC = '\nimport os\n\nfrom twisted.application import ser...
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\
...

DB_HELP

Value:
'''
    The --db string is evaluated to build the DB object, which specifi\
es
    which database the buildmaster should use to hold scheduler state \
and
    status information. The default (which creates an SQLite database \
in
    BASEDIR/state.sqlite) is equivalent to:
...

masterTAC

Value:
'''
import os

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

basedir = r\'%(basedir)s\'
rotateLength = %(log-size)s
...

slaveTAC

Value:
'''
import os

from twisted.application import service
from buildbot.slave.bot import BuildSlave

basedir = r\'%(basedir)s\'
rotateLength = %(log-size)s
...