Robin, Cap site is a wiki, feel free to contribute the above in some useful format… I approach this the same way Rafael does… if in doubt - ack.
On 6 June 2010 14:15, Robin Bowes <[email protected]> wrote: > On 05/06/10 04:13, Rafael G. wrote: > > 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"] > > Nice work Rafael. > > Lee, any chance of getting some official documentation including this > sort of thing? > > R. > > -- > * 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]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > -- * 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
