summaryrefslogtreecommitdiff
path: root/qa/bin/qa
blob: cbaad4bd7adf928447894ef348adde4c781d13a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env ruby

require_relative '../qa'

scenario = ARGV.shift

if scenario.to_s.empty?
  puts <<~INFO
    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.
  INFO

  exit
end

QA::Scenario
  .const_get(scenario)
  .launch!(ARGV)