Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Created April 4, 2012 11:58
Show Gist options
  • Save xurizaemon/2300604 to your computer and use it in GitHub Desktop.
Save xurizaemon/2300604 to your computer and use it in GitHub Desktop.
120s delay during capistrano remote exec
vayo:example-capistrano chris$ date ; cap uat deploy
Wed 4 Apr 2012 23:52:26 NZST
* executing `uat'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:example/example-drupal.git feature/module-upgrades-20120404"
* executing "if [ -d /var/www/uat/example.org/shared/cached-copy ]; then cd /var/www/uat/example.org/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard add7b8a2d6111cd851fd705f6fad9fde11e84ec0 && git submodule -q init && for mod in `git submodule status | awk '{ print $2 }'`; do git config -f .git/config submodule.${mod}.url `git config -f .gitmodules --get submodule.${mod}.url` && echo Synced $mod; done && git submodule -q sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule -q update --init $GIT_RECURSIVE && git clean -q -d -x -f; else git clone -q [email protected]:example/example-drupal.git /var/www/uat/example.org/shared/cached-copy && cd /var/www/uat/example.org/shared/cached-copy && git checkout -q -b deploy add7b8a2d6111cd851fd705f6fad9fde11e84ec0 && git submodule -q init && git submodule -q sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule -q update --init $GIT_RECURSIVE; fi"
servers: ["example-test1"]
Password:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment