Self hosted CI in an evening
I’m going to be outsourcing some work to oDesk which means for the first time contention on the source code repository.
Last night I set up a continuous integration solution so that the other developers and I know what’s going on with the build and so we know when we break one another’s code/tests.
Basic CruiseControl.rb fronted by Apache building on Ubuntu.
Here’s how I did it:
Our code is already hosted on github.com, it is ace.
A Linode 360 VPS from Linode for USD19.95/mo.
Sign up to running server < 5min. Ubuntu 8.04 LTS.
Execute some commands:
Configure Apache:
Download the very, truly, excellent CCMenu for notification.
This is just a rough post, if you have questions on the specifics please let me know in the comments.
It really helped that I'd written down most of these steps when I first installed our production environment so I was able to match that pretty much blow for blow.
I had to install a few testing gems that we're necessary in production to get the builds working.
Next step, install metrics_fu and have cc.rb do something useful with it all.