lib/gitlab/qa/scenario/test/instance/staging.rb
module Gitlab module QA module Scenario module Test module Instance ## # Run test suite against staging.gitlab.com # class Staging < Scenario::Template def perform(*rspec_args) Runtime::Env.require_no_license! release = Component::Staging.release if release.dev_gitlab_org? Docker::Command.execute( [ 'login', '--username gitlab-qa-bot', %(--password "#{Runtime::Env.dev_access_token_variable}"), Release::DEV_REGISTRY ] ) end Component::Specs.perform do |specs| specs.suite = 'Test::Instance' specs.release = release specs.args = [Component::Staging::ADDRESS, *rspec_args] end end end end end end end end