git-ls returns usage, not passing repo param I think

217 views
Skip to first unread message

Joel Nylund

unread,
Dec 27, 2013, 12:43:37 PM12/27/13
to capis...@googlegroups.com
Versions:
  • Ruby 2
  • Capistrano 3
  • Rake / Rails  - 4
Platform:
  • Working on....osx
  • Deploying to...centos 6.5
Logs:
  • bundle exec cap staging deploy
    [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
    DEBUG [d41793f7] Running /usr/bin/env [ -d ~/.rvm ] on myipaddress
    DEBUG [d41793f7] Command: [ -d ~/.rvm ]
    DEBUG [d41793f7] Finished in 0.782 seconds with exit status 0 (successful).
    DEBUG [327f2f28] Running ~/.rvm/bin/rvm version on myipaddress
    DEBUG [327f2f28] Command: ( RAILS_ENV=staging ~/.rvm/bin/rvm version )
    DEBUG [327f2f28]     
    DEBUG [327f2f28]     rvm 1.25.6 (stable) by Wayne E. Seguin [https://rvm.io/]
    DEBUG [327f2f28]     
    DEBUG [327f2f28] Finished in 1.168 seconds with exit status 0 (successful).
    rvm 1.25.6 (stable) by Wayne E. Seguin, Michal Papis  [https://rvm.io/]
    DEBUG [c89b0e9b] Running ~/.rvm/bin/rvm current on myipaddress
    DEBUG [c89b0e9b] Command: ( RAILS_ENV=staging ~/.rvm/bin/rvm current )
    DEBUG [c89b0e9b]     ruby-2.0.0-p353
    DEBUG [c89b0e9b] Finished in 0.611 seconds with exit status 0 (successful).
    ruby-2.0.0-p353
    DEBUG [a1f9e468] Running ~/.rvm/bin/rvm default do ruby --version on myipaddress
    DEBUG [a1f9e468] Command: ( RAILS_ENV=staging ~/.rvm/bin/rvm default do ruby --version )
    DEBUG [a1f9e468]     ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
    DEBUG [a1f9e468] Finished in 0.819 seconds with exit status 0 (successful).
    ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
     INFO [ecba55b3] Running /usr/bin/env mkdir -p /tmp/myapp/ on myipaddress
    DEBUG [ecba55b3] Command: ( RAILS_ENV=staging /usr/bin/env mkdir -p /tmp/myapp/ )
     INFO [ecba55b3] Finished in 0.790 seconds with exit status 0 (successful).
    DEBUG Uploading /tmp/myapp/git-ssh.sh 0.0%
     INFO Uploading /tmp/myapp/git-ssh.sh 100.0%
     INFO [02cfaae1] Running /usr/bin/env chmod +x /tmp/myapp/git-ssh.sh on myipaddress
    DEBUG [02cfaae1] Command: ( RAILS_ENV=staging /usr/bin/env chmod +x /tmp/myapp/git-ssh.sh )
     INFO [02cfaae1] Finished in 0.122 seconds with exit status 0 (successful).
    DEBUG [3830b664] Running /usr/bin/env git ls-remote  on myipaddress
    DEBUG [3830b664] Command: ( RAILS_ENV=staging GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/myapp/git-ssh.sh /usr/bin/env git ls-remote  )
    DEBUG [3830b664]     usage: git ls-remote [--heads] [--tags]  [-u <exec> | --upload-pack <exec>] <repository> <refs>...
    DEBUG [3830b664] Finished in 0.779 seconds with exit status 129 (failed).
Files:
  • Capfile

# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'

# Includes tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
#   https://github.com/capistrano/rvm
#   https://github.com/capistrano/rbenv
#   https://github.com/capistrano/chruby
#   https://github.com/capistrano/bundler
#   https://github.com/capistrano/rails/tree/master/assets
#   https://github.com/capistrano/rails/tree/master/migrations
#
require 'capistrano/rvm'
# require 'capistrano/rbenv'
# require 'capistrano/chruby'
require 'capistrano/bundler'
require 'capistrano/rails/assets'
#require 'capistrano/rails/migrations'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }


  • deploy.rb

  • Stage files (production.rb, staging.rb)
deploy.rb
staging.rb

Lee Hambley

unread,
Dec 27, 2013, 12:57:10 PM12/27/13
to capistrano
You haven't set `:repo_url`. This variable replaced :repository from v2.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/2bf2f835-c676-498d-94db-cda268b37399%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Joel Nylund

unread,
Dec 27, 2013, 1:18:46 PM12/27/13
to capis...@googlegroups.com
thanks, duh, I missed that one, works now!
Reply all
Reply to author
Forward
0 new messages