9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/gitlab/qa/scenario/test/integration/cloud_activation.rb', line 9
def perform(release, *rspec_args)
Component::Gitlab.perform do |gitlab|
gitlab.release = release
gitlab.network = 'test'
gitlab.omnibus_configuration << <<~OMNIBUS
gitlab_rails['env'] = { 'GITLAB_LICENSE_MODE' => 'test', 'CUSTOMER_PORTAL_URL' => 'https://customers.staging.gitlab.com' }
OMNIBUS
gitlab.instance do
rspec_args << "--" unless rspec_args.include?('--')
rspec_args << %w[--tag cloud_activation]
Component::Specs.perform do |specs|
specs.suite = 'Test::Instance::All'
specs.release = gitlab.release
specs.network = gitlab.network
specs.args = [gitlab.address, *rspec_args]
end
end
end
end
|