Sha256: d2f532519ac5efd1ae999a079222b70bc613c5cb862f0201145e5e248f784987

Contents?: true

Size: 1.03 KB

Versions: 99

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

module Gitlab
  module QA
    module Scenario
      module Test
        module Integration
          class Integrations < Scenario::Template
            def perform(release, *rspec_args)
              Component::Gitlab.perform do |gitlab|
                gitlab.release = QA::Release.new(release)
                gitlab.network = 'test'
                gitlab.name = 'gitlab-integrations'
                gitlab.instance do
                  Component::Specs.perform do |specs|
                    rspec_args << '--' unless rspec_args.include?('--')
                    rspec_args << %w[--tag integrations]
                    specs.suite = 'Test::Instance::All'
                    specs.hostname = "qa-e2e-specs.#{gitlab.network}"
                    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

99 entries across 99 versions & 1 rubygems

Version Path
gitlab-qa-14.9.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.8.1 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.8.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.7.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.6.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.5.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.4.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.3.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.2.1 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.2.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.1.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.0.2 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.0.1 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-14.0.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-13.2.1 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-13.2.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-13.1.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-13.0.0 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-12.5.1 lib/gitlab/qa/scenario/test/integration/integrations.rb
gitlab-qa-12.5.0 lib/gitlab/qa/scenario/test/integration/integrations.rb