BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ff1fa39c
Commit
ff1fa39c
authored
Aug 07, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gitaly-386-shell-config' into 'master'
Gitaly needs to know where to find gitlab-shell See merge request !13306
parents
66e7b4cd
4c68f22b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
gitaly.rake
lib/tasks/gitlab/gitaly.rake
+1
-0
gitaly_rake_spec.rb
spec/tasks/gitlab/gitaly_rake_spec.rb
+2
-0
No files found.
lib/tasks/gitlab/gitaly.rake
View file @
ff1fa39c
...
...
@@ -66,6 +66,7 @@ namespace :gitlab do
config
=
{
socket_path:
address
.
sub
(
%r{
\A
unix:}
,
''
),
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
...
...
spec/tasks/gitlab/gitaly_rake_spec.rb
View file @
ff1fa39c
...
...
@@ -105,6 +105,8 @@ describe 'gitlab:gitaly namespace rake task' do
# Gitaly storage configuration generated from
#{
Gitlab
.
config
.
source
}
on
#{
Time
.
current
.
to_s
(
:long
)
}
# This is in TOML format suitable for use in Gitaly's config.toml file.
socket_path = "/path/to/my.socket"
[gitlab-shell]
dir = "
#{
Gitlab
.
config
.
gitlab_shell
.
path
}
"
[[storage]]
name = "default"
path = "/path/to/default"
...
...
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