1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Switch cucumber tests to use https instead of git:// (#2112)

On my machine, when running `rake features`, the `git clone` operation
in some of the cucumber tests hangs and eventually times out. It seems
to be due to the repo URL using the `git://` protocol. When I switch to
`https://`, it works fine.
This commit is contained in:
Matt Brictson 2022-08-07 10:21:46 -07:00 committed by GitHub
parent 15104dc4bf
commit ec6b61b694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ module TestApp
def default_config def default_config
<<-CONFIG <<-CONFIG
set :deploy_to, '#{deploy_to}' set :deploy_to, '#{deploy_to}'
set :repo_url, 'git://github.com/capistrano/capistrano.git' set :repo_url, 'https://github.com/capistrano/capistrano.git'
set :branch, 'master' set :branch, 'master'
set :ssh_options, { keys: "\#{ENV['HOME']}/.vagrant.d/insecure_private_key", auth_methods: ['publickey'] } set :ssh_options, { keys: "\#{ENV['HOME']}/.vagrant.d/insecure_private_key", auth_methods: ['publickey'] }
server 'vagrant@localhost:2220', roles: %w{web app} server 'vagrant@localhost:2220', roles: %w{web app}