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

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)