Class: Gitlab::QA::Scenario::Test::Integration::ContinuousVulnerabilityScanning

Inherits:
Gitlab::QA::Scenario::Template show all
Defined in:
lib/gitlab/qa/scenario/test/integration/continuous_vulnerability_scanning.rb

Instance Method Summary collapse

Methods inherited from Gitlab::QA::Scenario::Template

perform

Constructor Details

#initializeContinuousVulnerabilityScanning

Returns a new instance of ContinuousVulnerabilityScanning.



13
14
15
16
# File 'lib/gitlab/qa/scenario/test/integration/continuous_vulnerability_scanning.rb', line 13

def initialize
  @network = Runtime::Env.docker_network
  @tag = 'secure_cvs'
end

Instance Method Details

#perform(release, *rspec_args) ⇒ Object



18
19
20
21
22
# File 'lib/gitlab/qa/scenario/test/integration/continuous_vulnerability_scanning.rb', line 18

def perform(release, *rspec_args)
  Component::Gitlab.perform do |gitlab|
    setup_and_run_tests(gitlab, release, *rspec_args)
  end
end