Sha256: b32efe4e0f40bc571187e09bd721ce00de1622b1911efc1c268a012af7866dfc

Contents?: true

Size: 894 Bytes

Versions: 15

Compression:

Stored size: 894 Bytes

Contents

module Gitlab
  module QA
    module Scenario
      module Test
        module Instance
          class Image < Scenario::Template
            attr_writer :volumes

            def initialize
              @volumes = {}
            end

            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'
                    specs.release = gitlab.release
                    specs.network = gitlab.network
                    specs.args = [gitlab.address, *rspec_args]
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gitlab-qa-2.13.1 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.13.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.12.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.11.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.10.1 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.10.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.9.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.8.1 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.8.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.7.3 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.7.2 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.7.1 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.7.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.6.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.5.0 lib/gitlab/qa/scenario/test/instance/image.rb