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 +4 -4
- data/.gitlab-ci.yml +4 -10
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +1 -1
- data/config/gitlab-exporter.yml.example +3 -0
- data/lib/gitlab_exporter/sidekiq.rb +4 -0
- data/lib/gitlab_exporter/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7f9898831930837f37459941f701115d678149f1e0ccdc4dfa896ed729066db
|
|
4
|
+
data.tar.gz: b7d4a3e5310b838cbefc49475eb7893749a4fc6b6e8574b6f7d03f080790ab8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
data/Gemfile.lock
CHANGED
|
@@ -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
|
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.
|
|
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.
|
|
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:
|