Commit 039085b3 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-gitaly-config' into 'master'

Fix gitaly config when root is under /home/git

See merge request !562
parents 6c46a9c2 35d87eb4
Pipeline #40037998 passed with stages
in 21 minutes and 23 seconds
......@@ -163,12 +163,12 @@ ${gitaly_proto_clone_dir}/.git:
gitaly/config.toml:
sed \
-e "s|/home/git|${gitlab_development_root}|" \
-e "s|^socket_path.*|socket_path = \"${gitlab_development_root}/gitaly.socket\"|" \
-e "s|^bin_dir.*|bin_dir = \"${gitlab_development_root}/gitaly/bin\"|" \
-e "s|# prometheus_listen_addr|prometheus_listen_addr|" \
-e "s|# \[logging\]|\[logging\]|" \
-e "s|# level = \"warn\"|level = \"warn\"|" \
-e "s|/home/git|${gitlab_development_root}|" ${gitaly_clone_dir}/config.toml.example > $@
-e "s|# level = \"warn\"|level = \"warn\"|" ${gitaly_clone_dir}/config.toml.example > $@
prom-setup:
if [ "$(uname -s)" = "Linux" ]; then \
......
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