Re: [capistrano-mailing-list] calling a task after deploy:symlink:release
That worked, thank you! On Wednesday, February 25, 2015 at 4:15:53 AM UTC-6, Lee Hambley wrote: I think you have to move the `after :deploy, :uname` until after you actually define the task. Lee Hambley http://lee.hambley.name/ +49 (0) 170 298 5667 On 24 February 2015 at 22:23, deadb...@gmail.com javascript: wrote: my config/deploy.rb On Tuesday, February 24, 2015 at 3:16:42 PM UTC-6, Lee Hambley wrote: In which file is :uname defined? -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com javascript:. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/4b7f0dbd-8f9c-47e7-90ab-ab2ea91db70f%40googlegroups.com https://groups.google.com/d/msgid/capistrano/4b7f0dbd-8f9c-47e7-90ab-ab2ea91db70f%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/d43d3ae4-6232-4d10-991a-b6d617f050da%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [capistrano-mailing-list] calling a task after deploy:symlink:release
I think you have to move the `after :deploy, :uname` until after you actually define the task. Lee Hambley http://lee.hambley.name/ +49 (0) 170 298 5667 On 24 February 2015 at 22:23, deadbeef...@gmail.com wrote: my config/deploy.rb On Tuesday, February 24, 2015 at 3:16:42 PM UTC-6, Lee Hambley wrote: In which file is :uname defined? -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/4b7f0dbd-8f9c-47e7-90ab-ab2ea91db70f%40googlegroups.com https://groups.google.com/d/msgid/capistrano/4b7f0dbd-8f9c-47e7-90ab-ab2ea91db70f%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVkSFXvTxf5xV30gRF9zXjMKrKb871FcWeiT%2BVcivs5FA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [capistrano-mailing-list] calling a task after deploy:symlink:release
my config/deploy.rb On Tuesday, February 24, 2015 at 3:16:42 PM UTC-6, Lee Hambley wrote: In which file is :uname defined? -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/4b7f0dbd-8f9c-47e7-90ab-ab2ea91db70f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [capistrano-mailing-list] calling a task after deploy:symlink:release
In which file is :uname defined? Sent from my Nexus 5. On 24 Feb 2015 21:55, deadbeef...@gmail.com wrote: I'm have a task that I've written that I want executed after deploy:symlink:release is executed. From looking at http://capistranorb.com/documentation/getting-started/flow/ I'm missing something because when I uncomment the after :deploy... line then things break and nothing works, saying $ cap production deploy (Backtrace restricted to imported tasks) cap aborted! Don't know how to build task 'uname' Tasks: TOP = production (See full trace by running task with --trace) after :deploy, :uname desc Go get our code task :pull do run_locally do execute rsync -avHI --log-file=rsync.log '#{repo_url}' '#{fetch(:deploy_from)}' end end task :debug_tar_roles do on roles(fetch(:tar_roles, :all)) do |h| puts Host Obj: #{h} info #{capture(:hostname)}: #{capture(:uname)} end end desc Show us the uname task :uname do on roles(:OurServers) do |host| puts capture(:'uname -a') end end -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/bf30f612-a0e5-4725-afed-ae9ef0519671%40googlegroups.com https://groups.google.com/d/msgid/capistrano/bf30f612-a0e5-4725-afed-ae9ef0519671%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Capistrano group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLU6Dr2r4k3nFL4zkH5NbnMYKe0Q2FXcVOM329fUn2YHRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.