Skip to content

Display message if QA bin/qa is run without scenario

Mark Lapierre requested to merge ml-display-bin-qa-run-info into master

What does this MR do?

Displays a usage message if qa/bin/qa is executed without arguments

↳ bin/qa
For instructions on how to run tests, please see https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/README.md

If you are using gitlab-qa, please see https://gitlab.com/gitlab-org/gitlab-qa/-/blob/master/docs/what_tests_can_be_run.md

If you see this message after starting a docker container and you intended to launch an omnibus-gitlab instance, try removing `-qa` from the image name.

The last bit addresses this problem, which was raised by an engineer in Slack:

↳ docker run gitlab/gitlab-ee-qa:nightly
bundler: failed to load command: bin/qa (bin/qa)
TypeError: no implicit conversion of nil into String
  bin/qa:6:in `const_get'
  bin/qa:6:in `<top (required)>'

Does this MR meet the acceptance criteria?

Conformity

Edited by Mark Lapierre

Merge request reports

Loading