Is there a way to print the execution flow in my particular setup?

445 views
Skip to first unread message

Karl Berggren

unread,
May 16, 2014, 10:44:37 AM5/16/14
to capis...@googlegroups.com
Hi, I'm learning capistrano in order to automate deployment and I'm slowly getting there.
I've reviewed the flow information avaliable here: http://capistranorb.com/documentation/getting-started/flow/
But I would find it extremely helpful if there was a 'interactive' way to see how the flow would look like for my particular setup.

I only load the default two tasks in my capfile:

# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'
.....

So i'm guessing the full list at the bottom of the cap flow site linked above does not apply.

Versions:
  • Ruby 2.1.1
  • Capistrano 3.2.1
Platform:
  • Working on OS X
  • Deploying to Ubuntu
/Thanks

Haani Niyaz

unread,
Jun 6, 2014, 1:18:21 AM6/6/14
to capis...@googlegroups.com

How do you mean by an 'interactive way'? Are you referring to the execution?

slowjack2k

unread,
Jun 6, 2014, 11:23:47 AM6/6/14
to capis...@googlegroups.com
Capistrano 3 is rake. So very tracing option useful with rake can also be applied on capistrano3. You can use
--dry-run to show what will happen
--trace to get a more verbose output
-P to get the dependencies
--rules to show rules

regards
dieter
Reply all
Reply to author
Forward
0 new messages