Difference between revisions of "Buildbot and EC2/0.1"

From CDOT Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
= Release 0.1 =
 
= Release 0.1 =
 
+
[[Buildbot_and_EC2| Buildbot and EC2 Project Page]]
 
== Goals ==
 
== Goals ==
 
* Add in a new build step to Buildbot
 
* Add in a new build step to Buildbot
Line 24: Line 24:
 
</pre>
 
</pre>
  
----
+
== Tasks ==
 +
 
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 17%;">Task</th>
 +
    <th style="width: 35%>Details</th>
 +
    <th style="width: 5%;">Priority</th>
 +
    <th style="width: 10%;">Contributors</th>
 +
    <th style="width: 15%;">Status</th>
 +
    <th style="width: 4%;">Target</th>
 +
    <th style="width: 4%;">Completed</th>
 +
    <th style="width: 10%;">Link(s)</th>
 +
 
 +
    <tr>
 +
        <td>Define new build step</td>
 +
        <td>Add a new build step to the build master config file. The build step will be in an external file and imported into the build master config file.</td>
 +
        <td style="background-color: red; text-align: center; font-weight: bold; font-size: bigger">High</td>
 +
        <td>[[User:Awdelyea|Adam Delyea]]</td>
 +
        <td style="background-color: green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td>&nbsp;</td>
 +
        <td>&nbsp;</td>
 +
        <td>[http://buildbot.net/repos/release/docs/buildbot.html#Writing-New-BuildSteps Writing New Build Steps]</td>
 +
    </tr>
 +
 
 +
    <tr>
 +
        <td>Connect To EC2 using Python</td>
 +
        <td>Utilize the EC2 python library to connect to an account on the EC2 network. Once connected, display some information about the users account to prove it's actually connecting.</td>
 +
        <td style="background-color: red; text-align: center; font-weight: bold; font-size: bigger">High</td>
 +
        <td>[[User:Awdelyea|Adam Delyea]]</td>
 +
        <td style="background-color: green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td>&nbsp;</td>
 +
        <td>&nbsp;</td>
 +
        <td><ul><li>[http://code.google.com/p/boto/ Boto Amazon Web Services Library in Python]</li><li>[http://jimmyg.org/2007/09/01/amazon-ec2-for-people-who-prefer-debian-and-python-over-fedora-and-java/ EC2 hearts Python]</li></ul></td>
 +
    </tr>
 +
</table>

Latest revision as of 12:58, 1 February 2008

Release 0.1

Buildbot and EC2 Project Page

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")

Tasks

Task Details Priority Contributors Status Target Completed Link(s)
Define new build step Add a new build step to the build master config file. The build step will be in an external file and imported into the build master config file. High Adam Delyea Done     Writing New Build Steps
Connect To EC2 using Python Utilize the EC2 python library to connect to an account on the EC2 network. Once connected, display some information about the users account to prove it's actually connecting. High Adam Delyea Done