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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
4c8ac320
Commit
4c8ac320
authored
Dec 20, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated gitlab:check task
parent
757c7a52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+5
-4
No files found.
lib/tasks/gitlab/check.rake
View file @
4c8ac320
...
...
@@ -90,7 +90,7 @@ namespace :gitlab do
end
def
check_gitlab_config_not_outdated
print
"GitLab config
not
outdated? ... "
print
"GitLab config outdated? ... "
gitlab_config_file
=
Rails
.
root
.
join
(
"config"
,
"gitlab.yml"
)
unless
File
.
exists?
(
gitlab_config_file
)
...
...
@@ -98,11 +98,12 @@ namespace :gitlab do
end
# omniauth or ldap could have been deleted from the file
if
File
.
read
(
gitlab_config_file
)
=~
/^web:/
puts
"
yes
"
.
green
unless
Gitlab
.
config
.
pre_40_config
puts
"
no
"
.
green
else
puts
"
no
"
.
red
puts
"
yes
"
.
red
try_fixing_it
(
"Backup your config/gitlab.yml"
,
"Copy config/gitlab.yml.example to config/gitlab.yml"
,
"Update config/gitlab.yml to match your setup"
)
...
...
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