Sha256: a8e07cf5fd649fb7bc9c5eed7062c1acee568b5b85105374545cac8ad877af70

Contents?: true

Size: 922 Bytes

Versions: 27

Compression:

Stored size: 922 Bytes

Contents

module Gitlab
  module QA
    module Scenario
      module Test
        module Instance
          class RelativeUrl < Image
            def perform(release, *rspec_args)
              Component::Gitlab.perform do |gitlab|
                gitlab.release = release
                gitlab.network = 'test'
                gitlab.relative_path = '/relative'

                gitlab.omnibus_config = <<~OMNIBUS
                  external_url '#{gitlab.address}'
                OMNIBUS

                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
          end
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gitlab-qa-3.2.3 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.2.2 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.2.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.2.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.1.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.1.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.0.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb