Created
April 9, 2013 03:25
-
-
Save naderhen/5342726 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
nader:BBRatboard nader$ cap deploy | |
triggering start callbacks for `deploy' | |
* 2013-04-08 23:24:58 executing `moonshine:configure' | |
* 2013-04-08 23:24:58 executing `deploy' | |
* 2013-04-08 23:24:58 executing `deploy:update' | |
** transaction: start | |
* 2013-04-08 23:24:58 executing `deploy:update_code' | |
executing locally: "git ls-remote git@github.com:naderhen/BBRatboard.git master" | |
command finished in 1027ms | |
* executing "git clone -q git@github.com:naderhen/BBRatboard.git /srv/BBRatboard/releases/20130409032459 && cd /srv/BBRatboard/releases/20130409032459 && git checkout -q -b deploy f459d28a5f44107119f214b3a7ce46596515b630 && git submodule -q init && git submodule -q sync && export GIT_RECURSIVE=$([ ! \"`git --version`\" \\< \"git version 1.6.5\" ] && echo --recursive) && git submodule -q update --init $GIT_RECURSIVE && (echo f459d28a5f44107119f214b3a7ce46596515b630 > /srv/BBRatboard/releases/20130409032459/REVISION)" | |
servers: ["bbratboard"] | |
Password: | |
[bbratboard] executing command | |
command finished in 5735ms | |
* 2013-04-08 23:25:08 executing `deploy:finalize_update' | |
* executing "chmod -R -- g+w /srv/BBRatboard/releases/20130409032459 && rm -rf -- /srv/BBRatboard/releases/20130409032459/system && ln -s -- /srv/BBRatboard/shared/system /srv/BBRatboard/releases/20130409032459/system && rm -rf -- /srv/BBRatboard/releases/20130409032459/log && ln -s -- /srv/BBRatboard/shared/log /srv/BBRatboard/releases/20130409032459/log && rm -rf -- /srv/BBRatboard/releases/20130409032459/pids && ln -s -- /srv/BBRatboard/shared/pids /srv/BBRatboard/releases/20130409032459/pids && rm -rf -- /srv/BBRatboard/releases/20130409032459/config && ln -s -- /srv/BBRatboard/shared/config /srv/BBRatboard/releases/20130409032459/config" | |
servers: ["bbratboard"] | |
[bbratboard] executing command | |
command finished in 1000ms | |
* executing "find /srv/BBRatboard/releases/20130409032459/public/images /srv/BBRatboard/releases/20130409032459/public/stylesheets /srv/BBRatboard/releases/20130409032459/public/javascripts -exec touch -t 201304090325.09 -- {} ';'; true" | |
servers: ["bbratboard"] | |
[bbratboard] executing command | |
command finished in 716ms | |
triggering after callbacks for `deploy:finalize_update' | |
* 2013-04-08 23:25:09 executing `local_config:upload' | |
* 2013-04-08 23:25:09 executing `local_config:symlink' | |
* 2013-04-08 23:25:09 executing `shared_config:symlink' | |
* 2013-04-08 23:25:09 executing `app:symlinks:update' | |
* 2013-04-08 23:25:09 executing `deploy:create_symlink' | |
* executing "rm -f /srv/BBRatboard/current && ln -s /srv/BBRatboard/releases/20130409032459 /srv/BBRatboard/current" | |
servers: ["bbratboard"] | |
[bbratboard] executing command | |
command finished in 151ms | |
** transaction: commit | |
* 2013-04-08 23:25:09 executing `deploy:restart' | |
triggering after callbacks for `deploy:restart' | |
* 2013-04-08 23:25:09 executing `deploy:cleanup' | |
* executing "ls -xt /srv/BBRatboard/releases" | |
servers: ["bbratboard"] | |
[bbratboard] executing command | |
command finished in 165ms | |
** keeping 5 of 6 deployed releases | |
* executing "sudo -p 'sudo password: ' rm -rf /srv/BBRatboard/releases/20130409024743" | |
servers: ["bbratboard"] | |
[bbratboard] executing command | |
command finished in 232ms | |
triggering after callbacks for `deploy' | |
nader:BBRatboard nader$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment