Commit d8ef45c2 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'zj-regenerate-gitaly-config-rspec-ee' into 'master'

Regenerate Gitaly's config.toml each rspec run

See merge request gitlab-org/gitlab-ee!8097
parents 0ecedf74 d49c617d
......@@ -161,8 +161,9 @@ module TestEnv
version: Gitlab::GitalyClient.expected_server_version,
task: "gitlab:gitaly:install[#{gitaly_dir},#{repos_path}]") do
start_gitaly(gitaly_dir)
end
Gitlab::SetupHelper.create_gitaly_configuration(gitaly_dir, { 'default' => repos_path }, force: true)
start_gitaly(gitaly_dir)
end
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