Sha256: f42149523680a09d182f262a325f081e2e06010a646f3fa2fa95bc5cfbbab1b3

Contents?: true

Size: 1.21 KB

Versions: 98

Compression:

Stored size: 1.21 KB

Contents

module Gitlab
  module QA
    module Scenario
      module Test
        module Integration
          class Jira < Scenario::Template
            def perform(release, *rspec_args)
              Component::Gitlab.perform do |gitlab|
                gitlab.release = QA::Release.new(release)
                gitlab.network = 'test'
                gitlab.name = 'gitlab-jira'

                Component::Jira.perform do |jira|
                  jira.network = gitlab.network
                  jira.set_jira_hostname

                  jira.instance do
                    gitlab.instance do
                      puts 'Running Jira specs!'

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

                      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
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
gitlab-qa-7.17.1 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.17.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.16.1 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.16.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.15.1 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.15.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.14.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.13.3 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.13.2 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.13.1 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.13.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.12.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.11.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.10.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.9.3 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.9.2 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.9.1 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.9.0 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.8.5 lib/gitlab/qa/scenario/test/integration/jira.rb
gitlab-qa-7.8.4 lib/gitlab/qa/scenario/test/integration/jira.rb