Difference between revisions of "Buildbot and EC2/0.1"

From CDOT Wiki
Jump to: navigation, search
 
Line 10: Line 10:
  
 
    Note: You will need to install the boto library located [http://boto.googlecode.com/files/boto-0.9a.tar.gz here].
 
    Note: You will need to install the boto library located [http://boto.googlecode.com/files/boto-0.9a.tar.gz here].
 
  
 
== About ==
 
== About ==

Revision as of 13:51, 14 January 2008

Release 0.1

Goals

  • Add in a new build step to Buildbot
  • Allow Buildbot to connect with Amazon's EC2 service

Downloads

    EC2_build_step_nokeys.py

    Note: You will need to install the boto library located here.

About

Basically, this first version attempts to connect to an EC2 account, and then display the connection information to show that it has connected.

It uses a library called "boto", and this library is used to connect to all of Amazon's Web Services

To use this in a Buildbot configuration file, simply call the connect_to_ec2() function, which takes in as paramaters, an Amazon id key, and an Amazon secret key.

Example:

    connection = connect_to_ec2("73ghf9h38fh", "75vo87rVO*&V%O7o75v7i%i75I&5li7%i75")