Created
December 28, 2010 16:47
-
-
Save samgranieri/757405 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[samgranieri]% cap deploy | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
*** Defaulting to `qa' | |
* executing `qa' | |
* executing `deploy' | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:ORG_NAME/APP_NAME.git HEAD" | |
* executing "git clone -q [email protected]:ORG_NAME/APP_NAME.git /var/www/APP_NAME/releases/20101228162712 && cd /var/www/APP_NAME/releases/20101228162712 && git checkout -q -b deploy fcdf490266c1df26da8495c059114be2f3bae29f && git submodule -q init && git submodule -q sync && git submodule -q update && (echo fcdf490266c1df26da8495c059114be2f3bae29f > /var/www/APP_NAME/releases/20101228162712/REVISION)" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
** [qa.DEPLOY_HOST.com :: out] The authenticity of host 'github.com (207.97.227.239)' can't be established. | |
** RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. | |
** Are you sure you want to continue connecting (yes/no)? | |
** [qa.DEPLOY_HOST.com :: out] yes | |
** Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts. | |
** [qa.DEPLOY_HOST.com :: out] Initialized empty Git repository in /var/www/APP_NAME/releases/20101228162712/app/models/.git/ | |
** [qa.DEPLOY_HOST.com :: out] remote: Counting objects: 38, done. | |
remote: Compressing objects: 100% (27/27), done. | |
** [qa.DEPLOY_HOST.com :: out] remote: Total 38 (delta 6), reused 0 (delta 0) | |
Receiving objects: 100% (38/38), 7.62 KiB, done. | |
Resolving deltas: 100% (6/6), done. | |
** [qa.DEPLOY_HOST.com :: out] Initialized empty Git repository in /var/www/APP_NAME/releases/20101228162712/db/migrate/.git/ | |
** [qa.DEPLOY_HOST.com :: out] remote: Counting objects: 46, done. | |
remote: Compressing objects: 100% (44/44), done. | |
** remote: Tota | |
** [qa.DEPLOY_HOST.com :: out] l 46 (delta 14), reused 0 (delta 0) | |
Receiving objects: 100% (46/46), 7.82 KiB, done. | |
Resolving deltas: 100% (14/14), done. | |
command finished | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /var/www/APP_NAME/releases/20101228162712" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
* executing "rm -rf /var/www/APP_NAME/releases/20101228162712/log /var/www/APP_NAME/releases/20101228162712/public/system /var/www/APP_NAME/releases/20101228162712/tmp/pids &&\\\n mkdir -p /var/www/APP_NAME/releases/20101228162712/public &&\\\n mkdir -p /var/www/APP_NAME/releases/20101228162712/tmp &&\\\n ln -s /var/www/APP_NAME/shared/log /var/www/APP_NAME/releases/20101228162712/log &&\\\n ln -s /var/www/APP_NAME/shared/system /var/www/APP_NAME/releases/20101228162712/public/system &&\\\n ln -s /var/www/APP_NAME/shared/pids /var/www/APP_NAME/releases/20101228162712/tmp/pids" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
* executing "find /var/www/APP_NAME/releases/20101228162712/public/images /var/www/APP_NAME/releases/20101228162712/public/stylesheets /var/www/APP_NAME/releases/20101228162712/public/javascripts -exec touch -t 201012281627.22 {} ';'; true" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
triggering after callbacks for `deploy:update_code' | |
* executing `bundle:install' | |
* executing "ls -x /var/www/APP_NAME/releases" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
* executing "bundle install --gemfile /var/www/APP_NAME/releases/20101228162712/Gemfile --path /var/www/APP_NAME/shared/bundle --deployment --quiet --without development test" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
** [out :: qa.DEPLOY_HOST.com] remote: Counting objects: 4663, done. | |
** [out :: qa.DEPLOY_HOST.com] remote: Compressing objects: 0% (1/2174) | |
remote: Compressing objects: 2% (44/2174) | |
** [out :: qa.DEPLOY_HOST.com] remote: Compressing objects: 3% (66/2174) | |
remote: Compressing objects: 6% (131/2174) | |
remote: Compressing objects: 11% (240/2174) | |
remote: Compressing objects: 16% (348/2174) | |
remote: Compressing objects: 79% (1718/2174) | |
remote: Compressing objects: 100% (2174/2174), done. | |
** [out :: qa.DEPLOY_HOST.com] Receiving objects: 0% (1/4663) | |
Receiving objects: 3% (140/4663) work.com] Receiving objects: 1% (47/4663) | |
Receiving objects: 5% (234/4663)etwork.com] Receiving objects: 4% (187/4663) | |
Receiving objects: 11% (513/4663) ork.com] Receiving objects: 6% (280/4663) | |
Receiving objects: 13% (607/4663)etwork.com] Receiving objects: 12% (560/4663) | |
Receiving objects: 15% (700/4663)etwork.com] Receiving objects: 14% (653/4663) | |
Receiving objects: 17% (793/4663)etwork.com] Receiving objects: 16% (747/4663) | |
Receiving objects: 25% (1166/4663) rk.com] Receiving objects: 18% (840/4663) | |
** [out :: qa.DEPLOY_HOST.com] Receiving objects: 26% (1213/4663) | |
Receiving objects: 39% (1819/4663) rk.com] Receiving objects: 27% (1260/4663) | |
** [out :: qa.DEPLOY_HOST.com] Receiving objects: 40% (1866/4663) | |
Receiving objects: 53% (2472/4663) rk.com] Receiving objects: 41% (1912/4663) | |
Receiving objects: 70% (3265/4663) rk.com] Receiving objects: 54% (2519/4663) | |
remote: Total 4663 (delta 2809), reused 4156 (delta 2396) | |
Receiving objects: 100% (4663/4663), 710.72 KiB, done.g objects: 80% (3731/4663) | |
Resolving deltas: 5% (162/2809) twork.com] Resolving deltas: 0% (0/2809) | |
Resolving deltas: 19% (535/2809) work.com] Resolving deltas: 8% (232/2809) | |
Resolving deltas: 31% (875/2809) work.com] Resolving deltas: 20% (580/2809) | |
Resolving deltas: 45% (1268/2809) ork.com] Resolving deltas: 32% (914/2809) | |
** [out :: qa.DEPLOY_HOST.com] Resolving deltas: 47% (1331/2809) | |
Resolving deltas: 51% (1445/2809) ork.com] Resolving deltas: 48% (1370/2809) | |
Resolving deltas: 65% (1828/2809) ork.com] Resolving deltas: 61% (1738/2809) | |
Resolving deltas: 82% (2308/2809) ork.com] Resolving deltas: 67% (1891/2809) | |
Resolving deltas: 100% (2809/2809), done.com] Resolving deltas: 83% (2340/2809) | |
command finished | |
* executing `deploy:symlink' | |
* executing "rm -f /var/www/APP_NAME/current && ln -s /var/www/APP_NAME/releases/20101228162712 /var/www/APP_NAME/current" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
** transaction: commit | |
* executing `deploy:restart' | |
* executing "touch /var/www/APP_NAME/current/tmp/restart.txt" | |
servers: ["qa.DEPLOY_HOST.com"] | |
[qa.DEPLOY_HOST.com] executing command | |
command finished | |
triggering after callbacks for `deploy' | |
* executing `deploy:cleanup' | |
*** no old releases to clean up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment