gitlab-exporter 14.1.0 → 14.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd25ebf8533fde9c59b0db768540fcbdf338c961715617459c2a4aa2eb2cc912
4
- data.tar.gz: 12e190d1ea1f1cf0a16aa68ab54995c4953555807c7e3c80ecf8a40072d811dd
3
+ metadata.gz: b7f9898831930837f37459941f701115d678149f1e0ccdc4dfa896ed729066db
4
+ data.tar.gz: b7d4a3e5310b838cbefc49475eb7893749a4fc6b6e8574b6f7d03f080790ab8b
5
5
  SHA512:
6
- metadata.gz: f482931b5c30361f7d9e2899c47de30e4fe296b02028818c83bf189defcd8e0dd6fa30f411c1a96e2abab809c1d45ea4c679479b61ac093c09d678154a8b6ce5
7
- data.tar.gz: 5942a5b4b0ea8ecdccdab0de8a5bfdad2f7b1f125e200bfc94e64cf4328ca750cf866ccd394dbe14dfc91fe3dcc5915332e5519c9f9d37682f49251ac2a7b581
6
+ metadata.gz: 87701dd407f197bfe6e4927f66e494bfd63aafea8c49eef7d5e86996256853b671f2d8a891b709543f89aead3f3a0609b453c104b826cf0ea8aaf7b586d8d6b7
7
+ data.tar.gz: e6bcf77ffc7c6b14d6f472fcb0d7c386c676a217021200b75898dbac15e8586f852782ee3e71b3fa010811263b3b01e65417a3d24a01f089db3f931f167c76ec
data/.gitlab-ci.yml CHANGED
@@ -1,13 +1,10 @@
1
1
  include:
2
+ - component: gitlab.com/components/container-scanning/container-scanning@~latest
3
+ - component: gitlab.com/components/sast/sast@~latest
4
+ - component: gitlab.com/components/secret-detection/secret-detection@~latest
5
+ - component: gitlab.com/gitlab-org/components/gem-release/gem-release@~latest
2
6
  - template: Security/DAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
3
- - template: Security/Container-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/Container-Scanning.gitlab-ci.yml
4
7
  - template: Security/Dependency-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
5
- - template: Security/License-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/License-Scanning.gitlab-ci.yml
6
- - template: Security/SAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
7
- - template: Security/Secret-Detection.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/-/blob/master/lib/gitlab/ci/templates/Security/Secret-Detection.gitlab-ci.yml
8
- - project: 'gitlab-org/quality/pipeline-common'
9
- file:
10
- - '/ci/gem-release.yml'
11
8
 
12
9
  variables:
13
10
  RUBY_VERSION: "2.7"
@@ -65,9 +62,6 @@ rubocop:
65
62
  - bundle exec rubocop
66
63
  before_script: *before_scripts
67
64
 
68
- license_scanning:
69
- rules: *workflow_rules
70
-
71
65
  gemnasium-dependency_scanning:
72
66
  rules: *workflow_rules
73
67
 
data/.rubocop.yml CHANGED
@@ -33,4 +33,4 @@ Metrics/AbcSize:
33
33
  Enabled: false
34
34
 
35
35
  Metrics/ClassLength:
36
- Max: 150
36
+ Max: 155
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab-exporter (14.1.0)
4
+ gitlab-exporter (14.2.0)
5
5
  connection_pool (= 2.2.5)
6
6
  deep_merge (~> 1.2.2)
7
7
  faraday (~> 1.8.0)
@@ -94,6 +94,9 @@ probes:
94
94
  - probe_retries
95
95
  opts:
96
96
  redis_url: "redis://localhost:6379"
97
+ # Uncomment if username or password is not part of the redis_url specified above
98
+ # redis_username: 'redis-username'
99
+ # redis_password: 'redis-password'
97
100
  redis_enable_client: true
98
101
 
99
102
  ruby: &ruby
@@ -199,6 +199,10 @@ module GitLab
199
199
  reconnect_attempts: 0
200
200
  }
201
201
 
202
+ %i[username password].each do |credential|
203
+ options[credential] = @opts[:"redis_#{credential}"] if @opts.key?(:"redis_#{credential}")
204
+ end
205
+
202
206
  options[:id] = nil unless redis_enable_client?
203
207
  options
204
208
  end
@@ -1,5 +1,5 @@
1
1
  module GitLab
2
2
  module Exporter
3
- VERSION = "14.1.0".freeze
3
+ VERSION = "14.2.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.0
4
+ version: 14.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-07-27 00:00:00.000000000 Z
@@ -257,7 +257,7 @@ homepage: https://gitlab.com/gitlab-org/ruby/gems/gitlab-exporter
257
257
  licenses:
258
258
  - MIT
259
259
  metadata: {}
260
- post_install_message:
260
+ post_install_message:
261
261
  rdoc_options: []
262
262
  require_paths:
263
263
  - lib
@@ -272,8 +272,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  - !ruby/object:Gem::Version
273
273
  version: '0'
274
274
  requirements: []
275
- rubygems_version: 3.1.6
276
- signing_key:
275
+ rubygems_version: 3.3.26
276
+ signing_key:
277
277
  specification_version: 4
278
278
  summary: GitLab metrics exporter
279
279
  test_files: