gitlab-qa 4.8.1 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +1 -1
- data/bin/merge_html_reports +5 -4
- data/docs/release_process.md +1 -1
- data/lib/gitlab/qa/component/minio.rb +1 -0
- data/lib/gitlab/qa/scenario/test/instance/geo.rb +0 -1
- data/lib/gitlab/qa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ee8e2d2ed9596bd49f5ad5ea8d02a7f6005088b9808e19902adf5212649a14c
|
|
4
|
+
data.tar.gz: 24dee02fc1fd5220c44cda3f3770f89ff9131f42e88b5313eaa3064591148bd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf6d924eb6d3696005115b83cba9f49c17e8b4033b090aafe0f7102d434f06649e9c27be4703b863e93817baf7a0a71434edc2862867f5bef3e2eb06e9fb6c3f
|
|
7
|
+
data.tar.gz: babdd7a3a8e68943d896e9a27cd525caa820dbac3de60b1c2e7712f28f9bc98d30d1526aed52d9ebcd9d448906e6ec58228ec8cf62d13f05e7a5dcf57cb9bc94
|
data/.gitlab-ci.yml
CHANGED
data/bin/merge_html_reports
CHANGED
|
@@ -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
|
-
|
|
77
|
-
|
|
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)
|
data/docs/release_process.md
CHANGED
|
@@ -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**:
|
|
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,
|
data/lib/gitlab/qa/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2019-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|