Posted 2 years ago
by albertoperdomo
Continuous integration and deployment with Integrity
If you are into testing and develop with Ruby on Rails you are probably using a continuous integration server like cruisecontrol.rb, hudson or integrity. We are in the process of migrating from cruisecontrol.rb to integrity, mainly because cruisecontrol.rb consumes a lot of resources when running many builders. Integrity is very slim and lightweight.
We have been using a plugin for cruisecontrol.rb called ccrb_cap_deployer to deploy our projects to the staging servers on each successful build. This technique is usually referred as continuous deployment.
This is our sample rake task for integration located at lib/tasks/ci.rake. All you have to do is invoke “rake ci:run” from integrity.

Notes