gitlab_quality-test_tooling 1.33.0 → 1.34.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d3f45e3af6f11c3ebca5f44f3d717960c1ac20cffdc13db75a16d68c9eecfbd
|
|
4
|
+
data.tar.gz: 0edf629fc7f432a779141be67a231887224a78793defedad416df50b327ecbcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7570cde0cd99ea0fe3148f9a8c1f9a7035c165fb0f5506623a79d3f2c3227581d6de878fd56c9a5d5f4c4bae22191d688f49355c74e4b4926b6362ef5d3f8d06
|
|
7
|
+
data.tar.gz: 0112df035902806c60a82433118669b43bcd9feff89fd8dc7061ee6ffcda9c53ead791c7df4c188567b2b16ee3be8880e269088f4bee944b944aa2dafb60bfef
|
data/Gemfile.lock
CHANGED
|
@@ -109,6 +109,10 @@ module GitlabQuality
|
|
|
109
109
|
description: updated_description
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
# We reopen closed issues to not lose any history
|
|
113
|
+
state_event = issue.state == 'closed' ? 'reopen' : nil
|
|
114
|
+
issue_attrs[:state_event] = state_event if state_event
|
|
115
|
+
|
|
112
116
|
gitlab.edit_issue(iid: issue.iid, options: issue_attrs)
|
|
113
117
|
puts " => Added a report in #{issue.web_url}!"
|
|
114
118
|
end
|
|
@@ -11,7 +11,6 @@ module GitlabQuality
|
|
|
11
11
|
attr_reader :project, :ref, :report_issue, :processed_commits
|
|
12
12
|
|
|
13
13
|
TEST_PLATFORM_MAINTAINERS_SLACK_CHANNEL_ID = 'C0437FV9KBN' # test-platform-maintainers
|
|
14
|
-
BATCH_LIMIT = 10
|
|
15
14
|
|
|
16
15
|
def initialize(token:, project:, specs_file:, processor:, ref: 'master', dry_run: false)
|
|
17
16
|
@specs_file = specs_file
|
|
@@ -29,7 +28,7 @@ module GitlabQuality
|
|
|
29
28
|
|
|
30
29
|
contents['specs'].each do |spec|
|
|
31
30
|
processor.create_commit(spec, self)
|
|
32
|
-
break if processed_commits.keys.count >= BATCH_LIMIT
|
|
31
|
+
break if processed_commits.keys.count >= ENV.fetch('BATCH_LIMIT', 10)
|
|
33
32
|
end
|
|
34
33
|
|
|
35
34
|
processor.create_merge_requests(self)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab_quality-test_tooling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.34.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: 2024-
|
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|