diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-20 15:56:13 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-20 15:56:13 +0300 |
commit | 44d63b4ceaed168f7e468cc6784618690e64fb84 (patch) | |
tree | 47c1b2c55b882700bc320a1a558046934cb47ead /lib | |
parent | ae2f5ecdf78336f01d596eab6b17e2fbc57e11fb (diff) | |
download | gitlab-ce-44d63b4ceaed168f7e468cc6784618690e64fb84.tar.gz |
require gitlab:shell v1.3.0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 7e64d351763..94599ae880b 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -246,23 +246,23 @@ namespace :gitlab do fix_and_rerun end end - + 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/) puts "yes".green - else + else puts "no".red 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( "gitlab-public-wiki/wiki/Trouble-Shooting-Guide in section sidekiq" ) fix_and_rerun end - end + end end @@ -655,10 +655,10 @@ namespace :gitlab do def check_gitlab_shell print "GitLab Shell version? ... " - if gitlab_shell_version.strip == '1.2.0' - puts 'OK (1.2.0)'.green + if gitlab_shell_version.strip == '1.3.0' + puts 'OK (1.3.0)'.green 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 |