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

Class EC2LatentBuildSlave

source code

       config.ReconfigurableServiceMixin --+        
                                           |        
                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, region=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, build) source code
 
stop_instance(self, fast=False) source code

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

Inherited from buildslave.AbstractBuildSlave: __repr__, acquireLocks, addSlaveBuilder, canStartBuild, doKeepalive, findNewSlaveInstance, getPerspective, isConnected, locksAvailable, maybeShutdown, messageReceivedFromSlave, perspective_keepalive, perspective_shutdown, reconfigService, releaseLocks, removeSlaveBuilder, shutdown, startKeepaliveTimer, startMissingTimer, startService, stopKeepaliveTimer, stopMissingTimer, subscribeToDetach, updateLocks, updateSlaveStatus

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, setServiceParent

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

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

Inherited from buildslave.AbstractBuildSlave: keepalive_interval, keepalive_timer, reconfig_priority

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, region=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, build)

source code 
Overrides: buildslave.AbstractLatentBuildSlave.start_instance

stop_instance(self, fast=False)

source code 
Overrides: buildslave.AbstractLatentBuildSlave.stop_instance