class Gitlab::QA::Scenario::Test::Instance::Image

Attributes

volumes[W]

Public Class Methods

new() click to toggle source
# File lib/gitlab/qa/scenario/test/instance/image.rb, line 9
def initialize
  @volumes = {}
end

Public Instance Methods

perform(release, *rspec_args) click to toggle source
# File lib/gitlab/qa/scenario/test/instance/image.rb, line 13
def perform(release, *rspec_args)
  Component::Gitlab.perform do |gitlab|
    gitlab.release = release
    gitlab.volumes = @volumes
    gitlab.network = 'test'

    gitlab.instance do
      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