Created
June 2, 2013 16:00
-
-
Save onesup/5693939 to your computer and use it in GitHub Desktop.
cap deploy 메세지
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
daul-ui-MacBook-Air:repang daul$ cap deploy | |
* 2013-06-03 00:56:50 executing `deploy' | |
triggering before callbacks for `deploy' | |
* 2013-06-03 00:56:50 executing `deploy:check_revision' | |
* 2013-06-03 00:56:50 executing `deploy:update' | |
** transaction: start | |
* 2013-06-03 00:56:50 executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote [email protected]:onesup/repang.git master" | |
command finished in 7824ms | |
* executing "if [ -d /home/daul/repang/shared/cached-copy ]; then cd /home/daul/repang/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard fffd42e2a3dde85e8cee2df5c4d7ef40133d38ad && git clean -q -d -x -f; else git clone -q [email protected]:onesup/repang.git /home/daul/repang/shared/cached-copy && cd /home/daul/repang/shared/cached-copy && git checkout -q -b deploy fffd42e2a3dde85e8cee2df5c4d7ef40133d38ad; fi" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
** [14.63.162.188 :: out] Warning: Permanently added the RSA host key for IP address '207.97.227.239' to the list of known hosts. | |
command finished in 10333ms | |
copying the cached version to /home/daul/repang/releases/20130602155709 | |
* executing "cp -RPp /home/daul/repang/shared/cached-copy /home/daul/repang/releases/20130602155709 && (echo fffd42e2a3dde85e8cee2df5c4d7ef40133d38ad > /home/daul/repang/releases/20130602155709/REVISION)" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 63ms | |
* 2013-06-03 00:57:09 executing `deploy:finalize_update' | |
triggering before callbacks for `deploy:finalize_update' | |
* 2013-06-03 00:57:09 executing `deploy:assets:symlink' | |
* executing "rm -rf /home/daul/repang/releases/20130602155709/public/assets && mkdir -p /home/daul/repang/releases/20130602155709/public && mkdir -p /home/daul/repang/shared/assets && ln -s /home/daul/repang/shared/assets /home/daul/repang/releases/20130602155709/public/assets" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 33ms | |
* 2013-06-03 00:57:09 executing `bundle:install' | |
* executing "cd /home/daul/repang/releases/20130602155709 && bundle install --gemfile /home/daul/repang/releases/20130602155709/Gemfile --path /home/daul/repang/shared/bundle --deployment --quiet --without development test" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 822ms | |
* executing "chmod -R -- g+w /home/daul/repang/releases/20130602155709 && rm -rf -- /home/daul/repang/releases/20130602155709/public/system && mkdir -p -- /home/daul/repang/releases/20130602155709/public/ && ln -s -- /home/daul/repang/shared/system /home/daul/repang/releases/20130602155709/public/system && rm -rf -- /home/daul/repang/releases/20130602155709/log && ln -s -- /home/daul/repang/shared/log /home/daul/repang/releases/20130602155709/log && rm -rf -- /home/daul/repang/releases/20130602155709/tmp/pids && mkdir -p -- /home/daul/repang/releases/20130602155709/tmp/ && ln -s -- /home/daul/repang/shared/pids /home/daul/repang/releases/20130602155709/tmp/pids" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 55ms | |
triggering after callbacks for `deploy:update_code' | |
* 2013-06-03 00:57:10 executing `deploy:assets:precompile' | |
triggering before callbacks for `deploy:assets:precompile' | |
* 2013-06-03 00:57:10 executing `deploy:assets:update_asset_mtimes' | |
* executing "[ -e /home/daul/repang/shared/assets/manifest.yml ] && cat /home/daul/repang/shared/assets/manifest.yml || echo" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 28ms | |
** Updating mtimes for ~32 assets... | |
servers: ["14.63.162.188"] | |
** sftp upload #<StringIO:0x007fe5b587c538> -> /home/daul/repang/TOUCH_ASSETS | |
[14.63.162.188] /home/daul/repang/TOUCH_ASSETS | |
[14.63.162.188] done | |
* sftp upload complete | |
* executing "cat /home/daul/repang/TOUCH_ASSETS | while read asset; do touch -cm -- \"$asset\"; done && rm -f -- /home/daul/repang/TOUCH_ASSETS" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 80ms | |
* executing "ls -x /home/daul/repang/releases" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 35ms | |
* executing "cd -- /home/daul/repang/releases/20130602155709 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /home/daul/repang/shared/assets/manifest.yml /home/daul/repang/releases/20130602155709/assets_manifest.yml" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 14810ms | |
* 2013-06-03 00:57:25 executing `deploy:create_symlink' | |
* executing "rm -f /home/daul/repang/current && ln -s /home/daul/repang/releases/20130602155709 /home/daul/repang/current" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 31ms | |
** transaction: commit | |
* 2013-06-03 00:57:25 executing `deploy:restart' | |
* executing "/etc/init.d/unicorn_repang restart" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
** [out :: 14.63.162.188] reloaded OK | |
command finished in 28ms | |
triggering after callbacks for `deploy' | |
* 2013-06-03 00:57:25 executing `deploy:cleanup' | |
* executing "ls -xt /home/daul/repang/releases" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 31ms | |
** keeping 5 of 6 deployed releases | |
* executing "rm -rf /home/daul/repang/releases/20130527030750" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 46ms | |
triggering after callbacks for `deploy:cleanup' | |
* 2013-06-03 00:57:25 executing `deploy:assets:clean_expired' | |
* executing "for manifest in /home/daul/repang/releases/*/assets_manifest.yml; do cat -- \"$manifest\" 2> /dev/null && printf ':::' || true; done" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
command finished in 35ms | |
** Fetched 5 manifests from /home/daul/repang/releases/*/assets_manifest.yml | |
** Writing required assets to /home/daul/repang/REQUIRED_ASSETS... | |
servers: ["14.63.162.188"] | |
** sftp upload #<StringIO:0x007fe5b58a8c78> -> /home/daul/repang/REQUIRED_ASSETS | |
[14.63.162.188] /home/daul/repang/REQUIRED_ASSETS | |
[14.63.162.188] done | |
* sftp upload complete | |
** Removing assets that haven't been deployed for 10080 minutes... | |
* executing "cd -- /home/daul/repang/shared/assets/ && for f in $( find * -mmin +10080 -type f | LC_COLLATE=C sort | LC_COLLATE=C comm -23 -- - /home/daul/repang/REQUIRED_ASSETS ); do echo \"Removing unneeded asset: $f\"; rm -f -- \"$f\"; done; rm -f -- /home/daul/repang/REQUIRED_ASSETS" | |
servers: ["14.63.162.188"] | |
[14.63.162.188] executing command | |
** [out :: 14.63.162.188] Removing unneeded asset: application-0bc8ddd2a488907ae361a82726f3256e.js | |
** [out :: 14.63.162.188] Removing unneeded asset: application-0bc8ddd2a488907ae361a82726f3256e.js.gz | |
** [out :: 14.63.162.188] Removing unneeded asset: application-214e3b03d903f071bcdd0ddc03008c63.js | |
** [out :: 14.63.162.188] Removing unneeded asset: application-214e3b03d903f071bcdd0ddc03008c63.js.gz | |
** [out :: 14.63.162.188] Removing unneeded asset: application-36958b5d444dcab8be2e112d924b6705.css | |
** [out :: 14.63.162.188] Removing unneeded asset: application-36958b5d444dcab8be2e112d924b6705.css.gz | |
** [out :: 14.63.162.188] Removing unneeded asset: application-51f98df78e1ca626470ffe0aea90b92f.css | |
** [out :: 14.63.162.188] Removing unneeded asset: application-51f98df78e1ca626470ffe0aea90b92f.css.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment