diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-12 12:53:07 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-12 12:53:07 +0200 |
commit | 147b93ee3edc60d6abbe10631ba89b607ec3ea48 (patch) | |
tree | a911b800015e95802deb29ac69b0a2f3ac17059b /lib | |
parent | 102695530b673a8cdb4b618ab63f871a0d462f64 (diff) | |
download | gitlab-ce-147b93ee3edc60d6abbe10631ba89b607ec3ea48.tar.gz |
check gitlab-shell version in gitlab:check
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 1384231feef..855227fb34f 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -348,6 +348,7 @@ namespace :gitlab do warn_user_is_not_gitlab start_checking "Gitlab Shell" + check_gitlab_shell check_repo_base_exists check_repo_base_is_not_symlink check_repo_base_user_and_group @@ -633,4 +634,13 @@ namespace :gitlab do puts " #{step}" end end + + def check_gitlab_shell + print "GitLab Shell version? ... " + if gitlab_shell_version.strip == '1.1.0' + puts 'OK (1.1.0)'.green + else + puts 'FAIL. Please update gitlab-shell to v1.1.0'.red + end + end end |