Have raketask tell gitaly where to find shell

This commit is contained in:
Kim "BKC" Carlbäcker 2017-08-04 11:42:13 +02:00
parent ee908e2382
commit a92ccbcb9e
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ namespace :gitlab do
config = { socket_path: address.sub(%r{\Aunix:}, ''), storage: storages }
config[:auth] = { token: 'secret' } if Rails.env.test?
config[:'gitaly-ruby'] = { dir: File.join(Dir.pwd, 'ruby') } if gitaly_ruby
config[:'gitlab-shell'] = { dir: Gitlab.config.gitlab_shell.path }
TOML.dump(config)
end