Sha256: ff5c7fcc51d629c9d31dcf9309dbd54e0ae88bda5f271c7c83a05d001dd421e8

Contents?: true

Size: 868 Bytes

Versions: 9

Compression:

Stored size: 868 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)
              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]
                  end
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gitlab-qa-2.4.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.2.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.1.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-2.0.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-1.0.1 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-1.0.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-0.6.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-0.5.0 lib/gitlab/qa/scenario/test/instance/image.rb
gitlab-qa-0.4.0 lib/gitlab/qa/scenario/test/instance/image.rb