Difference between revisions of "Buildbot and EC2"

From CDOT Wiki
Jump to: navigation, search
(Contributions)
(Contributions)
Line 204: Line 204:
  
 
<br/>
 
<br/>
<div style="background-color: gold; font-weight: bold;">*** 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></div>
+
<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>
  
 
== Project Resources ==
 
== Project Resources ==

Revision as of 13:07, 14 January 2008

Project Name

Buildbot and EC2

Project Description

The BuildBot is software for automatically building and testing other software. EC2 is Amazon's "Elastic Compute Cloud", a service that lets you run Virtual Machines on Amazon's computing grid using a web API. It would be awesome if BuildBot had an EC2 module, and could spawn Virtual Machines on-demand to perform tasks. Conveniently, BuildBot is written in Python, and there's a Python library for interfacing with EC2.

References: Amazon EC2 Basics For Python Programmers

Project Leader(s)

Adam Delyea

Project Contributor(s)

Dominic Baranski

Project Details

Release 0.1

   Buildbot and EC2/0.1

Release 0.2

   Buildbot and EC2/0.2

Release 0.3

   Buildbot and EC2/0.3

Release 0.4

   Buildbot and EC2/0.4

Tasks

Task Details Priority Contributors Status Target Completed Link(s)
Try Server Start a Try Server on a Linux machine. High Adam Delyea In Progress 14/01/08   Mozilla Try Server
EC2 on Try Server Make the Try Server use EC2 to spawn build slaves. High Adam Delyea In Progress 14/01/08  
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. Done Adam Delyea       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. Done Adam Delyea      
Start new instances Allow Buildbot to spawn an instance on demand. This could possibly be a function called right before the build slave list is populated, and would pass back an array of build slaves. Done Adam Delyea      
Add new instances to build slave list Allow newly created EC2 instances to be added to the build slave list.

After looking more closely at how the buildslave is created, this goal doesn't make any sense, since this is not really how the buildslave list works.

Cut Adam Delyea      
Start a new build on an EC2 instance Allow Buildbot to successfully start a build using a build slave on an EC2 instance Done Adam Delyea      
Load a script on startup in Linux Make it possible to have a script load when Linux starts Done Adam Delyea      
Testing People needed to download the revisions and test them to make sure it works in different environments. Note, this will require you to have your own EC2 account. Low NEEDED! ***
Dominic Baranski
     
Different Builds Need different projects to try and build, to make sure it works to build projects other than Mozilla Low NEEDED! ***
Dominic Baranski
     
Build Mozilla using an EC2 Instance Allow Buildbot to successfully build mozilla using a build slave on an EC2 instance Done Adam Delyea      
Complete Documentation Done...ish Adam Delyea      
Generic EC2 instance for Buildbot Slaves Making a generic EC2 Instance for Buildbot Done Adam Delyea      
Startup Scripts for making your own EC2 instances Done Adam Delyea      

Contributions


 
*** 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>
 

Project Resources

Project News

For a less formal, and more up-to-date view on whats happening, see the 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-12-14: Release v0.4 Defined. In the process of getting accounts and machines for Try Server Farm.