Trees | Indices | Help |
|
---|
|
config.ReconfigurableServiceMixin --+ | twisted.spread.pb.Avatar --+ | twisted.application.service.Service --+ | | | twisted.application.service.MultiService --+ | AbstractBuildSlave --+ | AbstractLatentBuildSlave
A build slave that will start up a slave instance when needed.
To use, subclass and implement start_instance and stop_instance.
See ec2buildslave.py for a concrete example. Also see the stub example in test/test_slaves.py.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
substantiated = False
|
|
substantiation_deferred = None hash(x) |
|
substantiation_build = None hash(x) |
|
insubstantiating = False
|
|
build_wait_timer = None hash(x) |
|
__implemented__ = <implementedBy buildbot.buildslave.AbstractL
|
|
Inherited from Inherited from |
Method Details |
|
This is called when the slave connects.
|
|
I am called when a build is requested to see if this buildslave can start a build. This function can be used to limit overall concurrency on the buildslave. Note for subclassers: if a slave can become willing to start a build
without any action on that slave (for example, by a resource in use on
another slave becoming available), then you must arrange for
|
This is called when a build on this slave is finished.
|
|
Forcibly disconnect the slave. This severs the TCP connection and returns a Deferred that will fire (with None) when the connection is probably gone. If the slave is still alive, they will probably try to reconnect again in a moment. This is called in two circumstances. The first is when a slave is removed from the config file. In this case, when they try to reconnect, they will be rejected as an unknown slave. The second is when we wind up with two connections for the same slave, in which case we disconnect the older connection.
|
|
Called to add or remove builders after the slave has connected. Also called after botmaster's builders are initially set.
|
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.
|
Class Variable Details |
__implemented__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:42 2012 | http://epydoc.sourceforge.net |