gitlab-exporter 11.17.0 → 11.18.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: 513416303a50799c69f2ece3bf3062e1a004fb0def6c0a53b781faf1b136c9af
4
- data.tar.gz: 4534bc4312933d7bdf69b3949bf9aca49a647b767ab2ce239997c5afdadb3839
3
+ metadata.gz: 7fe7c2d285f8033326b10311872bafcf80283f300337350c89102d612321dbcc
4
+ data.tar.gz: be8c7d380b690312df25f396769e179ea9e4679bdf2637463ce35fd4c1cc17e2
5
5
  SHA512:
6
- metadata.gz: 19895651f79c79b0aac530cdac7286b7a4f29b14dc5e7c580d543c2efe892f5c432d5a9319bbf2ba49da0ee14b90159060869e0673dc750c318faf99c7ee601a
7
- data.tar.gz: 8b42d035c9953ef162e30381ad06b616b153d293f36dd2436ebdbe5b2b147f4166ab7d91ca0c221b19bbcb541998437ccd2ab40f81d3b8a4c65d81d8c7514122
6
+ metadata.gz: 25e35175c9d62b39eebd55f8db1d09ad602a8762e12fea42abe88859a899f02c2245e18928a8fc94393316949752e83f04034da3665ec975edfe8e414a9c17d0
7
+ data.tar.gz: c20b4d64ef88f945dbf468914e1dcfce05800aa033b24bd88a22df2ef4417a53f82bad2edc3e76065d93fecf2fdddece560d65851ca8be3ee40ef6671534bc9f
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  .bundle
2
+ vendor
2
3
  config/gitlab-exporter*.yml
data/.gitlab-ci.yml CHANGED
@@ -25,7 +25,8 @@ default:
25
25
  .before_scripts: &before_scripts
26
26
  - git config --global user.email "bot@gitlab.com"
27
27
  - git config --global user.name "Bot User"
28
- - bundle install -j $(nproc) --path vendor
28
+ - bundle config set --local deployment true
29
+ - bundle install -j $(nproc)
29
30
 
30
31
  workflow:
31
32
  rules: &workflow_rules
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (11.17.0)
4
+ gitlab-exporter (11.18.1)
5
5
  connection_pool (= 2.2.5)
6
6
  faraday (~> 1.8.0)
7
7
  pg (= 1.2.3)
8
- puma (= 5.6.2)
8
+ puma (= 5.6.5)
9
9
  quantile (= 0.2.1)
10
10
  redis (= 4.4.0)
11
11
  redis-namespace (= 1.6.0)
@@ -38,18 +38,18 @@ GEM
38
38
  faraday-patron (1.0.0)
39
39
  faraday-rack (1.0.0)
40
40
  multipart-post (2.2.3)
41
- mustermann (1.1.1)
41
+ mustermann (2.0.2)
42
42
  ruby2_keywords (~> 0.0.1)
43
43
  nio4r (2.5.8)
44
44
  parallel (1.20.1)
45
45
  parser (3.0.0.0)
46
46
  ast (~> 2.4.1)
47
47
  pg (1.2.3)
48
- puma (5.6.2)
48
+ puma (5.6.5)
49
49
  nio4r (~> 2.0)
50
50
  quantile (0.2.1)
51
51
  rack (2.2.4)
52
- rack-protection (2.2.0)
52
+ rack-protection (2.2.2)
53
53
  rack
54
54
  rainbow (3.0.0)
55
55
  redis (4.4.0)
@@ -87,12 +87,12 @@ GEM
87
87
  connection_pool (>= 2.2.2)
88
88
  rack (~> 2.0)
89
89
  redis (>= 4.2.0)
90
- sinatra (2.2.0)
91
- mustermann (~> 1.0)
90
+ sinatra (2.2.2)
91
+ mustermann (~> 2.0)
92
92
  rack (~> 2.2)
93
- rack-protection (= 2.2.0)
93
+ rack-protection (= 2.2.2)
94
94
  tilt (~> 2.0)
95
- tilt (2.0.10)
95
+ tilt (2.0.11)
96
96
  unicode-display_width (1.7.0)
97
97
  webrick (1.7.0)
98
98
 
@@ -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.6.2"
26
+ s.add_runtime_dependency "puma", "5.6.5"
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"
@@ -136,7 +136,7 @@ module GitLab
136
136
  select: :container_repositories,
137
137
  where: <<~SQL
138
138
  migration_state <> 'import_done'
139
- AND created_at < '2022-01-23 00:00:00'
139
+ AND created_at < '2022-08-17 00:00:00'
140
140
  SQL
141
141
  },
142
142
  container_repositories_pre_importing: {
@@ -174,7 +174,7 @@ module GitLab
174
174
  select: :container_repositories,
175
175
  where: <<~SQL
176
176
  migration_state <> 'import_done'
177
- AND created_at < '2022-01-23 00:00:00'
177
+ AND created_at < '2022-08-17 00:00:00'
178
178
  AND (migration_plan IN ('free', 'early_adopter')
179
179
  OR migration_plan IS NULL)
180
180
  SQL
@@ -182,7 +182,7 @@ module GitLab
182
182
  container_repositories_import_done_free: {
183
183
  select: :container_repositories,
184
184
  where: <<~SQL
185
- (migration_state = 'import_done' OR created_at >= '2022-01-23 00:00:00')
185
+ (migration_state = 'import_done' OR created_at >= '2022-08-17 00:00:00')
186
186
  AND (migration_plan IN ('free', 'early_adopter')
187
187
  OR migration_plan IS NULL)
188
188
  SQL
@@ -6,7 +6,7 @@ module TLSHelper
6
6
  %i[tls_cert_path tls_key_path].each do |key|
7
7
  fail "TLS enabled, but #{key} not specified in config" unless config.key?(key)
8
8
 
9
- fail "File specified via #{key} not found: #{config[file]}" unless File.exist?(config[key])
9
+ fail "File specified via #{key} not found: #{config[key]}" unless File.exist?(config[key])
10
10
  end
11
11
  end
12
12
 
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "11.17.0".freeze
3
+ VERSION = "11.18.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.17.0
4
+ version: 11.18.1
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.6.2
61
+ version: 5.6.5
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.6.2
68
+ version: 5.6.5
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: quantile
71
71
  requirement: !ruby/object:Gem::Requirement