gitlab-qa 4.8.1 → 4.9.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: 560414fd055d899b9893f1b3c720e8a01d196470a6988c63fc61b37939031dd4
4
- data.tar.gz: 5960745b83f2af31d3fb86d13c3ae16cba34d8afc85e635b1a1669fe07cd98ba
3
+ metadata.gz: 9ee8e2d2ed9596bd49f5ad5ea8d02a7f6005088b9808e19902adf5212649a14c
4
+ data.tar.gz: 24dee02fc1fd5220c44cda3f3770f89ff9131f42e88b5313eaa3064591148bd5
5
5
  SHA512:
6
- metadata.gz: 452877e2b8d565476dd9fb98451376c4758c6bf07639adc7c4738302bc71516dabbf3d73cdd48fb2d3a564b285aaf6c3917ca18b49bd0d1ec062017d66f64d78
7
- data.tar.gz: 4caa13348705ce133333c53dfe07a9b6876d8bec05bde1339733959452c6bef865ac2b829862f1390f52850f292ee47cd83d93694d26343ed05d42e365ceccfa
6
+ metadata.gz: bf6d924eb6d3696005115b83cba9f49c17e8b4033b090aafe0f7102d434f06649e9c27be4703b863e93817baf7a0a71434edc2862867f5bef3e2eb06e9fb6c3f
7
+ data.tar.gz: babdd7a3a8e68943d896e9a27cd525caa820dbac3de60b1c2e7712f28f9bc98d30d1526aed52d9ebcd9d448906e6ec58228ec8cf62d13f05e7a5dcf57cb9bc94
@@ -1,7 +1,7 @@
1
1
  image: ruby:2.6
2
2
 
3
3
  services:
4
- - docker:1.13-dind
4
+ - docker:19.03.0-dind
5
5
 
6
6
  stages:
7
7
  - check
@@ -32,8 +32,6 @@ ARGV.each do |report_file|
32
32
  header = report.css('div #rspec-header')
33
33
  tests = report.css('dt[id^="example_group_"]')
34
34
 
35
- next if tests.empty?
36
-
37
35
  header.search("//h1/text()").first.content = "Test results for job: #{report_file.slice(/rspec-(.*)\.htm/, 1)}"
38
36
  header.css("#display-filters input").each do |filter|
39
37
  filter.remove_attribute('checked') if filter[:id] != "failed_checkbox"
@@ -73,8 +71,11 @@ ARGV.each do |report_file|
73
71
  duration = report.at_css('p#duration')
74
72
  totals = report.at_css('p#totals')
75
73
 
76
- duration_script = report.css('div.results script')[-2]
77
- totals_script = report.css('div.results script')[-1]
74
+ # Also capture results from empty tests for awareness
75
+ results_loc = tests.empty? ? 'div.rspec-report script' : 'div.results script'
76
+
77
+ duration_script = report.css(results_loc)[-2]
78
+ totals_script = report.css(results_loc)[-1]
78
79
 
79
80
  duration_text = duration_script.text.slice(49..-3)
80
81
  totals_text = totals_script.text.slice(47..-3)
@@ -26,7 +26,7 @@ when we make a change - no matter the size of the change.
26
26
  - Merge the merge request.
27
27
  - Create a new tag via the UI (https://gitlab.com/gitlab-org/gitlab-qa/-/tags/new).
28
28
  * **Tag name**: The same version found in [`lib/gitlab/qa/version.rb`], prefixed with `v`, e.g. if the version is `4.7.1`, the tag would be `v4.7.1`.
29
- * **Message**: This can be something simple such as "<version> release".
29
+ * **Message**: Set it to "Version x.y.z", e.g. if the version is `4.7.1`, the message would be "Version 4.7.1".
30
30
  * **Release notes**: Copy the release notes from the merge request.
31
31
  * Click *Create Tag*.
32
32
 
@@ -11,6 +11,7 @@ module Gitlab
11
11
 
12
12
  MINIO_IMAGE = 'minio/minio'.freeze
13
13
  MINIO_IMAGE_TAG = 'latest'.freeze
14
+ # These are secrets used in a local Minio container, they're not used for any online S3 server.
14
15
  AWS_ACCESS_KEY = 'AKIAIOSFODNN7EXAMPLE'.freeze
15
16
  AWS_SECRET_KEY = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'.freeze
16
17
  DATA_DIR = '/data'.freeze
@@ -14,7 +14,6 @@ module Gitlab
14
14
  Component::Specs.perform do |specs|
15
15
  specs.suite = 'QA::EE::Scenario::Test::Geo'
16
16
  specs.release = Release.new(release)
17
- specs.network = 'geo'
18
17
  specs.args = [
19
18
  '--primary-address', primary_address,
20
19
  '--secondary-address', secondary_address,
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module QA
3
- VERSION = '4.8.1'.freeze
3
+ VERSION = '4.9.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: 4.8.1
4
+ version: 4.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Bizon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-30 00:00:00.000000000 Z
11
+ date: 2019-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control