gitlab-exporter 18.0.0 → 18.1.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 +6 -14
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/Gemfile.lock +5 -5
- data/gitlab-exporter.gemspec +3 -3
- data/lib/gitlab_exporter/database/row_count.rb +0 -2
- data/lib/gitlab_exporter/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f73fb7fc123b5608e561c826fbb76ddf236f9aecb80df2e7994ac5d1fd0bd881
|
|
4
|
+
data.tar.gz: 831cea6265a51b621679a535ab8319270fa0b9d00c430c90646ccf69443b9bd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbeb185b686d944b088089b5d5f1c75aef5a9cc52f1f1a5bf765422b4ff562ab98b3f876c695b4a4a402b68a27405fcef9ac2f9c43e98fb05f6e384b004572c7
|
|
7
|
+
data.tar.gz: 408390a37208da8e97b0bb31e3c507044644a71efb3093ec7635ac88c39aa2c002c17fb7030b591fa62b414656fef15ad288ed6041510b7ba2ed39bb50b5ecf8
|
data/.gitlab-ci.yml
CHANGED
|
@@ -27,15 +27,6 @@ default:
|
|
|
27
27
|
- git config --global user.email "bot@gitlab.com"
|
|
28
28
|
- git config --global user.name "Bot User"
|
|
29
29
|
- bundle config set --local deployment true
|
|
30
|
-
- |
|
|
31
|
-
# Bundler 2.7.1 and up require Ruby 3.2 and up, so
|
|
32
|
-
# to avoid https://github.com/rubygems/rubygems/issues/5380 use an
|
|
33
|
-
# older Bundler version.
|
|
34
|
-
case ${RUBY_VERSION} in
|
|
35
|
-
"3.1")
|
|
36
|
-
export BUNDLER_VERSION="2.4.20"
|
|
37
|
-
;;
|
|
38
|
-
esac
|
|
39
30
|
- bundle install -j $(nproc)
|
|
40
31
|
|
|
41
32
|
workflow:
|
|
@@ -53,7 +44,7 @@ rspec:
|
|
|
53
44
|
before_script: *before_scripts
|
|
54
45
|
parallel:
|
|
55
46
|
matrix:
|
|
56
|
-
- RUBY_VERSION: ["3.
|
|
47
|
+
- RUBY_VERSION: ["3.2", "3.3", "3.4", "4.0"]
|
|
57
48
|
|
|
58
49
|
rspec_integration:
|
|
59
50
|
script:
|
|
@@ -64,7 +55,8 @@ rspec_integration:
|
|
|
64
55
|
alias: redis-master
|
|
65
56
|
- name: redis:${REDIS_VERSION}
|
|
66
57
|
alias: redis-auth
|
|
67
|
-
|
|
58
|
+
# Kubernetes runs all services in one pod, so give this one its own port.
|
|
59
|
+
command: ["redis-server", "--port", "6380", "--requirepass", "test-token-secret"]
|
|
68
60
|
- name: bitnamilegacy/redis-sentinel:${REDIS_SENTINEL_VERSION}
|
|
69
61
|
alias: redis-sentinel
|
|
70
62
|
command:
|
|
@@ -82,10 +74,10 @@ rspec_integration:
|
|
|
82
74
|
redis-sentinel /opt/bitnami/redis-sentinel/etc/sentinel.conf
|
|
83
75
|
|
|
84
76
|
variables:
|
|
85
|
-
REDIS_URL: "redis://redis"
|
|
77
|
+
REDIS_URL: "redis://redis-master:6379"
|
|
86
78
|
REDIS_SENTINEL_URL: "redis://mymaster"
|
|
87
79
|
REDIS_SENTINELS: "redis-sentinel:26379"
|
|
88
|
-
REDIS_AUTH_URL: "redis://redis-auth:
|
|
80
|
+
REDIS_AUTH_URL: "redis://redis-auth:6380"
|
|
89
81
|
REDIS_AUTH_PASSWORD: "test-token-secret"
|
|
90
82
|
REDIS_VERSION: latest
|
|
91
83
|
REDIS_SENTINEL_VERSION: latest
|
|
@@ -93,7 +85,7 @@ rspec_integration:
|
|
|
93
85
|
REDIS_SENTINEL_PASSWORD: "my-sentinel-password"
|
|
94
86
|
parallel:
|
|
95
87
|
matrix:
|
|
96
|
-
- RUBY_VERSION: ["3.
|
|
88
|
+
- RUBY_VERSION: ["3.2", "3.3", "3.4", "4.0"]
|
|
97
89
|
|
|
98
90
|
rubocop:
|
|
99
91
|
script:
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.2.9
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
gitlab-exporter (18.
|
|
5
|
-
az-identity (~> 0.
|
|
4
|
+
gitlab-exporter (18.1.0)
|
|
5
|
+
az-identity (~> 0.2)
|
|
6
6
|
base64 (= 0.3.0)
|
|
7
7
|
connection_pool (= 2.5.5)
|
|
8
8
|
deep_merge (~> 1.2.2)
|
|
@@ -10,7 +10,7 @@ PATH
|
|
|
10
10
|
pg (= 1.6.3)
|
|
11
11
|
quantile (= 0.2.1)
|
|
12
12
|
redis (>= 5, < 6)
|
|
13
|
-
redis-cloud-auth (~> 0.
|
|
13
|
+
redis-cloud-auth (~> 0.2)
|
|
14
14
|
redis-namespace (~> 1.11)
|
|
15
15
|
sidekiq (>= 7, < 8)
|
|
16
16
|
webrick (~> 1.9)
|
|
@@ -19,7 +19,7 @@ GEM
|
|
|
19
19
|
remote: https://rubygems.org/
|
|
20
20
|
specs:
|
|
21
21
|
ast (2.4.3)
|
|
22
|
-
az-identity (0.
|
|
22
|
+
az-identity (0.2.0)
|
|
23
23
|
base64
|
|
24
24
|
faraday (~> 2.0)
|
|
25
25
|
base64 (0.3.0)
|
|
@@ -49,7 +49,7 @@ GEM
|
|
|
49
49
|
redis-client (>= 0.22.0)
|
|
50
50
|
redis-client (0.31.0)
|
|
51
51
|
connection_pool
|
|
52
|
-
redis-cloud-auth (0.
|
|
52
|
+
redis-cloud-auth (0.2.0)
|
|
53
53
|
logger
|
|
54
54
|
redis-client (>= 0.14)
|
|
55
55
|
redis-namespace (1.11.0)
|
data/gitlab-exporter.gemspec
CHANGED
|
@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
s.homepage = "https://gitlab.com/gitlab-org/ruby/gems/gitlab-exporter"
|
|
21
21
|
s.license = "MIT"
|
|
22
22
|
|
|
23
|
-
s.required_ruby_version = Gem::Requirement.new(">= 3.
|
|
23
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.2")
|
|
24
24
|
|
|
25
25
|
# base64 is required by sidekiq but not declared by it, and is no longer a
|
|
26
26
|
# default gem as of Ruby 3.4. It used to be pulled in transitively via
|
|
27
27
|
# sinatra -> rack-protection; declare it directly now that those are gone.
|
|
28
|
-
s.add_runtime_dependency "az-identity", "~> 0.
|
|
28
|
+
s.add_runtime_dependency "az-identity", "~> 0.2"
|
|
29
29
|
s.add_runtime_dependency "base64", "0.3.0"
|
|
30
30
|
s.add_runtime_dependency "connection_pool", "2.5.5"
|
|
31
31
|
s.add_runtime_dependency "deep_merge", "~> 1.2.2"
|
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
|
|
|
33
33
|
s.add_runtime_dependency "pg", "1.6.3"
|
|
34
34
|
s.add_runtime_dependency "quantile", "0.2.1"
|
|
35
35
|
s.add_runtime_dependency "redis", ">= 5", "< 6"
|
|
36
|
-
s.add_runtime_dependency "redis-cloud-auth", "~> 0.
|
|
36
|
+
s.add_runtime_dependency "redis-cloud-auth", "~> 0.2"
|
|
37
37
|
s.add_runtime_dependency "redis-namespace", "~> 1.11"
|
|
38
38
|
s.add_runtime_dependency "sidekiq", ">= 7", "< 8"
|
|
39
39
|
s.add_runtime_dependency "webrick", "~> 1.9"
|
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: 18.
|
|
4
|
+
version: 18.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pablo Carranza
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.2'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0.
|
|
26
|
+
version: '0.2'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: base64
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -134,14 +134,14 @@ dependencies:
|
|
|
134
134
|
requirements:
|
|
135
135
|
- - "~>"
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
|
-
version: '0.
|
|
137
|
+
version: '0.2'
|
|
138
138
|
type: :runtime
|
|
139
139
|
prerelease: false
|
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
141
141
|
requirements:
|
|
142
142
|
- - "~>"
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: '0.
|
|
144
|
+
version: '0.2'
|
|
145
145
|
- !ruby/object:Gem::Dependency
|
|
146
146
|
name: redis-namespace
|
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -304,7 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
304
304
|
requirements:
|
|
305
305
|
- - ">="
|
|
306
306
|
- !ruby/object:Gem::Version
|
|
307
|
-
version: '3.
|
|
307
|
+
version: '3.2'
|
|
308
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
309
|
requirements:
|
|
310
310
|
- - ">="
|