Skip to content

Instantly share code, notes, and snippets.

@bklang
Created February 19, 2015 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bklang/d40bfb151fbf92485137 to your computer and use it in GitHub Desktop.
Save bklang/d40bfb151fbf92485137 to your computer and use it in GitHub Desktop.
[bklang@Springvale:~/src/phrg/nitro] (feature/search_connect_shared_files...mojolingo/feature/search_connect_shared_files|ruby-2.1.5)
[Wed Feb 18 18:37:02]$ cap dev6 deploy
INFO[c2038606] Running /usr/bin/env mkdir -p /tmp/nitro/ on 172.18.0.181
INFO[c2038606] Finished in 1.596 seconds with exit status 0 (successful).
INFOUploading /tmp/nitro/git-ssh.sh 100.0%
INFO[4399fc8e] Running /usr/bin/env chmod +x /tmp/nitro/git-ssh.sh on 172.18.0.181
INFO[4399fc8e] Finished in 0.149 seconds with exit status 0 (successful).
INFO[d252eca5] Running /usr/bin/env mkdir -pv /data/apps/ror/pws/shared /data/apps/ror/pws/releases on 172.18.0.181
INFO[d252eca5] Finished in 0.277 seconds with exit status 0 (successful).
INFO[fb179232] Running /usr/bin/env mkdir -pv /data/apps/ror/pws/shared/bin /data/apps/ror/pws/shared/log /data/apps/ror/pws/shared/tmp/pids /data/apps/ror/pws/shared/tmp/cache /data/apps/ror/pws/shared/tmp/sockets /data/apps/ror/pws/shared/vendor/bundle /data/apps/ror/pws/shared/config/components /data/apps/ror/pws/shared/public/audio /data/apps/ror/pws/shared/public/uploads /data/apps/ror/pws/shared/public/ui /data/apps/ror/pws/shared/assets /data/apps/ror/pws/shared/public/ckeditor_assets on 172.18.0.181
INFO[fb179232] Finished in 0.134 seconds with exit status 0 (successful).
INFO[f1be7a47] Running /usr/bin/env mkdir -pv /data/apps/ror/pws/shared/config /data/apps/ror/pws/shared/config /data/apps/ror/pws/shared/config /data/apps/ror/pws/shared/config on 172.18.0.181
INFO[f1be7a47] Finished in 0.143 seconds with exit status 0 (successful).
INFO[2e3c4675] Running /usr/bin/env mkdir -p /data/apps/ror/pws/shared/public/audio on 172.18.0.181
INFO[2e3c4675] Finished in 0.147 seconds with exit status 0 (successful).
INFO[5788c165] Running /usr/bin/env mkdir -p /data/apps/ror/pws/shared/public/system on 172.18.0.181
INFO[5788c165] Finished in 0.152 seconds with exit status 0 (successful).
INFO[97b30917] Running /usr/bin/env mkdir -p /data/apps/ror/pws/shared/public/uploads on 172.18.0.181
INFO[97b30917] Finished in 0.159 seconds with exit status 0 (successful).
INFO[56734fc0] Running /usr/bin/env mkdir -p /data/apps/ror/pws/shared/public/ui on 172.18.0.181
INFO[56734fc0] Finished in 0.152 seconds with exit status 0 (successful).
INFO[791f7505] Running /usr/bin/env mkdir -p /data/apps/ror/pws/shared/assets on 172.18.0.181
INFO[791f7505] Finished in 0.160 seconds with exit status 0 (successful).
INFOThe repository mirror is at /data/apps/ror/pws/repo
INFO[e89e5bea] Running /usr/bin/env git remote update on 172.18.0.181
INFO[e89e5bea] Finished in 1.554 seconds with exit status 0 (successful).
INFO[6a94bf06] Running /usr/bin/env mkdir -p /data/apps/ror/pws/releases/20150218233716 on 172.18.0.181
INFO[6a94bf06] Finished in 0.140 seconds with exit status 0 (successful).
INFO[ed4cc6cf] Running /usr/bin/env git archive feature/search_connect_shared_files | tar -x -C /data/apps/ror/pws/releases/20150218233716 on 172.18.0.181
INFO[ed4cc6cf] Finished in 1.004 seconds with exit status 0 (successful).
INFO[4cb8009d] Running /usr/bin/env echo "ce11ce0" >> REVISION on 172.18.0.181
INFO[4cb8009d] Finished in 0.141 seconds with exit status 0 (successful).
INFO[1d86dda2] Running /usr/bin/env mkdir -pv /data/apps/ror/pws/releases/20150218233716/config /data/apps/ror/pws/releases/20150218233716/config /data/apps/ror/pws/releases/20150218233716/config /data/apps/ror/pws/releases/20150218233716/config on 172.18.0.181
INFO[1d86dda2] Finished in 0.149 seconds with exit status 0 (successful).
INFO[99d68dfb] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/config/database.yml /data/apps/ror/pws/releases/20150218233716/config/database.yml on 172.18.0.181
INFO[99d68dfb] Finished in 0.128 seconds with exit status 0 (successful).
INFO[0a4a6f37] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/config/config.yml /data/apps/ror/pws/releases/20150218233716/config/config.yml on 172.18.0.181
INFO[0a4a6f37] Finished in 0.122 seconds with exit status 0 (successful).
INFO[9fc7cd9a] Running /usr/bin/env rm /data/apps/ror/pws/releases/20150218233716/config/ldap.yml on 172.18.0.181
INFO[9fc7cd9a] Finished in 0.154 seconds with exit status 0 (successful).
INFO[55fdad23] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/config/ldap.yml /data/apps/ror/pws/releases/20150218233716/config/ldap.yml on 172.18.0.181
INFO[55fdad23] Finished in 0.228 seconds with exit status 0 (successful).
INFO[9c916f98] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/config/god_environment.txt /data/apps/ror/pws/releases/20150218233716/config/god_environment.txt on 172.18.0.181
INFO[9c916f98] Finished in 0.307 seconds with exit status 0 (successful).
INFO[2ff998cb] Running /usr/bin/env mkdir -pv /data/apps/ror/pws/releases/20150218233716 /data/apps/ror/pws/releases/20150218233716 /data/apps/ror/pws/releases/20150218233716/tmp /data/apps/ror/pws/releases/20150218233716/tmp /data/apps/ror/pws/releases/20150218233716/tmp /data/apps/ror/pws/releases/20150218233716/vendor /data/apps/ror/pws/releases/20150218233716/config /data/apps/ror/pws/releases/20150218233716/public /data/apps/ror/pws/releases/20150218233716/public /data/apps/ror/pws/releases/20150218233716/public /data/apps/ror/pws/releases/20150218233716 /data/apps/ror/pws/releases/20150218233716/public on 172.18.0.181
INFO[2ff998cb] Finished in 0.391 seconds with exit status 0 (successful).
INFO[1a568f6c] Running /usr/bin/env rm -rf /data/apps/ror/pws/releases/20150218233716/bin on 172.18.0.181
INFO[1a568f6c] Finished in 0.308 seconds with exit status 0 (successful).
INFO[c5906c79] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/bin /data/apps/ror/pws/releases/20150218233716/bin on 172.18.0.181
INFO[c5906c79] Finished in 0.643 seconds with exit status 0 (successful).
INFO[2d11e7b1] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/log /data/apps/ror/pws/releases/20150218233716/log on 172.18.0.181
INFO[2d11e7b1] Finished in 1.021 seconds with exit status 0 (successful).
INFO[8dec8226] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/tmp/pids /data/apps/ror/pws/releases/20150218233716/tmp/pids on 172.18.0.181
INFO[8dec8226] Finished in 0.430 seconds with exit status 0 (successful).
INFO[dca48bfd] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/tmp/cache /data/apps/ror/pws/releases/20150218233716/tmp/cache on 172.18.0.181
INFO[dca48bfd] Finished in 4.255 seconds with exit status 0 (successful).
INFO[a018f3a4] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/tmp/sockets /data/apps/ror/pws/releases/20150218233716/tmp/sockets on 172.18.0.181
INFO[a018f3a4] Finished in 0.203 seconds with exit status 0 (successful).
INFO[64a7a748] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/vendor/bundle /data/apps/ror/pws/releases/20150218233716/vendor/bundle on 172.18.0.181
INFO[64a7a748] Finished in 0.161 seconds with exit status 0 (successful).
INFO[1f3ec091] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/config/components /data/apps/ror/pws/releases/20150218233716/config/components on 172.18.0.181
INFO[1f3ec091] Finished in 0.157 seconds with exit status 0 (successful).
INFO[9e912b67] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/public/audio /data/apps/ror/pws/releases/20150218233716/public/audio on 172.18.0.181
INFO[9e912b67] Finished in 0.140 seconds with exit status 0 (successful).
INFO[8bde6df2] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/public/uploads /data/apps/ror/pws/releases/20150218233716/public/uploads on 172.18.0.181
INFO[8bde6df2] Finished in 0.108 seconds with exit status 0 (successful).
INFO[69a8e270] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/public/ui /data/apps/ror/pws/releases/20150218233716/public/ui on 172.18.0.181
INFO[69a8e270] Finished in 0.118 seconds with exit status 0 (successful).
INFO[cc177650] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/assets /data/apps/ror/pws/releases/20150218233716/assets on 172.18.0.181
INFO[cc177650] Finished in 0.133 seconds with exit status 0 (successful).
INFO[2f14c93f] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/public/ckeditor_assets /data/apps/ror/pws/releases/20150218233716/public/ckeditor_assets on 172.18.0.181
INFO[2f14c93f] Finished in 0.124 seconds with exit status 0 (successful).
INFO[10db710d] Running /usr/bin/env bundle install --binstubs /data/apps/ror/pws/shared/bin --path /data/apps/ror/pws/shared/bundle --without development test --deployment --quiet on 172.18.0.181
INFO[10db710d] Finished in 1.197 seconds with exit status 0 (successful).
INFO[8e54fa57] Running bundle exec rake assets:precompile on 172.18.0.181
INFO[8e54fa57] Finished in 73.052 seconds with exit status 0 (successful).
INFO[3f28b62e] Running /usr/bin/env cp /data/apps/ror/pws/releases/20150218233716/public/ui/manifest* /data/apps/ror/pws/releases/20150218233716/assets_manifest_backup on 172.18.0.181
INFO[3f28b62e] Finished in 0.170 seconds with exit status 0 (successful).
INFO[e9ca1dab] Running bundle exec rake db:migrate on 172.18.0.181
INFO[e9ca1dab] Finished in 11.354 seconds with exit status 0 (successful).
Skipping training database migration because the training environment is not configured.
INFOSnapshotting and reindexing Elasticsearch...
INFO[3b761ac2] Running bundle exec rake es:prepare_connect_messages on 172.18.0.181
INFO[3b761ac2] Finished in 10.354 seconds with exit status 0 (successful).
INFO[0dbd42a8] Running bundle exec rake es:files:create on 172.18.0.181
INFO[0dbd42a8] Finished in 12.133 seconds with exit status 0 (successful).
INFO[474df1e7] Running /usr/bin/env rm -fr /data/apps/ror/pws/releases/20150218233716/public/system on 172.18.0.181
INFO[474df1e7] Finished in 6.300 seconds with exit status 0 (successful).
INFO[27ab0ffe] Running /usr/bin/env ln -s /data/apps/ror/pws/shared/system /data/apps/ror/pws/releases/20150218233716/public/system on 172.18.0.181
INFO[27ab0ffe] Finished in 0.877 seconds with exit status 0 (successful).
INFO[b2ec7e89] Running /usr/bin/env rm -rf /data/apps/ror/pws/current on 172.18.0.181
INFO[b2ec7e89] Finished in 0.239 seconds with exit status 0 (successful).
INFO[044e66d8] Running /usr/bin/env ln -s /data/apps/ror/pws/releases/20150218233716 /data/apps/ror/pws/current on 172.18.0.181
INFO[044e66d8] Finished in 0.223 seconds with exit status 0 (successful).
INFO[f2b9ff47] Running /usr/bin/env touch /data/apps/ror/pws/releases/20150218233716/tmp/restart.txt on 172.18.0.181
INFO[f2b9ff47] Finished in 0.189 seconds with exit status 0 (successful).
INFO[daf9fb49] Running /usr/bin/env ps xu | grep delayed_job | grep monitor | grep -v grep | awk '{print $2}' | xargs -r kill && rm -fr /data/apps/ror/pws/shared/pids/*monitor.pid on 172.18.0.181
INFO[daf9fb49] Finished in 0.418 seconds with exit status 0 (successful).
INFO[5b439c57] Running /usr/bin/env bundle exec script/delayed_job stop --pid-dir=/data/apps/ror/pws/shared/pids on 172.18.0.181
INFO[5b439c57] Finished in 44.592 seconds with exit status 0 (successful).
Skipping training delayed jobs. Not configured.
INFO[2dec18d8] Running /usr/bin/env bundle exec script/delayed_job -m -n 2 --queues=default,sales_summary,projects,home_import,recording,issuing,reports,zipcode_migration,documents,assets,nams --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[2dec18d8] Finished in 27.881 seconds with exit status 0 (successful).
INFO[705a1cc8] Running /usr/bin/env bundle exec script/delayed_job -m -i 10000 --queue=smb_password_changes --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[705a1cc8] Finished in 24.526 seconds with exit status 0 (successful).
INFO[2ece37b1] Running /usr/bin/env bundle exec script/delayed_job -m -i 11000 --queue=connect_room_management,connect_room_membership --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[2ece37b1] Finished in 26.706 seconds with exit status 0 (successful).
INFO[c3f8e6aa] Running /usr/bin/env bundle exec script/delayed_job -m -i 900 --queue=sale_updates --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[c3f8e6aa] Finished in 28.047 seconds with exit status 0 (successful).
INFO[9eb9fd8b] Running /usr/bin/env bundle exec script/delayed_job -m -i 901 --queue=dashboard --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[9eb9fd8b] Finished in 25.230 seconds with exit status 0 (successful).
INFO[f2f7fda5] Running /usr/bin/env bundle exec script/delayed_job -m -i 902 --queue=dashboard --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[f2f7fda5] Finished in 26.590 seconds with exit status 0 (successful).
INFO[d4ab6688] Running /usr/bin/env bundle exec script/delayed_job -m -i 903 --queue=i360 --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[d4ab6688] Finished in 25.271 seconds with exit status 0 (successful).
INFO[e334c175] Running /usr/bin/env bundle exec script/delayed_job -m -i 904 --queue=i360 --pid-dir=/data/apps/ror/pws/shared/pids start on 172.18.0.181
INFO[e334c175] Finished in 25.712 seconds with exit status 0 (successful).
Skipping training delayed jobs. Not configured.
Skipping training delayed jobs. Not configured.
Skipping training delayed jobs. Not configured.
Skipping training delayed jobs. Not configured.
INFOKeeping 10 of 11 deployed releases on 172.18.0.181
INFO[f344a7d2] Running /usr/bin/env rm -rf /data/apps/ror/pws/releases/20150206184324 on 172.18.0.181
INFO[f344a7d2] Finished in 1.164 seconds with exit status 0 (successful).
INFO[6a3db355] Running /usr/bin/env echo "Branch feature/search_connect_shared_files (at ce11ce0) deployed as release 20150218233716 by bklang" >> /data/apps/ror/pws/revisions.log on 172.18.0.181
INFO[6a3db355] Finished in 0.103 seconds with exit status 0 (successful).
Recorded deployment to 'Nitro (DEV6)' (2015-02-18 18:44:12 -0500)
INFOUploaded deployment information to New Relic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment