Skip to content

Instantly share code, notes, and snippets.

@dignifiedquire
Last active August 29, 2015 14:24
Show Gist options
  • Save dignifiedquire/43f9ccd8c57e39f32818 to your computer and use it in GitHub Desktop.
Save dignifiedquire/43f9ccd8c57e39f32818 to your computer and use it in GitHub Desktop.
❯ be cap site:staging deploy
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
INFO [09a2d80d] Running /usr/bin/env mkdir -p /var/build/site/repo as [email protected]
DEBUG [09a2d80d] Command: /usr/bin/env mkdir -p /var/build/site/repo
INFO [09a2d80d] Finished in 2.268 seconds with exit status 0 (successful).
INFO [bfcc5d63] Running /usr/bin/env mkdir -p /tmp/site/ as [email protected]
DEBUG [bfcc5d63] Command: /usr/bin/env mkdir -p /tmp/site/
INFO [bfcc5d63] Finished in 0.247 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/site/git-ssh.sh 0.0%
INFO Uploading /tmp/site/git-ssh.sh 100.0%
INFO [0ad20db4] Running /usr/bin/env chmod +x /tmp/site/git-ssh.sh as [email protected]
DEBUG [0ad20db4] Command: /usr/bin/env chmod +x /tmp/site/git-ssh.sh
INFO [0ad20db4] Finished in 0.253 seconds with exit status 0 (successful).
Please enter branch (master): 4.0
INFO [5dd71173] Running /usr/bin/env git ls-remote --heads https://github.com/codio/site.git as [email protected]
DEBUG [5dd71173] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git ls-remote --heads https://github.com/codio/site.git )
DEBUG [5dd71173] 02f9911029afcd1cf1cea980063d340d1b08ea34 refs/heads/4.0
DEBUG [5dd71173] d7b1568bb16e392050287ba872106126e72b284c refs/heads/bitbucket-blog-post
DEBUG [5dd71173] b9e72427e8d238118d3136d338c83b4ca7554659 refs/heads/docs
DEBUG [5dd71173] 83f8801cbdf98effe5674d6477650bc0235f3cb5 refs/heads/edu_changes
DEBUG [5dd71173] 6f68fc05afc986f3cecac48449ef34b60ed588b1 refs/heads/flow
DEBUG [5dd71173] e26e88e70f0e8290092db372fa261b9777c1a8d4 refs/heads/gdocs
DEBUG [5dd71173] 274b3e2088552e5971bacd010157f9df1fe97fef refs/heads/improved_subpages
DEBUG [5dd71173] 3ba0e4fc7a31576305808f2118306e29d34aa7fd refs/heads/master
DEBUG [5dd71173] 122f36fa1d2936b73bdabc56ebd653d621685b18 refs/heads/new-copy
DEBUG [5dd71173] 69cf80df41c777e0bb2050ead845d06157612a3f refs/heads/no_pricing_images
DEBUG [5dd71173] 448bc00fa3f9c28f78911f2a0ee02b7b8f4c2d35 refs/heads/partsdocs
DEBUG [5dd71173] b7f2f1da36b9af1836e74ced523dcca53e392502 refs/heads/peter-codio
DEBUG [5dd71173] d095988583ac8c84ce2129634c7da9442b513214 refs/heads/pressrelease
DEBUG [5dd71173] 402c7f82ce6e7b4256a78cc09213d3c7452f33ff refs/heads/pricing
DEBUG [5dd71173] 9a80872e091f51ea7b8a556e408c25c63472eaf8 refs/heads/rename
DEBUG [5dd71173] a28b55ff4335b9f758ed8a901a7ca47f96f90971 refs/heads/reorg
DEBUG [5dd71173] 1326c08ea480fc616c9beb0a9392237a1993eab7 refs/heads/upgrade-gems
INFO [5dd71173] Finished in 0.398 seconds with exit status 0 (successful).
DEBUG [f6615de9] Running /usr/bin/env [ -f /var/build/site/repo/HEAD ] as [email protected]
DEBUG [f6615de9] Command: [ -f /var/build/site/repo/HEAD ]
DEBUG [f6615de9] Finished in 0.259 seconds with exit status 1 (failed).
DEBUG [d59613a0] Running /usr/bin/env if test ! -d /var/build/site; then echo "Directory does not exist '/var/build/site'" 1>&2; false; fi as [email protected]
DEBUG [d59613a0] Command: if test ! -d /var/build/site; then echo "Directory does not exist '/var/build/site'" 1>&2; false; fi
DEBUG [d59613a0] Finished in 0.256 seconds with exit status 0 (successful).
INFO [1ec69bfd] Running /usr/bin/env git clone --mirror https://github.com/codio/site.git /var/build/site/repo as [email protected]
DEBUG [1ec69bfd] Command: cd /var/build/site && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git clone --mirror https://github.com/codio/site.git /var/build/site/repo )
DEBUG [1ec69bfd] Cloning into bare repository '/var/build/site/repo'...
INFO [1ec69bfd] Finished in 31.792 seconds with exit status 0 (successful).
DEBUG [1e29e366] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [1e29e366] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [1e29e366] Finished in 0.245 seconds with exit status 0 (successful).
INFO [bcbd5458] Running /usr/bin/env git remote update as [email protected]
DEBUG [bcbd5458] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git remote update )
DEBUG [bcbd5458] Fetching origin
INFO [bcbd5458] Finished in 0.470 seconds with exit status 0 (successful).
DEBUG [b6419a9b] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [b6419a9b] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [b6419a9b] Finished in 0.253 seconds with exit status 0 (successful).
INFO [0e049479] Running /usr/bin/env mkdir -p /var/build/site/builds/20150703125013 as [email protected]
DEBUG [0e049479] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env mkdir -p /var/build/site/builds/20150703125013 )
INFO [0e049479] Finished in 0.258 seconds with exit status 0 (successful).
INFO [37ef4f84] Running /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703125013 as [email protected]
DEBUG [37ef4f84] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703125013 )
INFO [37ef4f84] Finished in 0.369 seconds with exit status 0 (successful).
DEBUG [a5cd6ee9] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [a5cd6ee9] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [a5cd6ee9] Finished in 0.261 seconds with exit status 0 (successful).
DEBUG [aac4e827] Running /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 as [email protected]
DEBUG [aac4e827] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 )
DEBUG [aac4e827] 02f9911
DEBUG [aac4e827] Finished in 0.258 seconds with exit status 0 (successful).
DEBUG [a89d6a56] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi as [email protected]
DEBUG [a89d6a56] Command: if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi
DEBUG [a89d6a56] Finished in 0.254 seconds with exit status 0 (successful).
INFO [542a300a] Running /usr/bin/env echo "02f9911" >> REVISION as [email protected]
DEBUG [542a300a] Command: cd /var/build/site/builds/20150703125013 && /usr/bin/env echo "02f9911" >> REVISION
INFO [542a300a] Finished in 0.266 seconds with exit status 0 (successful).
DEBUG [984998cb] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi as [email protected]
DEBUG [984998cb] Command: if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi
DEBUG [984998cb] Directory does not exist '/var/build/site/builds/20150703125013'
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703125013'
SSHKit::Command::Failed: if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703125013; then echo "Directory does not exist '/var/build/site/builds/20150703125013'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703125013'
/Users/dignifiedquire/work/codio/deploy/tasks/bundler.rb:24:in `block (3 levels) in <top (required)>'
Tasks: TOP => bundler:install
(See full trace by running task with --trace)
❯ be cap site:staging deploy -t
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
** Invoke site:staging (first_time)
** Execute site:staging
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke deploy (first_time)
** Invoke deploy:build (first_time)
** Execute deploy:build
** Invoke deploy:build:prepare (first_time)
** Execute deploy:build:prepare
INFO [412b2e94] Running /usr/bin/env mkdir -p /var/build/site/repo as [email protected]
DEBUG [412b2e94] Command: /usr/bin/env mkdir -p /var/build/site/repo
INFO [412b2e94] Finished in 1.809 seconds with exit status 0 (successful).
** Invoke deploy:build:git:check (first_time)
** Invoke deploy:build:git:wrapper (first_time)
** Execute deploy:build:git:wrapper
INFO [be88782f] Running /usr/bin/env mkdir -p /tmp/site/ as [email protected]
DEBUG [be88782f] Command: /usr/bin/env mkdir -p /tmp/site/
INFO [be88782f] Finished in 0.247 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/site/git-ssh.sh 0.0%
INFO Uploading /tmp/site/git-ssh.sh 100.0%
INFO [9cf4c508] Running /usr/bin/env chmod +x /tmp/site/git-ssh.sh as [email protected]
DEBUG [9cf4c508] Command: /usr/bin/env chmod +x /tmp/site/git-ssh.sh
INFO [9cf4c508] Finished in 0.258 seconds with exit status 0 (successful).
** Execute deploy:build:git:check
Please enter branch (master): 4.0
INFO [e04c92e6] Running /usr/bin/env git ls-remote --heads https://github.com/codio/site.git as [email protected]
DEBUG [e04c92e6] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git ls-remote --heads https://github.com/codio/site.git )
DEBUG [e04c92e6] 02f9911029afcd1cf1cea980063d340d1b08ea34 refs/heads/4.0
DEBUG [e04c92e6] d7b1568bb16e392050287ba872106126e72b284c refs/heads/bitbucket-blog-post
DEBUG [e04c92e6] b9e72427e8d238118d3136d338c83b4ca7554659 refs/heads/docs
DEBUG [e04c92e6] 83f8801cbdf98effe5674d6477650bc0235f3cb5 refs/heads/edu_changes
DEBUG [e04c92e6] 6f68fc05afc986f3cecac48449ef34b60ed588b1 refs/heads/flow
DEBUG [e04c92e6] e26e88e70f0e8290092db372fa261b9777c1a8d4 refs/heads/gdocs
DEBUG [e04c92e6] 274b3e2088552e5971bacd010157f9df1fe97fef refs/heads/improved_subpages
DEBUG [e04c92e6] 3ba0e4fc7a31576305808f2118306e29d34aa7fd refs/heads/master
DEBUG [e04c92e6] 122f36fa1d2936b73bdabc56ebd653d621685b18 refs/heads/new-copy
DEBUG [e04c92e6] 69cf80df41c777e0bb2050ead845d06157612a3f refs/heads/no_pricing_images
DEBUG [e04c92e6] 448bc00fa3f9c28f78911f2a0ee02b7b8f4c2d35 refs/heads/partsdocs
DEBUG [e04c92e6] b7f2f1da36b9af1836e74ced523dcca53e392502 refs/heads/peter-codio
DEBUG [e04c92e6] d095988583ac8c84ce2129634c7da9442b513214 refs/heads/pressrelease
DEBUG [e04c92e6] 402c7f82ce6e7b4256a78cc09213d3c7452f33ff refs/heads/pricing
DEBUG [e04c92e6] 9a80872e091f51ea7b8a556e408c25c63472eaf8 refs/heads/rename
DEBUG [e04c92e6] a28b55ff4335b9f758ed8a901a7ca47f96f90971 refs/heads/reorg
DEBUG [e04c92e6] 1326c08ea480fc616c9beb0a9392237a1993eab7 refs/heads/upgrade-gems
INFO [e04c92e6] Finished in 0.388 seconds with exit status 0 (successful).
** Invoke deploy:build:git:create (first_time)
** Invoke deploy:build:git:update (first_time)
** Invoke deploy:build:git:clone (first_time)
** Invoke deploy:build:git:wrapper
** Execute deploy:build:git:clone
DEBUG [b22c4b8b] Running /usr/bin/env [ -f /var/build/site/repo/HEAD ] as [email protected]
DEBUG [b22c4b8b] Command: [ -f /var/build/site/repo/HEAD ]
DEBUG [b22c4b8b] Finished in 0.250 seconds with exit status 0 (successful).
INFO The repository mirror is at /var/build/site/repo
** Execute deploy:build:git:update
DEBUG [f7d1e03f] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [f7d1e03f] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [f7d1e03f] Finished in 0.259 seconds with exit status 0 (successful).
INFO [fc6d2215] Running /usr/bin/env git remote update as [email protected]
DEBUG [fc6d2215] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git remote update )
DEBUG [fc6d2215] Fetching origin
INFO [fc6d2215] Finished in 0.394 seconds with exit status 0 (successful).
** Execute deploy:build:git:create
DEBUG [f9894289] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [f9894289] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [f9894289] Finished in 0.261 seconds with exit status 0 (successful).
INFO [c6e5be57] Running /usr/bin/env mkdir -p /var/build/site/builds/20150703125431 as [email protected]
DEBUG [c6e5be57] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env mkdir -p /var/build/site/builds/20150703125431 )
INFO [c6e5be57] Finished in 0.253 seconds with exit status 0 (successful).
INFO [eb72350e] Running /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703125431 as [email protected]
DEBUG [eb72350e] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703125431 )
INFO [eb72350e] Finished in 0.363 seconds with exit status 0 (successful).
** Invoke deploy:build:set_current_revision (first_time)
** Execute deploy:build:set_current_revision
DEBUG [b13fb8e7] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [b13fb8e7] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [b13fb8e7] Finished in 0.254 seconds with exit status 0 (successful).
DEBUG [e47ab9a5] Running /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 as [email protected]
DEBUG [e47ab9a5] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 )
DEBUG [e47ab9a5] 02f9911
DEBUG [e47ab9a5] Finished in 0.260 seconds with exit status 0 (successful).
DEBUG [0abe1453] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi as [email protected]
DEBUG [0abe1453] Command: if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi
DEBUG [0abe1453] Finished in 0.249 seconds with exit status 0 (successful).
INFO [f75dc0c7] Running /usr/bin/env echo "02f9911" >> REVISION as [email protected]
DEBUG [f75dc0c7] Command: cd /var/build/site/builds/20150703125431 && /usr/bin/env echo "02f9911" >> REVISION
INFO [f75dc0c7] Finished in 0.260 seconds with exit status 0 (successful).
** Invoke deploy:build:perform (first_time)
** Execute deploy:build:perform
** Invoke bundler:install (first_time)
** Execute bundler:install
DEBUG [263dade8] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi as [email protected]
DEBUG [263dade8] Command: if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi
DEBUG [263dade8] Directory does not exist '/var/build/site/builds/20150703125431'
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703125431'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:16:in `rescue in block (2 levels) in execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
SSHKit::Command::Failed: if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703125431; then echo "Directory does not exist '/var/build/site/builds/20150703125431'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703125431'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/command.rb:95:in `exit_status='
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:179:in `block in _execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `tap'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `_execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:66:in `execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:71:in `within'
/Users/dignifiedquire/work/codio/deploy/tasks/bundler.rb:24:in `block (3 levels) in <top (required)>'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `run'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:13:in `block (2 levels) in execute'
Tasks: TOP => bundler:install
❯ be cap site:staging deploy -t
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /Developer/NVIDIA/CUDA-7.0/bin in PATH, mode 040777
** Invoke site:staging (first_time)
** Execute site:staging
** Invoke load:defaults (first_time)
** Execute load:defaults
** Invoke bundler:map_bins (first_time)
** Execute bundler:map_bins
** Invoke deploy (first_time)
** Invoke deploy:build (first_time)
** Execute deploy:build
** Invoke deploy:build:prepare (first_time)
** Execute deploy:build:prepare
INFO [f0efec63] Running /usr/bin/env mkdir -p /var/build/site/repo as [email protected]
DEBUG [f0efec63] Command: /usr/bin/env mkdir -p /var/build/site/repo
INFO [f0efec63] Finished in 1.772 seconds with exit status 0 (successful).
** Invoke deploy:build:git:check (first_time)
** Invoke deploy:build:git:wrapper (first_time)
** Execute deploy:build:git:wrapper
INFO [cccd3557] Running /usr/bin/env mkdir -p /tmp/site/ as [email protected]
DEBUG [cccd3557] Command: /usr/bin/env mkdir -p /tmp/site/
INFO [cccd3557] Finished in 0.234 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/site/git-ssh.sh 0.0%
INFO Uploading /tmp/site/git-ssh.sh 100.0%
INFO [939ef916] Running /usr/bin/env chmod +x /tmp/site/git-ssh.sh as [email protected]
DEBUG [939ef916] Command: /usr/bin/env chmod +x /tmp/site/git-ssh.sh
INFO [939ef916] Finished in 0.244 seconds with exit status 0 (successful).
** Execute deploy:build:git:check
Please enter branch (master): 4.0
INFO [cb9d9e4e] Running /usr/bin/env git ls-remote --heads https://github.com/codio/site.git as [email protected]
DEBUG [cb9d9e4e] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git ls-remote --heads https://github.com/codio/site.git )
DEBUG [cb9d9e4e] 02f9911029afcd1cf1cea980063d340d1b08ea34 refs/heads/4.0
DEBUG [cb9d9e4e] d7b1568bb16e392050287ba872106126e72b284c refs/heads/bitbucket-blog-post
DEBUG [cb9d9e4e] b9e72427e8d238118d3136d338c83b4ca7554659 refs/heads/docs
DEBUG [cb9d9e4e] 83f8801cbdf98effe5674d6477650bc0235f3cb5 refs/heads/edu_changes
DEBUG [cb9d9e4e] 6f68fc05afc986f3cecac48449ef34b60ed588b1 refs/heads/flow
DEBUG [cb9d9e4e] e26e88e70f0e8290092db372fa261b9777c1a8d4 refs/heads/gdocs
DEBUG [cb9d9e4e] 274b3e2088552e5971bacd010157f9df1fe97fef refs/heads/improved_subpages
DEBUG [cb9d9e4e] 3ba0e4fc7a31576305808f2118306e29d34aa7fd refs/heads/master
DEBUG [cb9d9e4e] 122f36fa1d2936b73bdabc56ebd653d621685b18 refs/heads/new-copy
DEBUG [cb9d9e4e] 69cf80df41c777e0bb2050ead845d06157612a3f refs/heads/no_pricing_images
DEBUG [cb9d9e4e] 448bc00fa3f9c28f78911f2a0ee02b7b8f4c2d35 refs/heads/partsdocs
DEBUG [cb9d9e4e] b7f2f1da36b9af1836e74ced523dcca53e392502 refs/heads/peter-codio
DEBUG [cb9d9e4e] d095988583ac8c84ce2129634c7da9442b513214 refs/heads/pressrelease
DEBUG [cb9d9e4e] 402c7f82ce6e7b4256a78cc09213d3c7452f33ff refs/heads/pricing
DEBUG [cb9d9e4e] 9a80872e091f51ea7b8a556e408c25c63472eaf8 refs/heads/rename
DEBUG [cb9d9e4e] a28b55ff4335b9f758ed8a901a7ca47f96f90971 refs/heads/reorg
DEBUG [cb9d9e4e] 1326c08ea480fc616c9beb0a9392237a1993eab7 refs/heads/upgrade-gems
INFO [cb9d9e4e] Finished in 0.388 seconds with exit status 0 (successful).
** Invoke deploy:build:git:create (first_time)
** Invoke deploy:build:git:update (first_time)
** Invoke deploy:build:git:clone (first_time)
** Invoke deploy:build:git:wrapper
** Execute deploy:build:git:clone
DEBUG [11067c22] Running /usr/bin/env [ -f /var/build/site/repo/HEAD ] as [email protected]
DEBUG [11067c22] Command: [ -f /var/build/site/repo/HEAD ]
DEBUG [11067c22] Finished in 0.249 seconds with exit status 0 (successful).
INFO The repository mirror is at /var/build/site/repo
** Execute deploy:build:git:update
DEBUG [da28c35f] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [da28c35f] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [da28c35f] Finished in 0.244 seconds with exit status 0 (successful).
INFO [f81a639a] Running /usr/bin/env git remote update as [email protected]
DEBUG [f81a639a] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git remote update )
DEBUG [f81a639a] Fetching origin
INFO [f81a639a] Finished in 0.390 seconds with exit status 0 (successful).
** Execute deploy:build:git:create
DEBUG [6ac2c74b] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [6ac2c74b] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [6ac2c74b] Finished in 0.242 seconds with exit status 0 (successful).
INFO [1fe22db8] Running /usr/bin/env mkdir -p /var/build/site/builds/20150703130002 as [email protected]
DEBUG [1fe22db8] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env mkdir -p /var/build/site/builds/20150703130002 )
INFO [1fe22db8] Finished in 0.236 seconds with exit status 0 (successful).
INFO [b518654b] Running /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703130002 as [email protected]
DEBUG [b518654b] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git archive 4.0 | tar -x -f - -C /var/build/site/builds/20150703130002 )
INFO [b518654b] Finished in 0.353 seconds with exit status 0 (successful).
** Invoke deploy:build:set_current_revision (first_time)
** Execute deploy:build:set_current_revision
DEBUG [eafd5cc0] Running /usr/bin/env if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi as [email protected]
DEBUG [eafd5cc0] Command: if test ! -d /var/build/site/repo; then echo "Directory does not exist '/var/build/site/repo'" 1>&2; false; fi
DEBUG [eafd5cc0] Finished in 0.243 seconds with exit status 0 (successful).
DEBUG [b1f124a5] Running /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 as [email protected]
DEBUG [b1f124a5] Command: cd /var/build/site/repo && ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/site/git-ssh.sh /usr/bin/env git rev-list --max-count=1 --abbrev-commit 4.0 )
DEBUG [b1f124a5] 02f9911
DEBUG [b1f124a5] Finished in 0.255 seconds with exit status 0 (successful).
DEBUG [7cade187] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi as [email protected]
DEBUG [7cade187] Command: if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi
DEBUG [7cade187] Finished in 0.241 seconds with exit status 0 (successful).
INFO [30059452] Running /usr/bin/env echo "02f9911" >> REVISION as [email protected]
DEBUG [30059452] Command: cd /var/build/site/builds/20150703130002 && /usr/bin/env echo "02f9911" >> REVISION
INFO [30059452] Finished in 0.234 seconds with exit status 0 (successful).
** Invoke deploy:build:perform (first_time)
** Execute deploy:build:perform
** Invoke bundler:install_on_build (first_time)
** Execute bundler:install_on_build
** Invoke bundler:install (first_time)
** Execute bundler:install
DEBUG [e2b2cf8b] Running /usr/bin/env if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi as [email protected]
DEBUG [e2b2cf8b] Command: if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi
DEBUG [e2b2cf8b] Directory does not exist '/var/build/site/builds/20150703130002'
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703130002'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:16:in `rescue in block (2 levels) in execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
SSHKit::Command::Failed: if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi exit status: 1
if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi stdout: Nothing written
if test ! -d /var/build/site/builds/20150703130002; then echo "Directory does not exist '/var/build/site/builds/20150703130002'" 1>&2; false; fi stderr: Directory does not exist '/var/build/site/builds/20150703130002'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/command.rb:95:in `exit_status='
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:179:in `block in _execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `tap'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:133:in `_execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:66:in `execute'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/abstract.rb:71:in `within'
/Users/dignifiedquire/work/codio/deploy/tasks/bundler.rb:24:in `block (3 levels) in <top (required)>'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `instance_exec'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/backends/netssh.rb:54:in `run'
/Users/dignifiedquire/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/sshkit-1.7.1/lib/sshkit/runners/parallel.rb:13:in `block (2 levels) in execute'
Tasks: TOP => bundler:install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment