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
Kazuhiko Shiozaki
gitlab-ce
Commits
44d63b4c
Commit
44d63b4c
authored
Apr 20, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
require gitlab:shell v1.3.0
parent
ae2f5ecd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+9
-9
No files found.
lib/tasks/gitlab/check.rake
View file @
44d63b4c
...
@@ -246,23 +246,23 @@ namespace :gitlab do
...
@@ -246,23 +246,23 @@ namespace :gitlab do
fix_and_rerun
fix_and_rerun
end
end
end
end
def
check_redis_version
def
check_redis_version
print
"Redis version >= 2.0.0? ... "
print
"Redis version >= 2.0.0? ... "
if
run_and_match
(
"redis-cli --version"
,
/redis-cli 2.\d.\d/
)
if
run_and_match
(
"redis-cli --version"
,
/redis-cli 2.\d.\d/
)
puts
"yes"
.
green
puts
"yes"
.
green
else
else
puts
"no"
.
red
puts
"no"
.
red
try_fixing_it
(
try_fixing_it
(
"Update your redis server to a version >= 2.0.0"
"Update your redis server to a version >= 2.0.0"
)
)
for_more_information
(
for_more_information
(
"gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq"
"gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq"
)
)
fix_and_rerun
fix_and_rerun
end
end
end
end
end
end
...
@@ -655,10 +655,10 @@ namespace :gitlab do
...
@@ -655,10 +655,10 @@ namespace :gitlab do
def
check_gitlab_shell
def
check_gitlab_shell
print
"GitLab Shell version? ... "
print
"GitLab Shell version? ... "
if
gitlab_shell_version
.
strip
==
'1.
2
.0'
if
gitlab_shell_version
.
strip
==
'1.
3
.0'
puts
'OK (1.
2
.0)'
.
green
puts
'OK (1.
3
.0)'
.
green
else
else
puts
'FAIL. Please update gitlab-shell to v1.
2
.0'
.
red
puts
'FAIL. Please update gitlab-shell to v1.
3
.0'
.
red
end
end
end
end
end
end
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