2012-10-04 2 views

답변

1

Capistrano 3에서는 cap 명령에 --trace 옵션을 추가하여 관련된 모든 작업을 볼 수 있습니다. 멋지게 형식화되지는 않았지만 상황에 대한 더 나은 그림을 얻을 수 있습니다. 예를 들어

:

$ cap production deploy --trace 
** Invoke production (first_time) 
** Execute production 
** Invoke load:defaults (first_time) 
** Execute load:defaults 
** Invoke bundler:map_bins (first_time) 
** Execute bundler:map_bins 
** Invoke deploy:set_rails_env (first_time) 
** Execute deploy:set_rails_env 
** Invoke deploy:set_rails_env 
** Invoke deploy (first_time) 
** Execute deploy 
** Invoke deploy:starting (first_time) 
** Execute deploy:starting 
** Invoke deploy:check (first_time) 
** Execute deploy:check 
** Invoke git:check (first_time) 
** Invoke git:wrapper (first_time) 
** Execute git:wrapper 
... 

당신이 카피 스트라 노 (3)를 사용하는 경우, 당신은 또한 무엇보다도 보여 카피 스트라 노의 출력 형식을 향상 내 airbrussh 보석, 각 작업 등의 이름 설치를 시도 할 수 있습니다 실행되고있다. 내 경험상 에어 브러시 (airbrussh)는 다양한 작업이하는 일을 훨씬 쉽게 이해할 수있게 해줍니다.

+0

... '--dry-run'을 추가하면 실제로 배포하지 않고이 추적을 볼 수 있습니다. – bjnord

관련 문제