gitlab-exporter 11.11.0 → 11.13.1

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: f427ed5f53c6b5beb7cf337bc7e8f3061729b1c485b43a2fef2825db07e10c58
4
- data.tar.gz: b2d5c4398ead9a7051700f962867c677378a5b339510e8a79d8ed94a49f15bb3
3
+ metadata.gz: a5402d26356c57a44d17cfe4bc0671a18db3c80b7fabc3452446f57a58dd26f0
4
+ data.tar.gz: 70998dd64701d73c13aabb21bba32d66010cb316a60edaf251572950a6408dff
5
5
  SHA512:
6
- metadata.gz: 7c20308b95ec429aeb9dc166872105f1847d6cfe2dfc0a4a4f72c1f1c5c2659e8349e722fb7ae9b3405cd58912926804d29df9ef02fa5e9923e14443f1839dd1
7
- data.tar.gz: d8c6811f60d8ecce68919500f546cad85ae64fb95a822379ab23f6c0ad41fb8fe2a857e03ca4e2986026afbc0179351939de64d6d09c5684d72330db49bd0f1a
6
+ metadata.gz: 2f81d4d8b7394e8f58169a02886371ff0c70b0137511270cb26169473079b05b4407b8decd4ee376579606be9c2379b16494c8f2c32264a62c6d7bb9711624fb
7
+ data.tar.gz: 82f705c5933bd7671010c2336dc2bff6d06dc90957c662ebf3c19af9a7dc46b6905ff7da4f5074eb7e4f44ce5a2c9d18f060e115e039303a8adbb007f6d4b7ae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (11.11.0)
4
+ gitlab-exporter (11.13.1)
5
5
  connection_pool (= 2.2.5)
6
6
  faraday (~> 1.8.0)
7
7
  pg (= 1.2.3)
@@ -131,6 +131,61 @@ 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: <<~SQL
169
+ migration_plan IN ('free', 'early_adopter')
170
+ OR migration_plan IS NULL
171
+ SQL
172
+ },
173
+ container_repositories_migration_pending_free: {
174
+ select: :container_repositories,
175
+ where: <<~SQL
176
+ migration_state <> 'import_done'
177
+ AND created_at < '2022-01-23 00:00:00'
178
+ AND (migration_plan IN ('free', 'early_adopter')
179
+ OR migration_plan IS NULL)
180
+ SQL
181
+ },
182
+ container_repositories_import_done_free: {
183
+ select: :container_repositories,
184
+ where: <<~SQL
185
+ migration_state = 'import_done'
186
+ AND (migration_plan IN ('free', 'early_adopter')
187
+ OR migration_plan IS NULL)
188
+ SQL
134
189
  }
135
190
  }.freeze
136
191
 
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "11.11.0".freeze
3
+ VERSION = "11.13.1".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.11.0
4
+ version: 11.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza