Skip to content

Instantly share code, notes, and snippets.

@rbriank
Created July 20, 2011 06:16
Show Gist options
  • Save rbriank/1094446 to your computer and use it in GitHub Desktop.
Save rbriank/1094446 to your computer and use it in GitHub Desktop.
ruby-1.9.2-p180@ss Brian-Kiersteads-MacBook-Pro:matcher briankierstead$ cap staging deploy
* executing `staging'
triggering start callbacks for `deploy'
* executing `multistage:ensure'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:rbriank/ss_matcher.git HEAD"
command finished in 4531ms
* executing "if [ -d /home/deploy/rails_apps/staging_matcher/shared/cached-copy ]; then cd /home/deploy/rails_apps/staging_matcher/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 2c6d4414db48d1240444dccc888e9dcd25bb7a06 && git clean -q -d -x -f; else git clone -q [email protected]:rbriank/ss_matcher.git /home/deploy/rails_apps/staging_matcher/shared/cached-copy && cd /home/deploy/rails_apps/staging_matcher/shared/cached-copy && git checkout -q -b deploy 2c6d4414db48d1240444dccc888e9dcd25bb7a06; fi"
servers: ["vs157381.blueboxgrid.com"]
Password:
[vs157381.blueboxgrid.com] executing command
command finished in 4565ms
copying the cached version to /home/deploy/rails_apps/staging_matcher/releases/20110720060919
* executing "rsync -lrpt --exclude=\".git/*\" /home/deploy/rails_apps/staging_matcher/shared/cached-copy/* /home/deploy/rails_apps/staging_matcher/releases/20110720060919 && (echo 2c6d4414db48d1240444dccc888e9dcd25bb7a06 > /home/deploy/rails_apps/staging_matcher/releases/20110720060919/REVISION)"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1295ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/deploy/rails_apps/staging_matcher/releases/20110720060919"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1191ms
* executing "rm -rf /home/deploy/rails_apps/staging_matcher/releases/20110720060919/log /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/system /home/deploy/rails_apps/staging_matcher/releases/20110720060919/tmp/pids &&\\\n mkdir -p /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public &&\\\n mkdir -p /home/deploy/rails_apps/staging_matcher/releases/20110720060919/tmp &&\\\n ln -s /home/deploy/rails_apps/staging_matcher/shared//log /home/deploy/rails_apps/staging_matcher/releases/20110720060919/log &&\\\n ln -s /home/deploy/rails_apps/staging_matcher/shared//system /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/system &&\\\n ln -s /home/deploy/rails_apps/staging_matcher/shared//pids /home/deploy/rails_apps/staging_matcher/releases/20110720060919/tmp/pids"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1268ms
* executing "find /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/images /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/stylesheets /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/javascripts -exec touch -t 201107200609.23 {} ';'; true"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1351ms
triggering after callbacks for `deploy:update_code'
* executing `bundle:install'
* executing "ls -x /home/deploy/rails_apps/staging_matcher/releases"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1197ms
* executing "bundle install --gemfile /home/deploy/rails_apps/staging_matcher/releases/20110720060919/Gemfile --path /home/deploy/rails_apps/staging_matcher/shared/bundle --deployment --quiet --without development test"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 2154ms
* executing `deploy:web:update_maintenance_page'
* executing "rm -rf /home/deploy/rails_apps/staging_matcher/shared//system/maintenance/; true"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1243ms
* executing "mkdir -p /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/maintenance"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1189ms
* executing "touch /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/maintenance/index.html.disabled"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1286ms
* executing "cp -r /home/deploy/rails_apps/staging_matcher/releases/20110720060919/public/maintenance /home/deploy/rails_apps/staging_matcher/shared//system/"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1248ms
* executing `deploy:secondary_symlink'
* executing "rm -f /home/deploy/rails_apps/staging_matcher/releases/20110720060919/config/database.yml"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1265ms
* executing "ln -s /home/deploy/rails_apps/staging_matcher/shared/config/database.yml /home/deploy/rails_apps/staging_matcher/releases/20110720060919/config/database.yml"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1258ms
* executing `deploy:symlink'
* executing "rm -f /home/deploy/rails_apps/staging_matcher/current && ln -s /home/deploy/rails_apps/staging_matcher/releases/20110720060919 /home/deploy/rails_apps/staging_matcher/current"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1262ms
** transaction: commit
* executing `deploy:restart'
* executing "touch /home/deploy/rails_apps/staging_matcher/current/tmp/restart.txt"
servers: ["vs157381.blueboxgrid.com"]
[vs157381.blueboxgrid.com] executing command
command finished in 1274ms
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