Changes

Jump to: navigation, search

Buildbot and EC2

3,355 bytes added, 11:23, 26 March 2008
Releases
Implements [[Sample Project| iSampleProject]]
 
== Project Name ==
== Project Contributor(s) ==
[[User:dominic|Dominic Baranski]]
== Project Details ==[[User:Armenzg|Armen Zambrano]]
=== Release 0[[User:david.1 ==='''Goals:'''* Add in a new build step to Buildbot* Allow Buildbot to connect with Amazon's EC2 servicehumphrey|Dave Humphrey]]
== Releases ==
Basically, You can see more information about individual releases by following the first thing that needs to be done is add a new step to Buildbot's build process. Once a new step has been added, the next step is to make this new build step access my EC2 accountlinks below.
After I can actually access my * [[Buildbot and EC2 account through Buildbot, then a possible next step would be to make Buildbot check to see if I have any open Virtual Instances running already (no point in starting another instance if ones running already)/0.1]]
One thing that may need to be kept in mind is that Amazon charges 10 cents per hour, or part of an hour, per instance. So, each time you start a new instance, it costs 10 cents. The best way I can think of doing this is make each instance you start, last for at least an hour, so that if you start another build in 10 mins, you can continue to use the same instance instead of starting a new one* [[Buildbot and EC2/0. 2]]
For this, * [[Buildbot and EC2/0.3]] * [[Buildbot and EC2/0.4]] * [[Buildbot and EC2/0.5]] * [[Buildbot and EC2/0.6 | Buildbot would need to run a service on the OS to constantly check to see if an instance is approaching the 1 hour mark, and not running any build slavesEC2/0. Not quite sure how I'd do that, but it's something to keep in mind6/0.7]] === * [[Buildbot and Testing|Tangential Testing on Buildbot Release / 0.2 ===8]]=== Release * [[Buildbot and EC2/0.3 ===9]]
== Tasks ==
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=2 3 cellspacing=0> <th style="width: 1517%;"><br />'''''Task'''''<br /><br /></th> <th style=" width: 35%;background-color"><br />'''''Details'''''<br /><br /></th> <th style=" width:grey5%;">Task<br />'''''Priority'''''<br /><br /></th> <th style="width: 10%; background-color"><br />'''''Contributors'''''<br /><br /></th> <th style=" width: 15%;"><br />'''''Status'''''<br /><br /></th> <th style=" width: 4%;"><br />'''''Target'''''<br /><br /></th> <th style=" width:grey4%;">Details<br />'''''Completed'''''<br /><br /></th> <th style="width: 10%; "><br />'''''Link'''''(s)<br /><br /></th>  <tr> <td>0.1 Release</td> <td>Covering the basics</td> <td style="background-color:greyred; text-align: center; font-weight: bold; font-size: bigger">High</td> <td>[[User:Awdelyea|Adam Delyea]]</td> <td style="background-color:whitegreen; text-align: center; font-weight: bold; font-size: bigger">PriorityDone</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </thtr>  <th tr> <td>0.2 Release</td> <td></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="widthbackground-color: green; text-align: center; font-weight: bold; font-size: 10%bigger">Done</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp; </td> </tr>  <tr> <td>0.3 Release</td> <td></td> <td style="background-color:greyred; text-align: center; font-weight: bold; font-size: bigger">High</td> <td>[[User:Awdelyea|Adam Delyea]]</td> <td style="background-color:whitegreen; text-align: center; font-weight: bold; font-size: bigger">ContributorsDone</td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </thtr>  <th tr> <td>0.4 Release</td> <td></td> <td style="widthbackground-color: red; text-align: center; font-weight: 10%bold; font-size: bigger">High</td> <td>[[User:Awdelyea|Adam Delyea]]</td> <td style="background-color:greygreen; text-align: center; font-weight: bold; font-colorsize:whitebigger">StatusDone</td> <td>14/1/08</td> <td>14/1/08</td> <td>&nbsp;</td> </thtr>  <th tr> <td>0.5 Release</td> <td></td> <td style="widthbackground-color: red; text-align: center; font-weight: 10%bold; font-size: bigger">High</td> <td>[[User:Awdelyea|Adam Delyea]]</td> <td style="background-color:greySkyBlue; text-align: center; font-weight: bold; font-colorsize:whitebigger">Link(s)In Progress</td> <td>3/1/08</td> <td>&nbsp;</td> <td>&nbsp;</td> </thtr>
<tr>
<td>Define new build stepTesting</td> <td>Add a new build step People needed to download the build master config filerevisions and test them to make sure it works in different environments. The build step Note, this will be in an external file and imported into the build master config filerequire you to have your own EC2 account.</td> <td style="background-color: redgrey; text-align: center; font-weight: bold; font-size: bigger">HighExpired</td> <tdstyle="background-color: gold; text-align: center; font-weight: bold; font-size: bigger">Adam DelyeaNEEDED! ***<br />[http://zenit.senecac.on.ca/wiki/index.php/User:dominic Dominic Baranski]</td> <tdstyle="background-color: grey; text-align: center; font-weight: bold; font-size: bigger">In Progress, On TrackExpired</td> <td>[http:&nbsp;</td> <td>&nbsp;</buildbot.net/repos/release/docs/buildbot.html#Writing-New-BuildSteps Writing New Build Steps]td> <td>&nbsp;</td>
</tr>
<tr>
<td>Connect To EC2 using Python<del>Different Builds</del></td> <td>Utilize the EC2 python library <del>Need different projects to try and build, to connect make sure it works to an account on build projects other than Mozilla</del><br />This is no longer a priority. Building with Mozilla is the focus of this project. The EC2 network. Once connected, display some information about the users account functionality can be extracted and used to prove it's actually connectingbuild any program / system.</td> <td style="background-color: redgrey; text-align: center; font-weight: bold; font-size: bigger">HighExpired</td> <tdstyle="background-color: gold; text-align: center; font-weight: bold; font-size: bigger">Adam DelyeaNEEDED! ***<br />[http://zenit.senecac.on.ca/wiki/index.php/User:dominic Dominic Baranski]</td> <tdstyle="background-color: grey; text-align: center; font-weight: bold; font-size: bigger">In Progress, On TrackExpired</td> <td>&nbsp;<ul/td> <litd>[http:&nbsp;</td> <td>&nbsp;</code.google.comtd> </ptr>  <tr> <td>Complete Documentation</bototd> <td></ Boto Amazon Web Services Library in Python]td> <td style="background-color: orange; text-align: center; font-weight: bold; font-size: bigger">Medium</litd> <litd>[http[User:Awdelyea|Adam Delyea]]<//jimmyg.org/2007/09/01/amazontd> <td style="background-ec2color: green; text-foralign: center; font-peopleweight: bold; font-who-prefer-debian-and-python-over-fedora-and-javasize: bigger">In Progress</ Amazon-ec2-for-people-who-prefer-debian-and-python-over-fedora-and-java]td> <td>&nbsp;</litd> <td>&nbsp;</ultd> <td>&nbsp;</td>
</tr>
</table>
 
== Contributions ==
 
<br/>
<div style="background-color: gold; text-align: center;font-weight: bold;">&nbsp;<br />*** Would you like to contribute? Well here's an excellent opportunity for you to do just that! Feel free to e-mail me at <awdelyea@gmail.com><br />&nbsp;</div><br/>
== Project Resources ==
== Project News ==
 
For a less formal, and more up-to-date view on whats happening, see the [http://www.awdelyea.wordpress.com BLOG].
2007-09-17: Project claimed!
2007-10-11: Found a python EC2 library that has all of the functions I will need for interacting with EC2. Just need to write a custom build step to run these library functions.
 
2007-10-12: Release v0.1 is complete and available for download.
 
2007-10-12: Release v0.2 loosely defined. More detail to follow.
 
2007-11-17: Release v0.2 is complete and available for download: can start an instance and start an EC2BuildSlave
 
2007-11-21: Release v0.2.1 is complete and available for download: now to include variable EC2 users, and instances, and DNS'
 
2007-12-13: Release v0.3 is complete and available for download: easier to install and setup, can use to build projects now
 
2008-01-14: Release v0.4 Defined. In the process of getting accounts and machines for Try Server Farm.
 
'''''2008-02-01: Task List and Release News is being moved to individual Release Pages. See individual Releases for more information.'''''
1
edit

Navigation menu