Commit 2eb25004 authored by Tiger Watson's avatar Tiger Watson

Merge branch 'sh-use-absolute-paths-gitaly-tests' into 'master'

Generate absolute paths for Gitaly test config files

See merge request gitlab-org/gitlab!53174
parents 427d48e1 b3bfd474
......@@ -121,7 +121,7 @@ module Gitlab
config[:'gitaly-ruby'] = { dir: File.join(gitaly_dir, 'ruby') } if gitaly_ruby
config[:'gitlab-shell'] = { dir: Gitlab.config.gitlab_shell.path }
config[:bin_dir] = Gitlab.config.gitaly.client_path
config[:bin_dir] = File.expand_path(Gitlab.config.gitaly.client_path)
config[:gitlab] = { url: Gitlab.config.gitlab.url }
config[:logging] = { dir: Rails.root.join('log').to_s }
......
......@@ -184,7 +184,7 @@ module TestEnv
end
def gitaly_dir
File.dirname(gitaly_socket_path)
File.dirname(File.expand_path(gitaly_socket_path))
end
def start_gitaly(gitaly_dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment