gitlab-exporter 11.11.0 → 11.12.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 +31 -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: 4a32d2d434759d54a6661dc050113ac3d20eeaaf5abc453db48926984755e658
|
4
|
+
data.tar.gz: 1911db0aaa4991db904318248cfb2e144bcc7725ac03a860eafde62574037262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50c437ce7c0a7571c65364541a317fba5d469d5b4f21e21cd9f447291e8c3a6c7ecc9a131858259c23f47d11feb63501d5d7f35e906c0f819a63c26c3270f08
|
7
|
+
data.tar.gz: e79d81db7723357408c28eccfd0c4470e7644adda4314442b9f19474005cc612752c1270e64b7898f5f287ddcdb9ee777738284ed54525ba3ad16c3218a54921
|
data/Gemfile.lock
CHANGED
@@ -131,6 +131,37 @@ 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'"
|
134
165
|
}
|
135
166
|
}.freeze
|
136
167
|
|