Sha256: 40e7980f694eee69e2188b756f88581b9b1fc43257d2794cad358c4fea7ab542

Contents?: true

Size: 1.08 KB

Versions: 22

Compression:

Stored size: 1.08 KB

Contents

module Gitlab
  module QA
    module Scenario
      module Test
        module Integration
          class Actioncable < Scenario::Template
            def perform(release, *rspec_args)
              Component::Gitlab.perform do |gitlab|
                gitlab.release = QA::Release.new(release)
                gitlab.name = 'gitlab-actioncable'
                gitlab.network = 'test'
                gitlab.omnibus_configuration << "actioncable['enable'] = true"

                gitlab.instance do
                  Runtime::Logger.info('Running actioncable specs!')

                  rspec_args << "--" unless rspec_args.include?('--')
                  rspec_args << %w[--tag actioncable]

                  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

22 entries across 22 versions & 1 rubygems

Version Path
gitlab-qa-7.27.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.27.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.26.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.25.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.25.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.6 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.5 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.4 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.3 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.2 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.24.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.23.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.23.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.22.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.22.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.21.1 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.21.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.20.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb
gitlab-qa-7.19.0 lib/gitlab/qa/scenario/test/integration/actioncable.rb