Skip to content

Use release_roles instead of roles so we only run rsync on nodes we are deploying to#10

Open
tayzlor wants to merge 1 commit into
moll:masterfrom
tayzlor:master
Open

Use release_roles instead of roles so we only run rsync on nodes we are deploying to#10
tayzlor wants to merge 1 commit into
moll:masterfrom
tayzlor:master

Conversation

@tayzlor
Copy link
Copy Markdown

@tayzlor tayzlor commented Feb 5, 2014

Capistrano 3.1.0 is using release_roles do identify servers that we actually want to deploy on to.
This fix ensures we only sync code on to servers that we want to release on to (e.g. where no_release != true)

ezekg pushed a commit to ezekg/capistrano-rsync that referenced this pull request Jan 4, 2016
git <1.9 needs fetch tags to be done on its own
@julienmertens
Copy link
Copy Markdown

is there a way to set release_roles within command line like we can do with --roles option ?
I've a big deploy.rb with all servers definitions in common with all projects but each one must be deploy on several of them only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants