summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-08-04 11:42:13 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-08-04 13:54:41 +0200
commita92ccbcb9e0bcb1ed38c114f03af20245c2f360c (patch)
treea58bebe526e03dfe8b93d1c1946c6587350efebf /lib/tasks
parentee908e2382632508e45cc777b33b3c7367d3238f (diff)
downloadgitlab-ce-a92ccbcb9e0bcb1ed38c114f03af20245c2f360c.tar.gz
Have raketask tell gitaly where to find shell
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/gitaly.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/gitaly.rake b/lib/tasks/gitlab/gitaly.rake
index 3703f9cfb5c..7d35e0df53a 100644
--- a/lib/tasks/gitlab/gitaly.rake
+++ b/lib/tasks/gitlab/gitaly.rake
@@ -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