Skip to content

Instantly share code, notes, and snippets.

@kristianhellquist
Created April 19, 2011 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristianhellquist/927207 to your computer and use it in GitHub Desktop.
Save kristianhellquist/927207 to your computer and use it in GitHub Desktop.
Connection to nd-cl1-as1.newsdesk.se closed.
master!newsdesk *> command bundle exec cap staging deploy
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_deploy)
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_update_code)
* executing `staging'
Specify branch to deploy: master
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
triggering before callbacks for `deploy:update_code'
* executing `auto_tagger:set_branch'
** AUTO TAGGER: setting branch to master
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:mynewsdesk/mynewsdesk.git master"
* executing "if [ -d /home/newsdesk_prod/shared/cached-copy ]; then cd /home/newsdesk_prod/shared/cached-copy && git fetch origin && git reset --hard 6c6e924b7a2bb15df755d041d34d9eba24a423e4 && git submodule 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 sync && git submodule update && git clean -d -x -f; else git clone --depth 1 git@github.com:mynewsdesk/mynewsdesk.git /home/newsdesk_prod/shared/cached-copy && cd /home/newsdesk_prod/shared/cached-copy && git checkout -b deploy 6c6e924b7a2bb15df755d041d34d9eba24a423e4 && git submodule init && git submodule sync && git submodule update; fi"
servers: ["192.168.2.61", "192.168.2.60"]
* establishing connection to gateway `newsdesk_proxy@nd-cl1-as1.newsdesk.se:22666'
* Creating gateway using newsdesk_proxy@nd-cl1-as1.newsdesk.se:22666
* establishing connection to `newsdesk_prod@192.168.2.61:22666' via gateway
* establishing connection to `newsdesk_prod@192.168.2.60:22666' via gateway
[newsdesk_prod@192.168.2.61:22666] executing command
[newsdesk_prod@192.168.2.60:22666] executing command
** [192.168.2.61 :: out] fatal: Could not parse object '6c6e924b7a2bb15df755d041d34d9eba24a423e4'.
** [192.168.2.60 :: out] HEAD is now at 6c6e924 Removed newsletter to media from test reach page.
command finished
*** [deploy:update_code] rolling back
* executing "rm -rf /home/newsdesk_prod/releases/20110419115809; true"
servers: ["192.168.2.61", "192.168.2.60"]
[newsdesk_prod@192.168.2.61:22666] executing command
[newsdesk_prod@192.168.2.60:22666] executing command
command finished
failed: "sh -c 'if [ -d /home/newsdesk_prod/shared/cached-copy ]; then cd /home/newsdesk_prod/shared/cached-copy && git fetch origin && git reset --hard 6c6e924b7a2bb15df755d041d34d9eba24a423e4 && git submodule 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 sync && git submodule update && git clean -d -x -f; else git clone --depth 1 git@github.com:mynewsdesk/mynewsdesk.git /home/newsdesk_prod/shared/cached-copy && cd /home/newsdesk_prod/shared/cached-copy && git checkout -b deploy 6c6e924b7a2bb15df755d041d34d9eba24a423e4 && git submodule init && git submodule sync && git submodule update; fi'" on newsdesk_prod@192.168.2.61:22666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment