gitlab-qa 7.1.1 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5123ddb14b12e07dd4dd308c296ab59ea2fbcee5667a746cea01fee670724a5
4
- data.tar.gz: bdb9b30348b58f194a6c5b989708204153c10d79f3493d1ed28e7f28207879dc
3
+ metadata.gz: 8a3728bfd7ced04bccf14b94a1b5a175cb99167a356a3ca8780ffdb11d310a67
4
+ data.tar.gz: b6f04c635b53ca9879b686358d520bfdd0308c5b2c7c1f67d67b947d55539c13
5
5
  SHA512:
6
- metadata.gz: 5ceff844a2112e50ded2f2080a37cf0803e1f6a163a9a89746751ec4437b20d0faeea2ec825db7588ab25bac4c2feef09db08b1813177dd30a1cce63dc8355d0
7
- data.tar.gz: 415df609065a85772c20bdebc860da459fcdcdab61bd12fdfb412af700355fc49101e597c146285cc0e4822f3a4612a75e5368e0180cddeb2a980ca76453f9d0
6
+ metadata.gz: 9d25df710f1471b921c5a42f5f5479e5ed32131045e429867df35e1846f75fe91a0647bc580d70657e9ec97b26bb6920fc3a97ab66c7ce16b587ebfd1366b11b
7
+ data.tar.gz: ab823247a5d1d8313e57f46986b6a236e0fce553dc99974eda863a6f06df4927fd048148865def049cd650cdec5a61e57e5e0d132bfa0e49c3df3d9d79445614
data/.gitlab-ci.yml CHANGED
@@ -65,7 +65,7 @@ rspec:
65
65
  .test:
66
66
  stage: test
67
67
  services:
68
- - docker:19.03.0-dind
68
+ - docker:20.10.5-dind
69
69
  tags:
70
70
  - gitlab-org
71
71
  - docker
@@ -370,7 +370,7 @@ ee:update:
370
370
  - .ee-qa
371
371
  - .rspec-report-opts
372
372
  - .knapsack-variables
373
- parallel: 5
373
+ parallel: 10
374
374
 
375
375
  ee:update-quarantine:
376
376
  script:
@@ -1039,7 +1039,7 @@ relate_test_failures:
1039
1039
 
1040
1040
  .notify_upstream_commit:
1041
1041
  stage: notify
1042
- image: ruby:2.6
1042
+ image: ruby:3.0-alpine
1043
1043
  before_script:
1044
1044
  - gem install gitlab --no-document
1045
1045
 
data/lib/gitlab/qa.rb CHANGED
@@ -14,6 +14,7 @@ module Gitlab
14
14
  autoload :Default, 'gitlab/qa/runtime/omnibus_configurations/default'
15
15
  autoload :Packages, 'gitlab/qa/runtime/omnibus_configurations/packages'
16
16
  autoload :ObjectStorage, 'gitlab/qa/runtime/omnibus_configurations/object_storage'
17
+ autoload :LicenseMode, 'gitlab/qa/runtime/omnibus_configurations/license_mode'
17
18
  end
18
19
  end
19
20
 
@@ -57,8 +58,6 @@ module Gitlab
57
58
  autoload :InstanceSAML, 'gitlab/qa/scenario/test/integration/instance_saml'
58
59
  autoload :Mattermost, 'gitlab/qa/scenario/test/integration/mattermost'
59
60
  autoload :Kubernetes, 'gitlab/qa/scenario/test/integration/kubernetes'
60
- autoload :ObjectStorage, 'gitlab/qa/scenario/test/integration/object_storage'
61
- autoload :Packages, 'gitlab/qa/scenario/test/integration/packages'
62
61
  autoload :Praefect, 'gitlab/qa/scenario/test/integration/praefect'
63
62
  autoload :Elasticsearch, 'gitlab/qa/scenario/test/integration/elasticsearch'
64
63
  autoload :SMTP, 'gitlab/qa/scenario/test/integration/smtp'
@@ -191,7 +191,9 @@ module Gitlab
191
191
  text = tests_with_same_testcase.map(&:name).uniq.join(', ')
192
192
 
193
193
  if testcase && !passed
194
- "[#{text}](#{testcase})"
194
+ # Workaround for reducing system notes on testcase issues
195
+ # The first regex extracts the link to the issues list page from a link to a single issue show page by removing the issue id.
196
+ "[#{text}](#{testcase.match(%r{[\s\S]+\/[^\/\d]+})}?state=opened&search=#{text}) (testcase_id=#{testcase.match(/\d+/)})"
195
197
  else
196
198
  text
197
199
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Gitlab
4
+ module QA
5
+ module Runtime
6
+ module OmnibusConfigurations
7
+ class LicenseMode < Default
8
+ def configuration
9
+ <<~OMNIBUS
10
+ gitlab_rails['env'] = { 'GITLAB_LICENSE_MODE' => 'test' }
11
+ OMNIBUS
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
17
+ end
@@ -109,6 +109,7 @@ module Gitlab
109
109
  praefect['database_sslmode'] = 'disable';
110
110
  praefect['postgres_queue_enabled'] = true;
111
111
  praefect['failover_enabled'] = true;
112
+ praefect['failover_election_strategy'] = 'per_repository';
112
113
  praefect['virtual_storages'] = {
113
114
  'default' => {
114
115
  '#{@primary_node_name}' => {
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '7.1.1'.freeze
3
+ VERSION = '7.2.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-qa
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1
4
+ version: 7.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-13 00:00:00.000000000 Z
11
+ date: 2021-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control
@@ -277,6 +277,7 @@ files:
277
277
  - lib/gitlab/qa/runtime/env.rb
278
278
  - lib/gitlab/qa/runtime/omnibus_configuration.rb
279
279
  - lib/gitlab/qa/runtime/omnibus_configurations/default.rb
280
+ - lib/gitlab/qa/runtime/omnibus_configurations/license_mode.rb
280
281
  - lib/gitlab/qa/runtime/omnibus_configurations/object_storage.rb
281
282
  - lib/gitlab/qa/runtime/omnibus_configurations/packages.rb
282
283
  - lib/gitlab/qa/runtime/scenario.rb