gitlab-test-balancing 0.2.1 → 0.2.2
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/lib/gitlab/test_balancing/cli/rspec.rb +3 -2
- data/lib/gitlab/test_balancing/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: dc6aeb2e8bf9c28515bd8469cfe1c3308b22518693fe385f953531f7fd783b1a
|
|
4
|
+
data.tar.gz: b771e9503e57e627cb188e912f2027e15c591f3bae0aa255b172462185a4680f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ae1037a19fc41afd5f023f422546558375f853d3556a0e568b595381795b89c0851a817f33623610ce2ccfab690befa83133cd0ae48c388353b34dcb8a77fda
|
|
7
|
+
data.tar.gz: 4f880e6b02da673220e4847b3ec53b1607ec7f9f99f01300b72dd0082423916a9a18f65beed3be372be487af5f971da84664cbd611ebfe6e7312b348b0d92647
|
|
@@ -99,12 +99,13 @@ module Gitlab
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Sorted, so that every node computes the same split. Without a leading ./,
|
|
102
|
-
# like the durations report's paths.
|
|
102
|
+
# like the durations report's paths. Unique, because a pattern such as
|
|
103
|
+
# `spec/**{,/*/**}/*_spec.rb` matches a file more than once.
|
|
103
104
|
def files
|
|
104
105
|
@files ||= (given_files || Dir.glob(env.fetch('TEST_BALANCING_PATTERN', DEFAULT_PATTERN)).reject do |path|
|
|
105
106
|
exclude = env['TEST_BALANCING_EXCLUDE_PATTERN']
|
|
106
107
|
exclude && File.fnmatch?(exclude, path, File::FNM_PATHNAME | File::FNM_EXTGLOB)
|
|
107
|
-
end).map { |path| path.delete_prefix('./') }.sort
|
|
108
|
+
end).map { |path| path.delete_prefix('./') }.uniq.sort
|
|
108
109
|
end
|
|
109
110
|
|
|
110
111
|
# Files missing from the report get the median, so they aren't treated as the
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-test-balancing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab Engineers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gitlab-styles
|