El 04/06/10 06:27, Robin Bowes escribió:
Hi,
Is there any documentation that lists the ENV vars that may be used on
the command line to customise the deployment process?
For example, I've just stumbled across HOSTFILTER, HOSTS, ROLE in some
archived posts to this list.
It would be nice to see that sort of thing documented somewhere, eg. on
capify.org.
R.
I don't know if exists a place with this info.
I have written a simple regex("ack ENV lib/") to get all the ENV vars:
ENV['HOSTS'] # Filter task/command by hosts ignoring
role/roles defined
ENV['HOSTFILTER'] # Filter task/command by hosts taking into account
the role/roles defined
ENV['ROLES'] # Filter task/command by role
ENV["FILES"] # See: cap -e deploy:upload
ENV['REASON'] # See: cap -e deploy:web:disable (depends on
maintenance template)
ENV['UNTIL']
ENV["COMMAND"] # See: cap -e invoke
ENV["SUDO"]
Regards
--
Rafa
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en