Deployment Script Spring Cleaning – GitHub
If you are a Git user and deploying using Capistrano, you might be interested in this article from GitHub:
Deployment Script Spring Cleaning
They have a slow deployment problem which was taking upwards of 15 minutes. From the post, the main problem seems to be the cloning of repositories at each deploy.
The solution: setup the server to clone
once and fetch
on each deploy instead! That and other improvements took the deploy process down to 14 seconds. Not bad at all. Here’s the code that they use for deploys now:
The article also has a quick comparison of various deployment software, such as Vlad, Rush, etc…
On a similar note, GitHub has done another post about CI as well:
http://github.com/blog/471-continuous-integration-spring-cleaning