ContinuousIntegration
Rule: Source code in the repository must always build and pass our tests.
- http://en.wikipedia.org/wiki/Continuous_Integration
- http://www.martinfowler.com/articles/continuousIntegration.html
- http://www.extremeprogramming.org/rules/integrateoften.html
- http://cruisecontrol.sourceforge.net/ (Integration Sever)
- http://www.jamesshore.com/Blog/Continuous-Integration-is-an-Attitude.html (he says you don't need an integration server except in certain situations - since we have lots of legacy code at AboutUs, this might be one of those situations)
Question: Do we actually have a build with MediaWiki or Rails?
Steps:
- SVN status- no ?s or Ms
- Run all our tests on local; if any fail, exit.
- Create tag for date
- ssh to dev and deploy
- Run all our tests on dev; if any fail, exit.
- ssh to squals and deploy
- Run all our tests on live; if any fail, panic.