Skip to content
Snippets Groups Projects
Commit 147b93ee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

check gitlab-shell version in gitlab:check

parent 10269553
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment