I updated to Cap 3 and it appears that set :deploy_via, :copy
is no longer supported. In the release annoucement there is a link to a video for replicating the copy strategy which currently returns a 404.
I used the :copy
strategy because the server did not have access to git
or access to the repository because it was behind a firewall.
What is the best way to replicate this functionality with v3?
I ran into the same issue and posted a similar question on the capistrano google group.
See here: https://groups.google.com/forum/#!topic/capistrano/BRa4Vj1_mEo
Short answer: Write your own rake task.
The capistrano maintainer provided some example code, via a blog post on his website, that can be found here: http://lee.hambley.name/2013/06/11/using-capistrano-v3-with-chef.html
In the end, we've decided to go w/ a different strategy entirely, and implement a mirror repository on the same network as our servers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With