This is the master-side representative for a remote buildbot slave.
There is exactly one for each slave described in the config file (the
c['slaves'] list). When buildbots connect in (.attach), they get a
reference to this instance. The BotMaster object is stashed as the
.botmaster attribute. The BotMaster is also our '.parent' Service.
I represent a build slave -- a remote machine capable of running
builds. I am instantiated by the configuration file, and can be
subclassed to add extra functionality.
|
__init__(self,
name,
password,
max_builds=None,
notify_on_missing=[ ] ,
missing_timeout=3600,
properties={ } ,
locks=None,
keepalive_interval=3600) |
source code
|
|
|
|
|
updateLocks(self)
Convert the LockAccess objects in self.locks into
real lock objects, while also maintaining the subscriptions to lock
releases. |
source code
|
|
|
locksAvailable(self)
I am called to see if all the locks I depend on are available, in
which I return True, otherwise I return False |
source code
|
|
|
|
|
releaseLocks(self)
I am called to release any locks after a build has finished |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
updateSlaveStatus(self,
buildStarted=None,
buildFinished=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
buildFinished(self,
sb)
This is called when a build on this slave is finished. |
source code
|
|
|
|
|
|
|
maybeShutdown(self)
Shut down this slave if it has been asked to shut down gracefully,
and has no active builders. |
source code
|
|
|
|
Inherited from config.ReconfigurableServiceMixin :
__providedBy__
Inherited from twisted.spread.pb.Avatar :
perspectiveMessageReceived
Inherited from twisted.application.service.MultiService :
__iter__ ,
addService ,
getServiceNamed ,
privilegedStartService ,
removeService
Inherited from twisted.application.service.Service :
__getstate__ ,
disownServiceParent ,
setName
|