Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7ea5145d
Commit
7ea5145d
authored
Apr 17, 2021
by
Mathieu Parent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use git from gdk install if available
To ensure correct version
parent
3c50a67b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lib/gitlab/setup_helper.rb
lib/gitlab/setup_helper.rb
+7
-1
No files found.
lib/gitlab/setup_helper.rb
View file @
7ea5145d
...
...
@@ -100,6 +100,9 @@ module Gitlab
socket_filename
=
options
[
:gitaly_socket
]
||
"gitaly.socket"
prometheus_listen_addr
=
options
[
:prometheus_listen_addr
]
git_bin_path
=
File
.
expand_path
(
'../gitaly/_build/deps/git/install/bin/git'
)
git_bin_path
=
nil
unless
File
.
exist?
(
git_bin_path
)
config
=
{
# Override the set gitaly_address since Praefect is in the loop
socket_path:
File
.
join
(
gitaly_dir
,
socket_filename
),
...
...
@@ -107,7 +110,10 @@ module Gitlab
# Compared to production, tests run in constrained environments. This
# number is meant to grow with the number of concurrent rails requests /
# sidekiq jobs, and concurrency will be low anyway in test.
git:
{
catfile_cache_size:
5
},
git:
{
catfile_cache_size:
5
,
bin_path:
git_bin_path
}.
compact
,
prometheus_listen_addr:
prometheus_listen_addr
}.
compact
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment