Created
February 17, 2012 21:03
-
-
Save amoslanka/1855430 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
amoslanka:struck.com amoslanka$ 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]:/git_repos/struckaxiom/struckaxiom.com master" | |
command finished in 1565ms | |
* executing "if [ -d /var/www/apps/staging.struckaxiom.com/shared/cached-copy ]; then cd /var/www/apps/staging.struckaxiom.com/shared/cached-copy && git fetch origin && git fetch --tags origin && git reset --hard 8bec0122df872f6577f2ebec137ebb5132131684 && git clean -d -x -f; else git clone [email protected]:/git_repos/struckaxiom/struckaxiom.com /var/www/apps/staging.struckaxiom.com/shared/cached-copy && cd /var/www/apps/staging.struckaxiom.com/shared/cached-copy && git checkout -b deploy 8bec0122df872f6577f2ebec137ebb5132131684; fi" | |
servers: ["staging.struckaxiom.com"] | |
Password: | |
[staging.struckaxiom.com] executing command | |
** [staging.struckaxiom.com :: out] Password: | |
** [staging.struckaxiom.com :: out] | |
** [staging.struckaxiom.com :: out] Password: | |
** [staging.struckaxiom.com :: out] | |
** [staging.struckaxiom.com :: out] HEAD is now at 8bec012 Cleared out some debris | |
command finished in 3312ms | |
copying the cached version to /var/www/apps/staging.struckaxiom.com/releases/20120217205652 | |
* executing "cp -RPp /var/www/apps/staging.struckaxiom.com/shared/cached-copy /var/www/apps/staging.struckaxiom.com/releases/20120217205652 && (echo 8bec0122df872f6577f2ebec137ebb5132131684 > /var/www/apps/staging.struckaxiom.com/releases/20120217205652/REVISION)" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 21396ms | |
* executing `deploy:finalize_update' | |
* executing "chmod -R g+w /var/www/apps/staging.struckaxiom.com/releases/20120217205652" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 622ms | |
* executing "rm -rf /var/www/apps/staging.struckaxiom.com/releases/20120217205652/log /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public/system /var/www/apps/staging.struckaxiom.com/releases/20120217205652/tmp/pids &&\\\n mkdir -p /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public &&\\\n mkdir -p /var/www/apps/staging.struckaxiom.com/releases/20120217205652/tmp &&\\\n ln -s /var/www/apps/staging.struckaxiom.com/shared/log /var/www/apps/staging.struckaxiom.com/releases/20120217205652/log &&\\\n ln -s /var/www/apps/staging.struckaxiom.com/shared/system /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public/system &&\\\n ln -s /var/www/apps/staging.struckaxiom.com/shared/pids /var/www/apps/staging.struckaxiom.com/releases/20120217205652/tmp/pids" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 314ms | |
* executing "find /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public/images /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public/stylesheets /var/www/apps/staging.struckaxiom.com/releases/20120217205652/public/javascripts -exec touch -t 201202172057.15 {} ';'; true" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 3644ms | |
triggering after callbacks for `deploy:finalize_update' | |
* executing `bundle:install' | |
* executing "ls -x /var/www/apps/staging.struckaxiom.com/releases" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 327ms | |
* executing "cd /var/www/apps/staging.struckaxiom.com/releases/20120217205652 && bundle install --gemfile /var/www/apps/staging.struckaxiom.com/releases/20120217205652/Gemfile --path /var/www/apps/staging.struckaxiom.com/shared/bundle --deployment --quiet --without development test" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
** [out :: staging.struckaxiom.com] fatal: Could not parse object 'ae5da5d332badde6eb6aa83396b57ca802768029'. | |
** [out :: staging.struckaxiom.com] An error has occurred in git when running `git reset --hard ae5da5d332badde6eb6aa83396b57ca802768029. Cannot complete bundling. | |
command finished in 31987ms | |
*** [deploy:update_code] rolling back | |
* executing "rm -rf /var/www/apps/staging.struckaxiom.com/releases/20120217205652; true" | |
servers: ["staging.struckaxiom.com"] | |
[staging.struckaxiom.com] executing command | |
command finished in 544ms | |
failed: "sh -c 'cd /var/www/apps/staging.struckaxiom.com/releases/20120217205652 && bundle install --gemfile /var/www/apps/staging.struckaxiom.com/releases/20120217205652/Gemfile --path /var/www/apps/staging.struckaxiom.com/shared/bundle --deployment --quiet --without development test'" on staging.struckaxiom.com | |
amoslanka:struck.com amoslanka$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment