Skip to content

Instantly share code, notes, and snippets.

@timwhite47
Created August 6, 2012 23:25
Show Gist options
  • Save timwhite47/3279535 to your computer and use it in GitHub Desktop.
Save timwhite47/3279535 to your computer and use it in GitHub Desktop.
o fuck
Kadin-Mini:pledgie tim$ STAGING=true cap deploy
"___________STAGING___________"
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:bellport/pledgie.git salesforce"
command finished in 2443ms
* executing "if [ -d /srv/actionsprout/shared/cached-copy ]; then cd /srv/actionsprout/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 792545333de6d1813deea155237ba262b91b8130 && git clean -q -d -x -f; else git clone -q git@github.com:bellport/pledgie.git /srv/actionsprout/shared/cached-copy && cd /srv/actionsprout/shared/cached-copy && git checkout -q -b deploy 792545333de6d1813deea155237ba262b91b8130; fi"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'if [ -d /srv/actionsprout/shared/cached-copy ]; then cd /srv/actionsprout/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 792545333de6d1813deea155237ba262b91b8130 && git clean -q -d -x -f; else git clone -q git@github.com:bellport/pledgie.git /srv/actionsprout/shared/cached-copy && cd /srv/actionsprout/shared/cached-copy && git checkout -q -b deploy 792545333de6d1813deea155237ba262b91b8130; fi'
command finished in 4374ms
copying the cached version to /srv/actionsprout/releases/20120806233355
* executing "cp -RPp /srv/actionsprout/shared/cached-copy /srv/actionsprout/releases/20120806233355 && (echo 792545333de6d1813deea155237ba262b91b8130 > /srv/actionsprout/releases/20120806233355/REVISION)"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'cp -RPp /srv/actionsprout/shared/cached-copy /srv/actionsprout/releases/20120806233355 && (echo 792545333de6d1813deea155237ba262b91b8130 > /srv/actionsprout/releases/20120806233355/REVISION)'
command finished in 3130ms
* executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* executing `deploy:assets:symlink'
* executing "rm -rf /srv/actionsprout/releases/20120806233355/public/assets &&\\\n mkdir -p /srv/actionsprout/releases/20120806233355/public &&\\\n mkdir -p /srv/actionsprout/shared/assets &&\\\n ln -s /srv/actionsprout/shared/assets /srv/actionsprout/releases/20120806233355/public/assets"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'rm -rf /srv/actionsprout/releases/20120806233355/public/assets &&\
[107.21.80.74] mkdir -p /srv/actionsprout/releases/20120806233355/public &&\
[107.21.80.74] mkdir -p /srv/actionsprout/shared/assets &&\
[107.21.80.74] ln -s /srv/actionsprout/shared/assets /srv/actionsprout/releases/20120806233355/public/assets'
command finished in 3009ms
* executing "chmod -R g+w /srv/actionsprout/releases/20120806233355"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'chmod -R g+w /srv/actionsprout/releases/20120806233355'
command finished in 3074ms
* executing "rm -rf /srv/actionsprout/releases/20120806233355/log /srv/actionsprout/releases/20120806233355/public/system /srv/actionsprout/releases/20120806233355/tmp/pids &&\\\n mkdir -p /srv/actionsprout/releases/20120806233355/public &&\\\n mkdir -p /srv/actionsprout/releases/20120806233355/tmp"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'rm -rf /srv/actionsprout/releases/20120806233355/log /srv/actionsprout/releases/20120806233355/public/system /srv/actionsprout/releases/20120806233355/tmp/pids &&\
[107.21.80.74] mkdir -p /srv/actionsprout/releases/20120806233355/public &&\
[107.21.80.74] mkdir -p /srv/actionsprout/releases/20120806233355/tmp'
command finished in 2763ms
* executing "ln -s /srv/actionsprout/shared/system /srv/actionsprout/releases/20120806233355/public/system"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'ln -s /srv/actionsprout/shared/system /srv/actionsprout/releases/20120806233355/public/system'
command finished in 2764ms
* executing "ln -s /srv/actionsprout/shared/log /srv/actionsprout/releases/20120806233355/log"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'ln -s /srv/actionsprout/shared/log /srv/actionsprout/releases/20120806233355/log'
command finished in 2809ms
* executing "ln -s /srv/actionsprout/shared/pids /srv/actionsprout/releases/20120806233355/tmp/pids"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'ln -s /srv/actionsprout/shared/pids /srv/actionsprout/releases/20120806233355/tmp/pids'
command finished in 2719ms
triggering after callbacks for `deploy:finalize_update'
* executing `bundle:install'
* executing "ls -x /srv/actionsprout/releases"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'ls -x /srv/actionsprout/releases'
command finished in 2764ms
* executing "cd /srv/actionsprout/releases/20120806233355 && bundle install --gemfile /srv/actionsprout/releases/20120806233355/Gemfile --path /srv/actionsprout/shared/bundle --deployment --quiet --without test development"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'cd /srv/actionsprout/releases/20120806233355 && bundle install --gemfile /srv/actionsprout/releases/20120806233355/Gemfile --path /srv/actionsprout/shared/bundle --deployment --quiet --without test development'
command finished in 8292ms
triggering after callbacks for `deploy:update_code'
* executing `deploy:assets:precompile'
* executing "cat /srv/actionsprout/current/REVISION"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'cat /srv/actionsprout/current/REVISION'
command finished in 2464ms
*** [deploy:update_code] rolling back
* executing "rm -rf /srv/actionsprout/releases/20120806233355; true"
servers: ["107.21.80.74"]
[107.21.80.74] executing command
[107.21.80.74] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'rm -rf /srv/actionsprout/releases/20120806233355; true'
command finished in 3064ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3-p125@pledgematic' -c 'cat /srv/actionsprout/current/REVISION'" on 107.21.80.74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment