Deploy resource and capistrano


#1

Can app deploys via the deploy resource be setup such that capistrano
deploys can work there also ?


#2

They both symlink the current directory so I’d imagine the most recent one
ran would take it over, no?

I’ve used the deploy resource to set up the initial directory then deployed
changes afterwards with Capistrano

On Sun, Mar 17, 2013 at 12:16 PM, Sam Cooper sam@chgworks.com wrote:

Can app deploys via the deploy resource be setup such that capistrano
deploys can work there also ?


#3

Hi Dan,

do you use Vagrant?
Maybe you can share an example of this setup, it would be helpful for me
too. I am still a bit confused how a development setup can be used with a
Virtual box that mirrors the production environment.
I think some sample Vagrant setup, including some short capfile would be
very intersting to me.

Thanks!

Patrick

On Tue, Apr 2, 2013 at 10:30 PM, Dan Berman n@loudbase.com wrote:

They both symlink the current directory so I’d imagine the most recent one
ran would take it over, no?

I’ve used the deploy resource to set up the initial directory then
deployed changes afterwards with Capistrano

On Sun, Mar 17, 2013 at 12:16 PM, Sam Cooper sam@chgworks.com wrote:

Can app deploys via the deploy resource be setup such that capistrano
deploys can work there also ?


#4

What we do is duplicate a lot of the deploy:setup task from Capistrano in Chef (creation of directories), and add a little more in (creation of configuration files for the given application/environment) and then do a manual HOSTS="new-server.example.com" cap deploy after that completes.

I’ve been trying to figure out if it would be better to also duplicate the entire deployment process from Capistrano to get a fresh copy of the app deployed to the new server, but something about it just feels wrong, so we’ve stuck with the manual process.

…spike

On Apr 2, 2013, at 4:30 PM, Dan Berman wrote:

They both symlink the current directory so I’d imagine the most recent one ran would take it over, no?

I’ve used the deploy resource to set up the initial directory then deployed changes afterwards with Capistrano

On Sun, Mar 17, 2013 at 12:16 PM, Sam Cooper sam@chgworks.com wrote:
Can app deploys via the deploy resource be setup such that capistrano deploys can work there also ?