Commit 44d63b4ceaed168f7e468cc6784618690e64fb84
1 parent
ae2f5ecd
Exists in
master
and in
4 other branches
require gitlab:shell v1.3.0
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
lib/tasks/gitlab/check.rake
... | ... | @@ -246,23 +246,23 @@ namespace :gitlab do |
246 | 246 | fix_and_rerun |
247 | 247 | end |
248 | 248 | end |
249 | - | |
249 | + | |
250 | 250 | def check_redis_version |
251 | - print "Redis version >= 2.0.0? ... " | |
252 | - | |
251 | + print "Redis version >= 2.0.0? ... " | |
252 | + | |
253 | 253 | if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/) |
254 | 254 | puts "yes".green |
255 | - else | |
255 | + else | |
256 | 256 | puts "no".red |
257 | 257 | try_fixing_it( |
258 | - "Update your redis server to a version >= 2.0.0" | |
258 | + "Update your redis server to a version >= 2.0.0" | |
259 | 259 | ) |
260 | 260 | for_more_information( |
261 | 261 | "gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq" |
262 | 262 | ) |
263 | 263 | fix_and_rerun |
264 | 264 | end |
265 | - end | |
265 | + end | |
266 | 266 | end |
267 | 267 | |
268 | 268 | |
... | ... | @@ -655,10 +655,10 @@ namespace :gitlab do |
655 | 655 | |
656 | 656 | def check_gitlab_shell |
657 | 657 | print "GitLab Shell version? ... " |
658 | - if gitlab_shell_version.strip == '1.2.0' | |
659 | - puts 'OK (1.2.0)'.green | |
658 | + if gitlab_shell_version.strip == '1.3.0' | |
659 | + puts 'OK (1.3.0)'.green | |
660 | 660 | else |
661 | - puts 'FAIL. Please update gitlab-shell to v1.2.0'.red | |
661 | + puts 'FAIL. Please update gitlab-shell to v1.3.0'.red | |
662 | 662 | end |
663 | 663 | end |
664 | 664 | end | ... | ... |