Re: rails app deployment


Chronological Thread 
  • From: Ezra Zygmuntowicz <ez@engineyard.com>
  • To: chef@lists.opscode.com
  • Subject: Re: rails app deployment
  • Date: Fri, 17 Apr 2009 10:05:57 -0700


I've written chef deploy resources that handle this. The only thing not implemented yet is rollback but that will be done soon.

http://github.com/ezmobius/chef-deploy/tree


Cheers-
-Ezra

On Apr 17, 2009, at 9:18 AM, Ian Kallen wrote:

Sorry if this is an FAQ I've overlooked. I'm trying to get my head around best practices wrt to rails deployment. To manage deployment/ rollback of a rails app to a set of apache/passenger instances, would you create a recipe that invokes capistrano tasks, create cookbook that gems up the app, distributes and installs (how would rollbacks be handled?). I see the rails cookbook on github but it's not clear what the over all workflow is - if the rails code is housed in git, how do you specify "deploy this new revision" or "rollback to that revision"? How are db migrations handled?
thanks!
-Ian

--
Ian Kallen
blog: http://www.arachna.com/roller/spidaman
tweetz: http://twitter.com/spidaman
vox: 415.505.5208





Archive powered by MHonArc 2.6.16.

§