卡皮斯特拉诺3复制策略等效 [英] Capistrano 3 copy strategy equivalent
问题描述
我更新到第3章,似乎不再支持 set:deploy_via,:copy
。在发布通告中,有一个指向视频的链接,用于复制当前的复制策略我使用了:copy
策略,因为服务器没有权限访问<$ c $
使用v3复制此功能的最佳方法是什么? git 或访问存储库是因为它位于防火墙后面。
/ p>以完全相同的方式完成一项工作 $ b
https://github.com/xuwupeng2000/capsitrano-scm-gitcopy
Capistrano 3:copy
Capistrano 3的复制策略模仿:copy
scm of Capistrano 2.
这款Gem灵感来源于 https:/ /github.com/wercker/capistr肛SCM-副本。
非常感谢wercker。
这将使Capistrano tar成为特定的git分支,将其上传到服务器,然后解压缩在版本目录中。
用法
cap uat deploy - s分支=(你的发布分支)
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?
There is one work in the exact same way
https://github.com/xuwupeng2000/capsitrano-scm-gitcopy
Capistrano 3 :copy
A copy strategy for Capistrano 3, which mimics the :copy
scm of Capistrano 2.
This Gem is inspired by and based on https://github.com/wercker/capistrano-scm-copy.
Thank wercker so much.
This will make Capistrano tar the a specific git branch, upload it to the server(s) and then extract it in the release directory.
Usage
cap uat deploy -s branch=(your release branch)
这篇关于卡皮斯特拉诺3复制策略等效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!