Capistrano 3 copy strategy equivalent

后端 未结 3 1075
醉酒成梦
醉酒成梦 2021-02-20 16:25

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

3条回答
  •  梦毁少年i
    2021-02-20 16:42

    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.

提交回复
热议问题