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-4.16.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.15.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.14.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.13.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.12.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.5.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.4.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.3.3 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.3.2 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.2.2 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.2.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.2.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.1.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.5 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.4 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.3 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.2 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.1 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-4.0.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb
gitlab-qa-3.3.0 lib/gitlab/qa/scenario/test/instance/relative_url.rb