Merge branch 'fix_test_env' into 'master'
Fix Test Env (proper error handling when gitlab-shell is not clonned) ## What does this MR do? If we were not able to clone gitlab-shell we have to stop all test suite, for now we run it regardless we cloned it or not. ## Why was this MR needed? To not confuse developers when build is red, to get fasts feedback, to save resources and time. See merge request !6933
This commit is contained in:
commit
d2591df164
1 changed files with 3 additions and 1 deletions
|
@ -98,7 +98,9 @@ module TestEnv
|
|||
|
||||
def setup_gitlab_shell
|
||||
unless File.directory?(Gitlab.config.gitlab_shell.path)
|
||||
`rake gitlab:shell:install`
|
||||
unless system('rake', 'gitlab:shell:install')
|
||||
raise 'Can`t clone gitlab-shell'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue