Commit 44d63b4ceaed168f7e468cc6784618690e64fb84

Authored by Dmitriy Zaporozhets
1 parent ae2f5ecd

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,23 +246,23 @@ namespace :gitlab do
246 fix_and_rerun 246 fix_and_rerun
247 end 247 end
248 end 248 end
249 - 249 +
250 def check_redis_version 250 def check_redis_version
251 - print "Redis version >= 2.0.0? ... "  
252 - 251 + print "Redis version >= 2.0.0? ... "
  252 +
253 if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/) 253 if run_and_match("redis-cli --version", /redis-cli 2.\d.\d/)
254 puts "yes".green 254 puts "yes".green
255 - else 255 + else
256 puts "no".red 256 puts "no".red
257 try_fixing_it( 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 for_more_information( 260 for_more_information(
261 "gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq" 261 "gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq"
262 ) 262 )
263 fix_and_rerun 263 fix_and_rerun
264 end 264 end
265 - end 265 + end
266 end 266 end
267 267
268 268
@@ -655,10 +655,10 @@ namespace :gitlab do @@ -655,10 +655,10 @@ namespace :gitlab do
655 655
656 def check_gitlab_shell 656 def check_gitlab_shell
657 print "GitLab Shell version? ... " 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 else 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 end 662 end
663 end 663 end
664 end 664 end