gitlab-exporter 11.10.0 → 11.13.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: 5324b1d8646cfd0efd1fc893a30cd51b3e4f2485847297a176dcc1fd64876470
4
- data.tar.gz: ce160a618591c7974acc45f0388d1f2f16acdd219161021ca690f95f45132d59
3
+ metadata.gz: fec1d36895f9b8b24b201cf8f1a3f5a5299c3c80ca73788a1e047f1813f9f4e9
4
+ data.tar.gz: 764173307e7039155b008d45db8176926af5d31f2339cc2dba55dd5740e123e2
5
5
  SHA512:
6
- metadata.gz: 515d5504735df122ffa8f565783a2e6495968e9122a2a8520f3b642016caa3da9c25261f9e759051cb255ecc9f44b327b4629293987d899aec2daa452796c617
7
- data.tar.gz: c160d4009b4083f21a41a2ea22f6cee0ec355fb7d456d786b862c601972db500f548e83017fcacee03de200454a3e40b84108cfb7241783c300212bfec50e0ef
6
+ metadata.gz: add19c72c5fca192cad268b9ca2bfbad9233fed24e7bd72e12e5b1266f95472e234ee25e4e4d76c22867b38b0a26e0f8bcf0344c5dddd35c8b37d072064c7442
7
+ data.tar.gz: 6fb8139608431e6e4d166c326f8f8930aad28bad6daf947d5ade08c32181b865b5d94fa0685cf92af14e9b964e98f09bfcfe5461f7d342eeae3b7ece51702fa8
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (11.10.0)
4
+ gitlab-exporter (11.13.0)
5
5
  connection_pool (= 2.2.5)
6
6
  faraday (~> 1.8.0)
7
7
  pg (= 1.2.3)
8
- puma (= 5.5.2)
8
+ puma (= 5.6.2)
9
9
  quantile (= 0.2.1)
10
10
  redis (= 4.4.0)
11
11
  redis-namespace (= 1.6.0)
@@ -45,7 +45,7 @@ GEM
45
45
  parser (3.0.0.0)
46
46
  ast (~> 2.4.1)
47
47
  pg (1.2.3)
48
- puma (5.5.2)
48
+ puma (5.6.2)
49
49
  nio4r (~> 2.0)
50
50
  quantile (0.2.1)
51
51
  rack (2.2.3)
@@ -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.5.2"
26
+ s.add_runtime_dependency "puma", "5.6.2"
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"
@@ -131,6 +131,56 @@ module GitLab
131
131
  visibility_level: {},
132
132
  root: { definition: "(parent_id IS NULL)" }
133
133
  }
134
+ },
135
+ container_repositories_migration_pending: {
136
+ select: :container_repositories,
137
+ where: <<~SQL
138
+ migration_state <> 'import_done'
139
+ AND created_at < '2022-01-23 00:00:00'
140
+ SQL
141
+ },
142
+ container_repositories_pre_importing: {
143
+ select: :container_repositories,
144
+ where: "migration_state = 'pre_importing'"
145
+ },
146
+ container_repositories_importing: {
147
+ select: :container_repositories,
148
+ where: "migration_state = 'importing'"
149
+ },
150
+ container_repositories_pre_import_done: {
151
+ select: :container_repositories,
152
+ where: "migration_state = 'pre_import_done'"
153
+ },
154
+ container_repositories_import_done: {
155
+ select: :container_repositories,
156
+ where: "migration_state = 'import_done'"
157
+ },
158
+ container_repositories_import_skipped: {
159
+ select: :container_repositories,
160
+ where: "migration_state = 'import_skipped'"
161
+ },
162
+ container_repositories_import_aborted: {
163
+ select: :container_repositories,
164
+ where: "migration_state = 'import_aborted'"
165
+ },
166
+ container_repositories_migration_all_free: {
167
+ select: :container_repositories,
168
+ where: "migration_plan = 'free'"
169
+ },
170
+ container_repositories_migration_pending_free: {
171
+ select: :container_repositories,
172
+ where: <<~SQL
173
+ migration_state <> 'import_done'
174
+ AND created_at < '2022-01-23 00:00:00'
175
+ AND migration_plan = 'free'
176
+ SQL
177
+ },
178
+ container_repositories_import_done_free: {
179
+ select: :container_repositories,
180
+ where: <<~SQL
181
+ migration_state = 'import_done'
182
+ AND migration_plan = 'free'
183
+ SQL
134
184
  }
135
185
  }.freeze
136
186
 
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "11.10.0".freeze
3
+ VERSION = "11.13.0".freeze
4
4
  end
5
5
  end
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.10.0
4
+ version: 11.13.0
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.5.2
61
+ version: 5.6.2
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.5.2
68
+ version: 5.6.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: quantile
71
71
  requirement: !ruby/object:Gem::Requirement