Created
October 27, 2008 19:05
-
-
Save kovyrin/20165 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
~/work/scribd/git/scribd (master) | |
[14:57] $ cap tests deploy | |
* executing `tests' | |
triggering start callbacks for `deploy' | |
* executing `multistage:ensure' | |
* executing `deploy' | |
* executing `deploy:before_deploy' | |
* executing `deploy:before_before_deploy' | |
* executing `deploy:check_lock' | |
* executing "if [ -e /var/www/apps/collegelist/shared/system/lock.txt ]; then cat /var/www/apps/collegelist/shared/system/lock.txt; fi" | |
servers: ["test.scribd.com"] | |
Password: | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
* executing "if [ -d /var/www/apps/collegelist/shared/cached-copy ]; then cd /var/www/apps/collegelist/shared/cached-copy && git fetch origin && git reset --hard 560cedf62db87d7e58a58e29a62ce938193fb71a; else git clone [email protected]:scribd.git /var/www/apps/collegelist/shared/cached-copy && cd /var/www/apps/collegelist/shared/cached-copy && git checkout -b deploy 560cedf62db87d7e58a58e29a62ce938193fb71a; fi" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
** [test.scribd.com :: out] * refusing to create funny ref 'remotes/origin/*' locally | |
command finished | |
copying the cached version to /var/www/apps/collegelist/releases/20081027190430 | |
* executing "ruby /var/www/apps/collegelist/shared/bin/copy.rb /var/www/apps/collegelist/shared/cached-copy /var/www/apps/collegelist/releases/20081027190430 test .git doc backup_conf_files config/database.yml && (echo 560cedf62db87d7e58a58e29a62ce938193fb71a > /var/www/apps/collegelist/releases/20081027190430/REVISION)" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /var/www/apps/collegelist/releases/20081027190430" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "rm -rf /var/www/apps/collegelist/releases/20081027190430/log /var/www/apps/collegelist/releases/20081027190430/public/system /var/www/apps/collegelist/releases/20081027190430/tmp/pids &&\\\n mkdir -p /var/www/apps/collegelist/releases/20081027190430/public &&\\\n mkdir -p /var/www/apps/collegelist/releases/20081027190430/tmp &&\\\n ln -s /var/www/apps/collegelist/shared/log /var/www/apps/collegelist/releases/20081027190430/log &&\\\n ln -s /var/www/apps/collegelist/shared/system /var/www/apps/collegelist/releases/20081027190430/public/system &&\\\n ln -s /var/www/apps/collegelist/shared/pids /var/www/apps/collegelist/releases/20081027190430/tmp/pids" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "find /var/www/apps/collegelist/releases/20081027190430/public/images /var/www/apps/collegelist/releases/20081027190430/public/stylesheets /var/www/apps/collegelist/releases/20081027190430/public/javascripts -exec touch -t 200810271904.32 {} ';'; true" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:after_update_code' | |
* executing `deploy:refresh_database_yml' | |
* executing "cp /var/www/apps/collegelist/shared/database.yml /var/www/apps/collegelist/releases/20081027190430/config/" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:asset_packager_build' | |
* executing "ls -xt /var/www/apps/collegelist/releases" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "cd /var/www/apps/collegelist/releases/20081027190430 &&\\\n rake RAILS_ENV=production asset:packager:build_all" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
** [out :: test.scribd.com] (in /var/www/apps/collegelist/releases/20081027190430) | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/javascripts/base_1225134272.js | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/javascripts/view_1225134272.js | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/javascripts/upload_1225134272.js | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/javascripts/upload2_1225134272.js | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/stylesheets/basegrid_1225134272.css | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/stylesheets/basenew_1225134272.css | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/stylesheets/reader_1225134272.css | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/stylesheets/platform_base_1225134272.css | |
** [out :: test.scribd.com] Created /var/www/apps/collegelist/releases/20081027190430/public/stylesheets/ie_1225134272.css | |
command finished | |
* executing `deploy:symlink' | |
* executing "rm -f /var/www/apps/collegelist/current && ln -s /var/www/apps/collegelist/releases/20081027190430 /var/www/apps/collegelist/current" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:after_symlink' | |
* executing `deploy:symlink_public' | |
* executing "ln -nfs /var/www/apps/collegelist/shared/word_images /var/www/apps/collegelist/current/public/word_images" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "ln -nfs /var/www/apps/collegelist/shared/word_secret_directory /var/www/apps/collegelist/current/public/word_secret_directory" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "ln -nfs /var/www/apps/collegelist/shared/word_published_documents /var/www/apps/collegelist/current/public/word_published_documents" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing "ln -nfs /var/www/apps/collegelist/shared/sitemaps /var/www/apps/collegelist/current/public/sitemaps" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
* executing `deploy:create_cache_symlink' | |
* executing "ln -fs /var/www/apps/collegelist/shared/tmp/cache /var/www/apps/collegelist/releases/20081027190430/tmp/cache" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
** transaction: commit | |
* executing `deploy:restart' | |
* executing "monit -g mongrel restart all" | |
servers: ["test.scribd.com"] | |
[test.scribd.com] executing command | |
command finished | |
~/work/scri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment