Sha256: 7676b4d36db7a40bfdd219d0945100aa9877383186de704ecaf5faa6ea28cfc9

Contents?: true

Size: 923 Bytes

Versions: 92

Compression:

Stored size: 923 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

92 entries across 92 versions & 1 rubygems

Version Path
gitlab-qa-4.19.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.19.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.18.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.17.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.11.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.10.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.9.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.8.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.8.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.7.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.7.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.6.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb