Skip to content

Instantly share code, notes, and snippets.

@creativetechnologist
Created January 19, 2015 15:22
Show Gist options
  • Save creativetechnologist/6f90eb2099cffdb4f103 to your computer and use it in GitHub Desktop.
Save creativetechnologist/6f90eb2099cffdb4f103 to your computer and use it in GitHub Desktop.
Output for Ben
cap production deploy
* 2015-01-19 15:22:12 executing `production'
* 2015-01-19 15:22:12 executing `deploy'
* 2015-01-19 15:22:12 executing `deploy:update'
** transaction: start
* 2015-01-19 15:22:12 executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:creativetechnologist/bondcube.git master"
command finished in 1668ms
* executing "if [ -d /home/rails/BondcubeProduction/shared/cached-copy ]; then cd /home/rails/BondcubeProduction/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard a2bf5ec34715bfaf022c3c1dcd6abc26e56bffd1 && git clean -q -d -x -f; else git clone -q -b master [email protected]:creativetechnologist/bondcube.git /home/rails/BondcubeProduction/shared/cached-copy && cd /home/rails/BondcubeProduction/shared/cached-copy && git checkout -q -b deploy a2bf5ec34715bfaf022c3c1dcd6abc26e56bffd1; fi"
servers: ["mortgagesor-004.vm.brightbox.net"]
Password:
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 3730ms
copying the cached version to /home/rails/BondcubeProduction/releases/20150119152219
* executing "cp -RPp /home/rails/BondcubeProduction/shared/cached-copy /home/rails/BondcubeProduction/releases/20150119152219 && (echo a2bf5ec34715bfaf022c3c1dcd6abc26e56bffd1 > /home/rails/BondcubeProduction/releases/20150119152219/REVISION)"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 1564ms
* 2015-01-19 15:22:21 executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* 2015-01-19 15:22:21 executing `deploy:assets:symlink'
* executing "rm -rf /home/rails/BondcubeProduction/releases/20150119152219/public/assets && mkdir -p /home/rails/BondcubeProduction/releases/20150119152219/public && mkdir -p /home/rails/BondcubeProduction/shared/assets && ln -s /home/rails/BondcubeProduction/shared/assets /home/rails/BondcubeProduction/releases/20150119152219/public/assets"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 436ms
* executing "chmod -R -- g+w /home/rails/BondcubeProduction/releases/20150119152219 && rm -rf -- /home/rails/BondcubeProduction/releases/20150119152219/public/system && mkdir -p -- /home/rails/BondcubeProduction/releases/20150119152219/public/ && ln -s -- /home/rails/BondcubeProduction/shared/system /home/rails/BondcubeProduction/releases/20150119152219/public/system && rm -rf -- /home/rails/BondcubeProduction/releases/20150119152219/log && ln -s -- /home/rails/BondcubeProduction/shared/log /home/rails/BondcubeProduction/releases/20150119152219/log && rm -rf -- /home/rails/BondcubeProduction/releases/20150119152219/tmp/pids && mkdir -p -- /home/rails/BondcubeProduction/releases/20150119152219/tmp/ && ln -s -- /home/rails/BondcubeProduction/shared/pids /home/rails/BondcubeProduction/releases/20150119152219/tmp/pids"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 537ms
triggering after callbacks for `deploy:finalize_update'
* 2015-01-19 15:22:22 executing `deploy:shared:global:symlink'
* executing "cd /home/rails/BondcubeProduction/releases/20150119152219 &&\\\n rm -rf public/system"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 613ms
* executing "ln -sf /home/rails/BondcubeProduction/shared/public/system /home/rails/BondcubeProduction/releases/20150119152219/public/system"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 488ms
* 2015-01-19 15:22:23 executing `deploy:shared:local:symlink'
* executing "cd /home/rails/BondcubeProduction/releases/20150119152219 &&\\\n rm -rf"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 444ms
* 2015-01-19 15:22:23 executing `deploy:rake_tasks'
* 2015-01-19 15:22:23 executing `deploy:rake_tasks:global'
* 2015-01-19 15:22:23 executing `packages:install'
** Skipping, no packages defined for installation
* 2015-01-19 15:22:23 executing `gems:install'
triggering before callbacks for `gems:install'
* 2015-01-19 15:22:23 executing `packages:install'
** Skipping, no packages defined for installation
Checking required gems are installed
triggering after callbacks for `gems:install'
* 2015-01-19 15:22:23 executing `bundler:install'
* executing "(cd /home/rails/BondcubeProduction/releases/20150119152219 && bundle install --gemfile /home/rails/BondcubeProduction/releases/20150119152219/Gemfile --quiet --path /home/rails/BondcubeProduction/shared/bundle --deployment --without development test && ln -sf /home/rails/BondcubeProduction/shared/bundle /home/rails/BondcubeProduction/releases/20150119152219/vendor)"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 2092ms
* 2015-01-19 15:22:25 executing `deploy:rake_tasks:singleton'
* executing "ls -x /home/rails/BondcubeProduction/releases"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
command finished in 148ms
* executing "cd /home/rails/BondcubeProduction/releases/20150119152219 ; bundle exec rake RAILS_ENV=production db:create"
servers: ["mortgagesor-004.vm.brightbox.net"]
[mortgagesor-004.vm.brightbox.net] executing command
** [out :: mortgagesor-004.vm.brightbox.net] DEPRECATION WARNING: Support for Rails < 4.1.0 will be dropped. (called from <top (required)> at /home/rails/BondcubeProduction/shared/bundle/ruby/1.9.1/bundler/gems/active_admin-1eda0b7bb7d9/lib/active_admin.rb:8)
** [out :: mortgagesor-004.vm.brightbox.net] WARNING: The rest_client gem is deprecated and will be removed from RubyGems. Please use rest-client gem instead.
** [out :: mortgagesor-004.vm.brightbox.net] Access denied for user 'mortgagesor'@'10.1.171.186' (using password: YES)Please provide the root password for your mysql installation
** [out :: mortgagesor-004.vm.brightbox.net] >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment