gitlab-exporter 11.12.0 → 11.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab_exporter/database/row_count.rb +19 -0
- data/lib/gitlab_exporter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fec1d36895f9b8b24b201cf8f1a3f5a5299c3c80ca73788a1e047f1813f9f4e9
|
4
|
+
data.tar.gz: 764173307e7039155b008d45db8176926af5d31f2339cc2dba55dd5740e123e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add19c72c5fca192cad268b9ca2bfbad9233fed24e7bd72e12e5b1266f95472e234ee25e4e4d76c22867b38b0a26e0f8bcf0344c5dddd35c8b37d072064c7442
|
7
|
+
data.tar.gz: 6fb8139608431e6e4d166c326f8f8930aad28bad6daf947d5ade08c32181b865b5d94fa0685cf92af14e9b964e98f09bfcfe5461f7d342eeae3b7ece51702fa8
|
data/Gemfile.lock
CHANGED
@@ -162,6 +162,25 @@ module GitLab
|
|
162
162
|
container_repositories_import_aborted: {
|
163
163
|
select: :container_repositories,
|
164
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
|
165
184
|
}
|
166
185
|
}.freeze
|
167
186
|
|