Package buildbot :: Module ec2buildslave :: Class EC2LatentBuildSlave
[frames] | no frames]

Class EC2LatentBuildSlave

source code

                twisted.spread.pb.Avatar --+        
                                           |        
 twisted.application.service.Service --+   |        
                                       |   |        
twisted.application.service.MultiService --+        
                                           |        
               buildslave.AbstractBuildSlave --+    
                                               |    
             buildslave.AbstractLatentBuildSlave --+
                                                   |
                                                  EC2LatentBuildSlave

Instance Methods
 
__init__(self, name, password, instance_type, ami=None, valid_ami_owners=None, valid_ami_location_regex=None, elastic_ip=None, identifier=None, secret_identifier=None, aws_id_file_path=None, user_data=None, keypair_name='latent_buildbot_slave', security_name='latent_buildbot_slave', max_builds=None, notify_on_missing=[], missing_timeout=60*20, build_wait_timeout=60*10, properties={}, locks=None) source code
 
get_image(self) source code
 
dns(self) source code
 
start_instance(self) source code
 
stop_instance(self, fast=False) source code

Inherited from buildslave.AbstractLatentBuildSlave: attached, buildFinished, buildStarted, detached, disconnect, insubstantiate, sendBuilderList, stopService, substantiate, updateSlave

Inherited from buildslave.AbstractBuildSlave: __repr__, acquireLocks, addSlaveBuilder, canStartBuild, isConnected, locksAvailable, messageReceivedFromSlave, perspective_keepalive, recordConnectTime, releaseLocks, removeSlaveBuilder, setBotmaster, shutdown, startMissingTimer, stopMissingTimer, update, updateLocks, updateSlaveStatus

Inherited from twisted.spread.pb.Avatar: __providedBy__, perspectiveMessageReceived

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, startService

Inherited from twisted.application.service.Service: __getstate__, disownServiceParent, setName, setServiceParent

Class Variables
  image = None
hash(x)
  instance = None
hash(x)

Inherited from buildslave.AbstractLatentBuildSlave: __implemented__, __provides__, build_wait_timer, substantiated, substantiation_deferred

Inherited from twisted.application.service.Service: name, parent, running

Method Details

__init__(self, name, password, instance_type, ami=None, valid_ami_owners=None, valid_ami_location_regex=None, elastic_ip=None, identifier=None, secret_identifier=None, aws_id_file_path=None, user_data=None, keypair_name='latent_buildbot_slave', security_name='latent_buildbot_slave', max_builds=None, notify_on_missing=[], missing_timeout=60*20, build_wait_timeout=60*10, properties={}, locks=None)
(Constructor)

source code 
Parameters:
  • name - botname this machine will supply when it connects
  • password - password this machine will supply when it connects
  • max_builds - maximum number of simultaneous builds that will be run concurrently on this buildslave (the default is None for no limit)
  • properties - properties that will be applied to builds run on this slave
  • locks - A list of locks that must be acquired before this slave can be used
Overrides: twisted.application.service.MultiService.__init__

start_instance(self)

source code 
Overrides: buildslave.AbstractLatentBuildSlave.start_instance

stop_instance(self, fast=False)

source code 
Overrides: buildslave.AbstractLatentBuildSlave.stop_instance