gitlab-exporter 11.17.0 → 11.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.gitlab-ci.yml +2 -1
- data/Gemfile.lock +9 -9
- data/gitlab-exporter.gemspec +1 -1
- data/lib/gitlab_exporter/database/row_count.rb +3 -3
- data/lib/gitlab_exporter/tls_helper.rb +1 -1
- data/lib/gitlab_exporter/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fe7c2d285f8033326b10311872bafcf80283f300337350c89102d612321dbcc
|
4
|
+
data.tar.gz: be8c7d380b690312df25f396769e179ea9e4679bdf2637463ce35fd4c1cc17e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25e35175c9d62b39eebd55f8db1d09ad602a8762e12fea42abe88859a899f02c2245e18928a8fc94393316949752e83f04034da3665ec975edfe8e414a9c17d0
|
7
|
+
data.tar.gz: c20b4d64ef88f945dbf468914e1dcfce05800aa033b24bd88a22df2ef4417a53f82bad2edc3e76065d93fecf2fdddece560d65851ca8be3ee40ef6671534bc9f
|
data/.gitignore
CHANGED
data/.gitlab-ci.yml
CHANGED
@@ -25,7 +25,8 @@ default:
|
|
25
25
|
.before_scripts: &before_scripts
|
26
26
|
- git config --global user.email "bot@gitlab.com"
|
27
27
|
- git config --global user.name "Bot User"
|
28
|
-
- bundle
|
28
|
+
- bundle config set --local deployment true
|
29
|
+
- bundle install -j $(nproc)
|
29
30
|
|
30
31
|
workflow:
|
31
32
|
rules: &workflow_rules
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlab-exporter (11.
|
4
|
+
gitlab-exporter (11.18.1)
|
5
5
|
connection_pool (= 2.2.5)
|
6
6
|
faraday (~> 1.8.0)
|
7
7
|
pg (= 1.2.3)
|
8
|
-
puma (= 5.6.
|
8
|
+
puma (= 5.6.5)
|
9
9
|
quantile (= 0.2.1)
|
10
10
|
redis (= 4.4.0)
|
11
11
|
redis-namespace (= 1.6.0)
|
@@ -38,18 +38,18 @@ GEM
|
|
38
38
|
faraday-patron (1.0.0)
|
39
39
|
faraday-rack (1.0.0)
|
40
40
|
multipart-post (2.2.3)
|
41
|
-
mustermann (
|
41
|
+
mustermann (2.0.2)
|
42
42
|
ruby2_keywords (~> 0.0.1)
|
43
43
|
nio4r (2.5.8)
|
44
44
|
parallel (1.20.1)
|
45
45
|
parser (3.0.0.0)
|
46
46
|
ast (~> 2.4.1)
|
47
47
|
pg (1.2.3)
|
48
|
-
puma (5.6.
|
48
|
+
puma (5.6.5)
|
49
49
|
nio4r (~> 2.0)
|
50
50
|
quantile (0.2.1)
|
51
51
|
rack (2.2.4)
|
52
|
-
rack-protection (2.2.
|
52
|
+
rack-protection (2.2.2)
|
53
53
|
rack
|
54
54
|
rainbow (3.0.0)
|
55
55
|
redis (4.4.0)
|
@@ -87,12 +87,12 @@ GEM
|
|
87
87
|
connection_pool (>= 2.2.2)
|
88
88
|
rack (~> 2.0)
|
89
89
|
redis (>= 4.2.0)
|
90
|
-
sinatra (2.2.
|
91
|
-
mustermann (~>
|
90
|
+
sinatra (2.2.2)
|
91
|
+
mustermann (~> 2.0)
|
92
92
|
rack (~> 2.2)
|
93
|
-
rack-protection (= 2.2.
|
93
|
+
rack-protection (= 2.2.2)
|
94
94
|
tilt (~> 2.0)
|
95
|
-
tilt (2.0.
|
95
|
+
tilt (2.0.11)
|
96
96
|
unicode-display_width (1.7.0)
|
97
97
|
webrick (1.7.0)
|
98
98
|
|
data/gitlab-exporter.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_runtime_dependency "connection_pool", "2.2.5"
|
24
24
|
s.add_runtime_dependency "faraday", "~> 1.8.0"
|
25
25
|
s.add_runtime_dependency "pg", "1.2.3"
|
26
|
-
s.add_runtime_dependency "puma", "5.6.
|
26
|
+
s.add_runtime_dependency "puma", "5.6.5"
|
27
27
|
s.add_runtime_dependency "quantile", "0.2.1"
|
28
28
|
s.add_runtime_dependency "redis", "4.4.0"
|
29
29
|
s.add_runtime_dependency "redis-namespace", "1.6.0"
|
@@ -136,7 +136,7 @@ module GitLab
|
|
136
136
|
select: :container_repositories,
|
137
137
|
where: <<~SQL
|
138
138
|
migration_state <> 'import_done'
|
139
|
-
AND created_at < '2022-
|
139
|
+
AND created_at < '2022-08-17 00:00:00'
|
140
140
|
SQL
|
141
141
|
},
|
142
142
|
container_repositories_pre_importing: {
|
@@ -174,7 +174,7 @@ module GitLab
|
|
174
174
|
select: :container_repositories,
|
175
175
|
where: <<~SQL
|
176
176
|
migration_state <> 'import_done'
|
177
|
-
AND created_at < '2022-
|
177
|
+
AND created_at < '2022-08-17 00:00:00'
|
178
178
|
AND (migration_plan IN ('free', 'early_adopter')
|
179
179
|
OR migration_plan IS NULL)
|
180
180
|
SQL
|
@@ -182,7 +182,7 @@ module GitLab
|
|
182
182
|
container_repositories_import_done_free: {
|
183
183
|
select: :container_repositories,
|
184
184
|
where: <<~SQL
|
185
|
-
(migration_state = 'import_done' OR created_at >= '2022-
|
185
|
+
(migration_state = 'import_done' OR created_at >= '2022-08-17 00:00:00')
|
186
186
|
AND (migration_plan IN ('free', 'early_adopter')
|
187
187
|
OR migration_plan IS NULL)
|
188
188
|
SQL
|
@@ -6,7 +6,7 @@ module TLSHelper
|
|
6
6
|
%i[tls_cert_path tls_key_path].each do |key|
|
7
7
|
fail "TLS enabled, but #{key} not specified in config" unless config.key?(key)
|
8
8
|
|
9
|
-
fail "File specified via #{key} not found: #{config[
|
9
|
+
fail "File specified via #{key} not found: #{config[key]}" unless File.exist?(config[key])
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-exporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo Carranza
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 5.6.
|
61
|
+
version: 5.6.5
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 5.6.
|
68
|
+
version: 5.6.5
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: quantile
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|