Skip to content

Instantly share code, notes, and snippets.

@mattrw89
Created June 22, 2011 14:03
Show Gist options
  • Save mattrw89/1040146 to your computer and use it in GitHub Desktop.
Save mattrw89/1040146 to your computer and use it in GitHub Desktop.
Matt-Webbs-MacBook-Pro:missionhub doulos$ git commit -am "more api tests + fix phone_number&email_address output in people api"
[master a6188a2] more api tests + fix phone_number&email_address output in people api
5 files changed, 134 insertions(+), 40 deletions(-)
rewrite app/controllers/api/contact_assignments_controller.rb (60%)
Matt-Webbs-MacBook-Pro:missionhub doulos$ git pull
Already up-to-date.
Matt-Webbs-MacBook-Pro:missionhub doulos$ git push
Counting objects: 27, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 2.64 KiB, done.
Total 14 (delta 11), reused 0 (delta 0)
To [email protected]:/twinge/missionhub.git
1764f68..a6188a2 master -> master
Matt-Webbs-MacBook-Pro:missionhub doulos$ cpd
* executing `production'
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote https://github.com/twinge/missionhub.git master"
command finished in 3183ms
* getting (via checkout) revision a6188a23758377bf243fca92372b5b5f0bbb3756 to /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757
executing locally: git clone -q https://github.com/twinge/missionhub.git /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757 && cd /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757 && git checkout -q -b deploy a6188a23758377bf243fca92372b5b5f0bbb3756 && git submodule -q init && git submodule -q sync && git submodule -q update --init --recursive
Cloning into vendor/plugins/questionnaire_engine...
remote: Counting objects: 3931, done.
remote: Compressing objects: 100% (1573/1573), done.
remote: Total 3931 (delta 2155), reused 3834 (delta 2058)
Receiving objects: 100% (3931/3931), 1.96 MiB | 530 KiB/s, done.
Resolving deltas: 100% (2155/2155), done.
command finished in 94810ms
compressing /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757 to /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757.tar.gz
executing locally: tar chzf 20110622051757.tar.gz 20110622051757
command finished in 2551ms
servers: ["172.16.1.126"]
** sftp upload /var/folders/B7/B7mnOEktGEqk2Hn+UrpzjE+++TI/-Tmp-/20110622051757.tar.gz -> /tmp/20110622051757.tar.gz
[172.16.1.126] /tmp/20110622051757.tar.gz
[172.16.1.126] done
* sftp upload complete
* executing "cd /var/www/html/production/mh/releases && tar xzf /tmp/20110622051757.tar.gz && rm /tmp/20110622051757.tar.gz"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 1069ms
* executing `deploy:finalize_update'
* executing "chmod -R g+w /var/www/html/production/mh/releases/20110622051757"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 1072ms
* executing "rm -rf /var/www/html/production/mh/releases/20110622051757/log /var/www/html/production/mh/releases/20110622051757/public/system /var/www/html/production/mh/releases/20110622051757/tmp/pids &&\\\n mkdir -p /var/www/html/production/mh/releases/20110622051757/public &&\\\n mkdir -p /var/www/html/production/mh/releases/20110622051757/tmp &&\\\n ln -s /var/www/html/production/mh/shared/log /var/www/html/production/mh/releases/20110622051757/log &&\\\n ln -s /var/www/html/production/mh/shared/system /var/www/html/production/mh/releases/20110622051757/public/system &&\\\n ln -s /var/www/html/production/mh/shared/pids /var/www/html/production/mh/releases/20110622051757/tmp/pids"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 924ms
* executing "find /var/www/html/production/mh/releases/20110622051757/public/images /var/www/html/production/mh/releases/20110622051757/public/stylesheets /var/www/html/production/mh/releases/20110622051757/public/javascripts -exec touch -t 201106220525.46 {} ';'; true"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
** [out :: 172.16.1.126] find: `/var/www/html/production/mh/releases/20110622051757/public/images': No such file or directory
** [out :: 172.16.1.126] find: `/var/www/html/production/mh/releases/20110622051757/public/stylesheets': No such file or directory
** [out :: 172.16.1.126] find: `/var/www/html/production/mh/releases/20110622051757/public/javascripts': No such file or directory
command finished in 1123ms
triggering after callbacks for `deploy:update_code'
* executing `local_changes'
* executing "ln -s /var/www/html/production/mh/shared/bundle /var/www/html/production/mh/releases/20110622051757/vendor/bundle &&\\\n export LD_LIBRARY_PATH=/opt/oracle/instantclient_10_2 &&\\\n cd /var/www/html/production/mh/releases/20110622051757 && bundle install --deployment --without development &&\\\n ln -s /var/www/html/production/mh/shared/config/database.yml /var/www/html/production/mh/releases/20110622051757/config/database.yml &&\\\n ln -s /var/www/html/production/mh/shared/config/config.yml /var/www/html/production/mh/releases/20110622051757/config/config.yml &&\\\n ln -s /var/www/html/production/mh/shared/config/initializers/email.rb /var/www/html/production/mh/releases/20110622051757/config/initializers/email.rb &&\\\n \\\n \\\n mkdir -p -m 770 /var/www/html/production/mh/shared/tmp/{cache,sessions,sockets,pids} &&\\\n rm -Rf /var/www/html/production/mh/releases/20110622051757/tmp && \\\n ln -s /var/www/html/production/mh/shared/tmp /var/www/html/production/mh/releases/20110622051757/tmp"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
** [out :: 172.16.1.126] Using rake (0.8.7)
** [out :: 172.16.1.126] Using multi_json (1.0.3)
** [out :: 172.16.1.126] Using activesupport (3.1.0.rc3)
** [out :: 172.16.1.126] Using bcrypt-ruby (2.1.4)
** [out :: 172.16.1.126] Using builder (3.0.0)
** [out :: 172.16.1.126] Using i18n (0.6.0)
** [out :: 172.16.1.126] Using activemodel (3.1.0.rc3)
** [out :: 172.16.1.126] Using erubis (2.7.0)
** [out :: 172.16.1.126] Using rack (1.3.0)
** [out :: 172.16.1.126] Using rack-cache (1.0.2)
** [out :: 172.16.1.126] Using rack-mount (0.8.1)
** [out :: 172.16.1.126] Using rack-test (0.6.0)
** [out :: 172.16.1.126] Using hike (1.1.0)
** [out :: 172.16.1.126] Using tilt (1.3.2)
** [out :: 172.16.1.126] Using sprockets (2.0.0.beta.11)
** [out :: 172.16.1.126] Using tzinfo (0.3.28)
** [out :: 172.16.1.126] Using actionpack (3.1.0.rc3)
** [out :: 172.16.1.126] Using mime-types (1.16)
** [out :: 172.16.1.126] Using polyglot (0.3.1)
** [out :: 172.16.1.126] Using treetop (1.4.9)
** [out :: 172.16.1.126] Using mail (2.3.0)
** [out :: 172.16.1.126] Using actionmailer (3.1.0.rc3)
** [out :: 172.16.1.126] Using arel (2.1.1)
** [out :: 172.16.1.126] Using activerecord (3.1.0.rc3)
** [out :: 172.16.1.126] Using activeresource (3.1.0.rc3)
** [out :: 172.16.1.126] Using acts_as_list (0.1.3)
** [out :: 172.16.1.126] Using addressable (2.2.6)
** [out :: 172.16.1.126] Using ancestry (1.2.4)
** [out :: 172.16.1.126] Using awesome_print (0.4.0)
** [out :: 172.16.1.126] Using cancan (1.6.5)
** [out :: 172.16.1.126] Using highline (1.6.2)
** [out :: 172.16.1.126] Using net-ssh (2.1.4)
** [out :: 172.16.1.126] Using net-scp (1.0.4)
** [out :: 172.16.1.126] Using net-sftp (2.0.5)
** [out :: 172.16.1.126] Using net-ssh-gateway (1.1.0)
** [out :: 172.16.1.126] Using capistrano (2.6.0)
** [out :: 172.16.1.126] Using client_side_validations (3.1.0)
** [out :: 172.16.1.126] Using coffee-script-source (1.1.1)
** [out :: 172.16.1.126] Using execjs (1.2.0)
** [out :: 172.16.1.126] Using coffee-script (2.2.0)
** [out :: 172.16.1.126] Using crack (0.1.8)
** [out :: 172.16.1.126] Using orm_adapter (0.0.5)
** [out :: 172.16.1.126] Using warden (1.0.4)
** [out :: 172.16.1.126] Using devise (1.3.4)
** [out :: 172.16.1.126] Using dynamic_form (1.1.4)
** [out :: 172.16.1.126] Using enforce_schema_rules (0.0.16)
** [out :: 172.16.1.126] Using ephemeral_response (0.4.0)
** [out :: 172.16.1.126] Using factory_girl (2.0.0.beta2)
** [out :: 172.16.1.126] Using multipart-post (1.1.2)
** [out :: 172.16.1.126] Using faraday (0.6.1)
** [out :: 172.16.1.126] Using hashie (1.0.0)
** [out :: 172.16.1.126] Using hoptoad_notifier (2.4.11)
** [out :: 172.16.1.126] Using rack-ssl (1.3.2)
** [out :: 172.16.1.126] Using thor (0.14.6)
** [out :: 172.16.1.126] Using railties (3.1.0.rc3)
** [out :: 172.16.1.126] Using jquery-rails (1.0.11)
** [out :: 172.16.1.126] Using json (1.5.3)
** [out :: 172.16.1.126] Using bundler (1.0.10)
** [out :: 172.16.1.126] Using rails (3.1.0.rc3)
** [out :: 172.16.1.126] Using kaminari (0.12.4)
** [out :: 172.16.1.126] Using kgio (2.5.0)
** [out :: 172.16.1.126] Using mail_safe (0.3.1)
** [out :: 172.16.1.126] Using rest-client (1.6.3)
** [out :: 172.16.1.126] Using mini_fb (1.1.7)
** [out :: 172.16.1.126] Using multi_xml (0.2.2)
** [out :: 172.16.1.126] Using mysql2 (0.3.6)
** [out :: 172.16.1.126] Using oa-core (0.2.6)
** [out :: 172.16.1.126] Using oauth (0.4.4)
** [out :: 172.16.1.126] Using oauth2 (0.4.1)
** [out :: 172.16.1.126] Using oa-oauth (0.2.6)
** [out :: 172.16.1.126] Using paper_trail (2.2.5)
** [out :: 172.16.1.126] Using rack-offline (0.6.1)
** [out :: 172.16.1.126] Using railroady (1.0.2)
** [out :: 172.16.1.126] Using rails_admin (0.0.1) from git://github.com/twinge/rails_admin.git (at master)
** [out :: 172.16.1.126]
** [out :: 172.16.1.126] Using redis (2.2.1)
** [out :: 172.16.1.126] Using redis-namespace (1.0.3)
** [out :: 172.16.1.126] Using sinatra (1.2.6)
** [out :: 172.16.1.126] Using vegas (0.1.8)
** [out :: 172.16.1.126] Using resque (1.17.1)
** [out :: 172.16.1.126] Using rubycas-client (2.2.1)
** [out :: 172.16.1.126] Using rubycas-client-rails (0.0.1) from git://github.com/zuk/rubycas-client-rails.git (at master)
** [out :: 172.16.1.126] rubycas-client-rails at /var/www/html/production/mh/releases/20110622051757/vendor/bundle/ruby/1.9.1/bundler/gems/rubycas-client-rails-cec213ae2fbe did not have a valid gemspec.
** [out :: 172.16.1.126] This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
** [out :: 172.16.1.126] The validation message from Rubygems was:
** [out :: 172.16.1.126] missing value for attribute summary
** [out :: 172.16.1.126]
** [out :: 172.16.1.126] Using sass (3.1.3)
** [out :: 172.16.1.126]
** [out :: 172.16.1.126] Using shoulda (2.11.3)
** [out :: 172.16.1.126] Using sqlite3 (1.3.3)
** [out :: 172.16.1.126] Using sqlite3-ruby (1.3.3)
** [out :: 172.16.1.126] Using state_machine (1.0.1)
** [out :: 172.16.1.126] Using ya2yaml (0.30)
** [out :: 172.16.1.126] Using translate-rails3 (0.1.1) from git://github.com/romanbsd/translate.git (at master)
** [out :: 172.16.1.126]
** [out :: 172.16.1.126] Using trumant-rack-oauth2-server (2.2.1.1) from git://github.com/mattrw89/rack-oauth2-server.git (at active_record)
** [out :: 172.16.1.126]
** [out :: 172.16.1.126] Using uglifier (1.0.0)
** [out :: 172.16.1.126] Using unicorn (3.7.0)
** [out :: 172.16.1.126] Updating .gem files in vendor/cache
** [out :: 172.16.1.126] Your bundle is complete! It was installed into ./vendor/bundle
command finished in 3286ms
* executing `package_assets'
* executing "cd /var/www/html/production/mh/releases/20110622051757 && bundle exec rake assets:precompile RAILS_ENV=production"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
** [out :: 172.16.1.126] (in /var/www/html/production/mh/releases/20110622051757)
command finished in 17299ms
* executing `deploy:symlink'
* executing "rm -f /var/www/html/production/mh/current && ln -s /var/www/html/production/mh/releases/20110622051757 /var/www/html/production/mh/current"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 1061ms
** transaction: commit
* executing `deploy:restart'
* executing "sudo -p 'sudo password: ' /etc/init.d/unicorn upgrade"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
** [out :: 172.16.1.126]
command finished in 1388ms
triggering after callbacks for `deploy'
* executing `deploy:notify_hoptoad'
* executing "cat /var/www/html/production/mh/current/REVISION"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 1234ms
Notifying Hoptoad of Deploy (rake hoptoad:deploy TO=production REVISION=a6188a23758377bf243fca92372b5b5f0bbb3756 REPO=https://github.com/twinge/missionhub.git USER=doulos)
Hoptoad Notification Complete.
* executing `deploy:cleanup'
* executing "ls -x /var/www/html/production/mh/releases"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 323ms
** keeping 3 of 4 deployed releases
* executing "sudo -p 'sudo password: ' rm -rf /var/www/html/production/mh/releases/20110621141742"
servers: ["172.16.1.126"]
[172.16.1.126] executing command
command finished in 416ms
Matt-Webbs-MacBook-Pro:missionhub doulos$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment