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
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
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