Created
July 22, 2010 15:13
-
-
Save deathbob/486104 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
master>cap staging deploy | |
* executing `staging' | |
* executing `deploy' | |
triggering before callbacks for `deploy' | |
* executing `deploy:notify:start' | |
* executing "curl -X POST -d \"application=mrteeth\" http://weather.engineyard.com/`hostname`/deploy_start -fs" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
Warning: We couldn't notify EY of your deploy, but don't worry, everything is fine | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
* executing "git ls-remote [email protected]:inmunited/spottrot_server.git master" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing "git clone -q [email protected]:inmunited/spottrot_server.git /data/mrteeth/releases/20100722151106 && cd /data/mrteeth/releases/20100722151106 && git checkout -q -b deploy b37d5a8dda5e6cc7b344355f300c00ecd0d0bedf && (echo b37d5a8dda5e6cc7b344355f300c00ecd0d0bedf > /data/mrteeth/releases/20100722151106/REVISION)" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /data/mrteeth/releases/20100722151106" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing "rm -rf /data/mrteeth/releases/20100722151106/log /data/mrteeth/releases/20100722151106/public/system /data/mrteeth/releases/20100722151106/tmp/pids &&\\\n mkdir -p /data/mrteeth/releases/20100722151106/public &&\\\n mkdir -p /data/mrteeth/releases/20100722151106/tmp &&\\\n ln -s /data/mrteeth/shared/log /data/mrteeth/releases/20100722151106/log &&\\\n ln -s /data/mrteeth/shared/system /data/mrteeth/releases/20100722151106/public/system &&\\\n ln -s /data/mrteeth/shared/pids /data/mrteeth/releases/20100722151106/tmp/pids" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing "find /data/mrteeth/releases/20100722151106/public/images /data/mrteeth/releases/20100722151106/public/stylesheets /data/mrteeth/releases/20100722151106/public/javascripts -exec touch -t 201007221511.19 {} ';'; true" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
triggering after callbacks for `deploy:finalize_update' | |
* executing "cd /data/mrteeth/releases/20100722151106 && rake RAILS_ENV=staging gems:build" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
** [out :: 72.46.233.55:7000] (in /data/mrteeth/releases/20100722151106) | |
command finished | |
* executing `deploy:mark_deploy' | |
triggering after callbacks for `deploy:update_code' | |
* executing `deploy:symlink_configs' | |
* executing "cd /data/mrteeth/releases/20100722151106 &&\\\n ln -nfs /data/mrteeth/shared/config/database.yml /data/mrteeth/releases/20100722151106/config/database.yml &&\\\n ln -nfs /data/mrteeth/shared/config/mongrel_cluster.yml /data/mrteeth/releases/20100722151106/config/mongrel_cluster.yml" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
triggering after callbacks for `deploy:symlink_configs' | |
* executing `bundler:bundle_gems' | |
* executing "if [ -f /data/mrteeth/releases/20100722151106/Gemfile ]; then cd /data/mrteeth/releases/20100722151106 && bundle install; fi" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing `more_symlink_configs' | |
* executing "ln -nfs /data/mrteeth/shared/config/apns4r.yml /data/mrteeth/releases/20100722151106/config/apns4r.yml" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
* executing `deploy:symlink' | |
* executing "rm -f /data/mrteeth/current && ln -s /data/mrteeth/releases/20100722151106 /data/mrteeth/current" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
** transaction: commit | |
* executing `deploy:restart' | |
* executing `mongrel:restart' | |
* executing "sudo -p 'sudo password: ' /usr/bin/monit restart all -g mrteeth" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
** [out :: 72.46.233.55:7000] Cleartext credentials needed for basic authorization! | |
** [out :: 72.46.233.55:7000] Cleartext credentials needed for basic authorization! | |
** [out :: 72.46.233.55:7000] Cleartext credentials needed for basic authorization! | |
command finished | |
triggering after callbacks for `deploy:restart' | |
* executing `write_crontab' | |
Installing crontab. | |
* executing "cd /data/mrteeth/current/config/crontab; crontab cron-settings" | |
`write_crontab' is only run for servers matching {:roles=>:cron}, but no servers matched | |
Please wait while the log file is processed | |
Executing Post Processing Hooks | |
* executing `ey_logger:upload_log_to_slice' | |
* executing "mkdir -p /data/mrteeth/shared/deploy_logs" | |
servers: ["72.46.233.55"] | |
[72.46.233.55:7000] executing command | |
command finished | |
servers: ["72.46.233.55"] | |
** sftp upload #<StringIO:0x102200af0> -> /data/mrteeth/shared/deploy_logs/20100722151106-deploy-FAILURE.log | |
[72.46.233.55] /data/mrteeth/shared/deploy_logs/20100722151106-deploy-FAILURE.log | |
[72.46.233.55] done | |
* sftp upload complete | |
Finished Post Processing Hooks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment