gitlab-exporter 11.13.0 → 11.13.1
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 +8 -3
- 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: a5402d26356c57a44d17cfe4bc0671a18db3c80b7fabc3452446f57a58dd26f0
|
4
|
+
data.tar.gz: 70998dd64701d73c13aabb21bba32d66010cb316a60edaf251572950a6408dff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f81d4d8b7394e8f58169a02886371ff0c70b0137511270cb26169473079b05b4407b8decd4ee376579606be9c2379b16494c8f2c32264a62c6d7bb9711624fb
|
7
|
+
data.tar.gz: 82f705c5933bd7671010c2336dc2bff6d06dc90957c662ebf3c19af9a7dc46b6905ff7da4f5074eb7e4f44ce5a2c9d18f060e115e039303a8adbb007f6d4b7ae
|
data/Gemfile.lock
CHANGED
@@ -165,21 +165,26 @@ module GitLab
|
|
165
165
|
},
|
166
166
|
container_repositories_migration_all_free: {
|
167
167
|
select: :container_repositories,
|
168
|
-
where:
|
168
|
+
where: <<~SQL
|
169
|
+
migration_plan IN ('free', 'early_adopter')
|
170
|
+
OR migration_plan IS NULL
|
171
|
+
SQL
|
169
172
|
},
|
170
173
|
container_repositories_migration_pending_free: {
|
171
174
|
select: :container_repositories,
|
172
175
|
where: <<~SQL
|
173
176
|
migration_state <> 'import_done'
|
174
177
|
AND created_at < '2022-01-23 00:00:00'
|
175
|
-
AND migration_plan
|
178
|
+
AND (migration_plan IN ('free', 'early_adopter')
|
179
|
+
OR migration_plan IS NULL)
|
176
180
|
SQL
|
177
181
|
},
|
178
182
|
container_repositories_import_done_free: {
|
179
183
|
select: :container_repositories,
|
180
184
|
where: <<~SQL
|
181
185
|
migration_state = 'import_done'
|
182
|
-
AND migration_plan
|
186
|
+
AND (migration_plan IN ('free', 'early_adopter')
|
187
|
+
OR migration_plan IS NULL)
|
183
188
|
SQL
|
184
189
|
}
|
185
190
|
}.freeze
|