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
5e206bff
Commit
5e206bff
authored
Mar 14, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rake gitlab:env:info elasticsearch datum and gitlab:app:check task
parent
0e5d59c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
changelogs/unreleased-ee/1164-fix-rake-gitlab-env-info.yml
changelogs/unreleased-ee/1164-fix-rake-gitlab-env-info.yml
+4
-0
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+2
-2
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+1
-1
No files found.
changelogs/unreleased-ee/1164-fix-rake-gitlab-env-info.yml
0 → 100644
View file @
5e206bff
---
title
:
Fix rake gitlab:env:info elasticsearch datum
merge_request
:
1422
author
:
lib/tasks/gitlab/check.rake
View file @
5e206bff
...
...
@@ -28,7 +28,7 @@ namespace :gitlab do
check_ruby_version
check_git_version
check_active_users
check_elasticsearch
if
ApplicationSetting
.
current
.
elasticsearch_indexing?
check_elasticsearch
if
current_application_settings
.
elasticsearch_indexing?
finished_checking
"GitLab"
end
...
...
@@ -1076,7 +1076,7 @@ namespace :gitlab do
end
def
check_elasticsearch
client
=
Gitlab
::
Elastic
::
Client
.
build
(
ApplicationSetting
.
current
.
elasticsearch_config
)
client
=
Gitlab
::
Elastic
::
Client
.
build
(
current_application_settings
.
elasticsearch_config
)
print
"Elasticsearch version 5.1.x? ... "
...
...
lib/tasks/gitlab/info.rake
View file @
5e206bff
...
...
@@ -63,7 +63,7 @@ namespace :gitlab do
puts
"URL:
\t\t
#{
Gitlab
.
config
.
gitlab
.
url
}
"
puts
"HTTP Clone URL:
\t
#{
http_clone_url
}
"
puts
"SSH Clone URL:
\t
#{
ssh_clone_url
}
"
puts
"Elasticsearch:
\t
#{
Gitlab
.
config
.
elasticsearch
.
enabled
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Elasticsearch:
\t
#{
current_application_settings
.
elasticsearch_indexing?
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Geo:
\t\t
#{
Gitlab
::
Geo
.
enabled?
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Geo node:
\t
#{
geo_node_type
}
"
if
Gitlab
::
Geo
.
enabled?
puts
"Using LDAP:
\t
#{
Gitlab
.
config
.
ldap
.
enabled
?
"yes"
.
color
(
:green
)
:
"no"
}
"
...
...
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