Sha256: e905b984452db00257c501f7d1a657041b128a76d6dbca11f2ff11a5f3931c93

Contents?: true

Size: 891 Bytes

Versions: 13

Compression:

Stored size: 891 Bytes

Contents

module Gitlab
  module QA
    module Scenario
      module Test
        module Instance
          class RelativeUrl < Image
            def perform(release)
              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'
                    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

13 entries across 13 versions & 1 rubygems

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