Deployer 7 - Labels, stages and roles #2766
Unanswered
franck-grenier
asked this question in
Help needed
Replies: 1 comment
-
|
About getting "stage" argument, I found it on documentation, should help you :)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Anton,
I'm using your great Deployer tool and I'm migrating from 6 to 7.
I need explanations about the "labels" concept introduced in Deployer 7 and how I can use it to declare and select stages and roles.
Please, have a look at my
deploy.phpfile (version 7) below. Some tasks need to be run asrootand others asmyuser:How can I obtain the role
rootwhen I launch commands ?Is it done automatically by selecting the right host ?
dep server:install dev-rootOr do I need to pass an option/argument in the command ? And what about "stages" ? How do they work with roles ?
Sorry, I'm feeling a bit lost with Deployer 7... I think we really need the documentation.
One more question : how can I get the
stageargument value ?Throws :
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions