/
deps.yml
266 lines (265 loc) · 10.3 KB
/
deps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
version: 3
dependencies:
- type: git
manifest_updates:
filters:
- name: ".*acme.*" # acme-client/chef-acme
group: true
enabled: true
- name: ".*chef/.*" # Chef libs
group: true
enabled: true
- name: .* # everything else
enabled: true
settings:
gitlab_labels:
- group::distribution
- section::core platform
- devops::systems
- type::maintenance
- maintenance::dependency
- dependencies.io
- workflow::ready for review
gitlab_remove_source_branch: true
commit_message_template: |-
{{.SubjectAndBody}}
Changelog: changed
remotes:
# acme-client
https://github.com/unixcharles/acme-client.git:
replace_in_files:
- filename: config/templates/omnibus-gitlab-gems/Gemfile
pattern: "gem 'acme-client', '(\\S+)'"
tag_prefix: 'v'
# chef-acme
https://github.com/schubergphilis/chef-acme.git:
replace_in_files:
- filename: config/software/chef-acme.rb
pattern: "version = Gitlab::Version.new\\(name, 'v(\\S+)'\\)"
tag_prefix: 'v'
# alertmanager
https://gitlab.com/gitlab-org/build/omnibus-mirror/alertmanager.git:
replace_in_files:
- filename: config/software/alertmanager.rb
pattern: "Gitlab::Version.new\\('alertmanager', '(\\S+)'\\)"
tag_prefix: 'v'
# chef
https://github.com/chef/chef.git:
replace_in_files:
- filename: config/templates/omnibus-gitlab-gems/Gemfile
pattern: "gem 'chef', '(\\S+)'"
tag_prefix: 'v'
range: '<= 18.x'
- filename: config/software/chef-bin.rb
pattern: "default_version '(\\S+)'"
tag_prefix: 'v'
range: '<= 18.x'
# ohai
https://github.com/chef/ohai.git:
replace_in_files:
- filename: config/templates/omnibus-gitlab-gems/Gemfile
pattern: "gem 'ohai', '(\\S+)'"
tag_prefix: 'v'
range: '<= 18.x'
# mixlib-log
https://github.com/chef/mixlib-log.git:
replace_in_files:
- filename: config/software/mixlib-log.rb
pattern: "default_version '(\\S+)'"
# chef-zero
https://github.com/chef/chef-zero:
- filename: config/templates/omnibus-gitlab-gems/Gemfile
pattern: "gem 'chef-zero', '(\\S+)'"
# compat_resource
https://github.com/chef-cookbooks/compat_resource.git:
replace_in_files:
- filename: config/software/compat_resource.rb
pattern: "version = Gitlab::Version.new\\('compat_resource', 'v(\\S+)'\\)"
# consul
https://github.com/hashicorp/consul.git:
replace_in_files:
- filename: config/software/consul.rb
pattern: "version = Gitlab::Version.new\\('consul', 'v(\\S+)'\\)"
range: '< 1.17.0'
- filename: files/gitlab-ctl-commands-ee/lib/consul_download.rb
pattern: "DEFAULT_VERSION = '(\\S+)'"
range: '< 1.17.0'
- filename: files/gitlab-cookbooks/consul/libraries/consul_helper.rb
pattern: "SUPPORTED_MINOR = '(\\S+)'"
tag_filter:
output_as: '$1.$2'
# go-crond
https://github.com/webdevops/go-crond.git:
replace_in_files:
- filename: config/software/go-crond.rb
pattern: "version = Gitlab::Version.new\\('go-crond', '(\\S+)'\\)"
# jemalloc
https://github.com/jemalloc/jemalloc.git:
replace_in_files:
- filename: config/software/jemalloc.rb
pattern: "version = Gitlab::Version.new\\('jemalloc', '(\\S+)'\\)"
# libpng
https://git.code.sf.net/p/libpng/code.git:
replace_in_files:
- filename: config/software/libpng.rb
pattern: "version = Gitlab::Version.new\\('libpng', 'v(\\S+)'\\)"
tag_prefix: 'v'
# logrotate
https://gitlab.com/gitlab-org/build/omnibus-mirror/logrotate.git:
replace_in_files:
- filename: config/software/logrotate.rb
pattern: "Gitlab::Version.new\\(name, '(\\S+)'\\)"
# nginx-module-vts
https://gitlab.com/gitlab-org/build/omnibus-mirror/nginx-module-vts.git:
replace_in_files:
- filename: config/software/nginx-module-vts.rb
pattern: "Gitlab::Version.new\\('nginx-module-vts', '(\\S+)'\\)"
# nginx
https://github.com/nginx/nginx.git:
replace_in_files:
- filename: config/software/nginx.rb
pattern: "Gitlab::Version.new\\('nginx', 'release-(\\S+)'\\)"
tag_prefix: 'release-'
# openssl
https://github.com/openssl/openssl.git:
replace_in_files:
- filename: config/software/openssl_1.rb
pattern: "Gitlab::Version.new\\('openssl', 'OpenSSL_1_1_(\\S+)'\\)"
tag_prefix: 'OpenSSL_1_1_'
semver: false
# remote-syslog
https://github.com/papertrail/remote_syslog.git:
replace_in_files:
- filename: config/templates/omnibus-gitlab-gems/Gemfile
pattern: "gem 'remote_syslog', '(\\S+)'"
# rubygems
https://github.com/rubygems/rubygems.git:
replace_in_files:
- filename: config/software/rubygems.rb
pattern: "default_version '(\\S+)'"
range: '<= 3.x'
# zlib
https://github.com/madler/zlib.git:
replace_in_files:
- filename: config/software/zlib.rb
pattern: "Gitlab::Version.new\\('zlib', 'v(\\S+)'\\)"
tag_prefix: 'v'
# prometheus
https://gitlab.com/gitlab-org/build/omnibus-mirror/prometheus.git:
replace_in_files:
- filename: config/software/prometheus.rb
pattern: "Gitlab::Version.new\\('prometheus', '(\\S+)'\\)"
tag_prefix: 'v'
# gitlab-exporter
https://gitlab.com/gitlab-org/gitlab-exporter.git:
replace_in_files:
- filename: config/software/gitlab-exporter.rb
pattern: "default_version '(\\S+)'"
# node-exporter
https://gitlab.com/gitlab-org/build/omnibus-mirror/node_exporter.git:
replace_in_files:
- filename: config/software/node-exporter.rb
pattern: "Gitlab::Version.new\\('node-exporter', '(\\S+)'\\)"
tag_prefix: 'v'
# postgres-exporter
https://gitlab.com/gitlab-org/build/omnibus-mirror/postgres_exporter.git:
replace_in_files:
- filename: config/software/postgres-exporter.rb
pattern: "Gitlab::Version.new\\('postgres-exporter', '(\\S+)'\\)"
tag_prefix: 'v'
# pgbouncer-exporter
https://gitlab.com/gitlab-org/build/omnibus-mirror/pgbouncer_exporter.git:
replace_in_files:
- filename: config/software/pgbouncer-exporter.rb
pattern: "Gitlab::Version.new\\('pgbouncer-exporter', '(\\S+)'\\)"
tag_prefix: 'v'
# redis-exporter
https://gitlab.com/gitlab-org/build/omnibus-mirror/redis_exporter.git:
replace_in_files:
- filename: config/software/redis-exporter.rb
pattern: "Gitlab::Version.new\\('redis-exporter', '(\\S+)'\\)"
tag_prefix: 'v'
#libjpeg-turbo
https://github.com/libjpeg-turbo/libjpeg-turbo.git:
replace_in_files:
- filename: config/software/libjpeg-turbo.rb
pattern: "Gitlab::Version.new\\('libjpeg-turbo', '(\\S+)'\\)"
range: '< 2.1.90'
#libtiff
https://gitlab.com/libtiff/libtiff.git:
replace_in_files:
- filename: config/software/libtiff.rb
pattern: "Gitlab::Version.new\\('libtiff', 'v(\\S+)'\\)"
tag_prefix: 'v'
# gitlab-registry
https://gitlab.com/gitlab-org/container-registry.git:
replace_in_files:
- filename: config/software/registry.rb
pattern: "Gitlab::Version.new\\('registry', '(\\S+)'\\)"
tag_filter:
matching: 'v(\S+)-gitlab'
sort_as: '$1'
# pgbouncer
https://github.com/pgbouncer/pgbouncer.git:
replace_in_files:
- filename: config/software/pgbouncer.rb
pattern: "Gitlab::Version.new\\('pgbouncer', '(\\S+)'\\)"
tag_filter:
matching: 'pgbouncer_(\d+)_(\d+)_(\d+)'
sort_as: '$1.$2.$3'
# redis
https://github.com/redis/redis.git:
replace_in_files:
- filename: config/software/redis.rb
pattern: "Gitlab::Version.new\\('redis', '(\\S+)'\\)"
range: '< 7.2.0'
# exiftool
https://github.com/exiftool/exiftool.git:
replace_in_files:
- filename: config/software/exiftool.rb
pattern: "Gitlab::Version.new\\('exiftool', '(\\S+)'\\)"
tag_filter:
matching: '(\d+).(\d+)'
sort_as: '$1.$2.0'
# curl
https://github.com/curl/curl.git:
replace_in_files:
- filename: config/software/curl.rb
pattern: "version = Gitlab::Version.new\\('curl', '(\\S+)'\\)"
tag_filter:
matching: 'curl-(\d+)_(\d+)_(\d+)'
sort_as: '$1.$2.$3'
# pcre2
https://github.com/PCRE2Project/pcre2.git:
replace_in_files:
- filename: config/software/pcre2.rb
pattern: "Gitlab::Version.new\\('pcre2', '(\\S+)'\\)"
tag_filter:
matching: 'pcre2-(\d+).(\d+)$'
sort_as: '$1.$2.0'
# git-filter-repo
https://github.com/newren/git-filter-repo.git:
replace_in_files:
- filename: config/software/git-filter-repo.rb
pattern: "Gitlab::Version.new\\('git-filter-repo', 'v(\\S+)'\\)"
tag_prefix: 'v'
# deps that need updated filtering to work https://github.com/dropseed/deps-git/issues/2
# krb5
# https://github.com/krb5/krb5.git:
# replace_in_files:
# - filename: config/software/krb5.rb
# pattern: "Gitlab::Version.new\\('krb5', 'krb5-(\\S+)'\\)"
# tag_prefix: 'krb5-'
# libevent
# https://github.com/libevent/libevent.git:
# replace_in_files:
# - filename: config/software/libevent.rb
# pattern: "version = Gitlab::Version.new\\('libevent', '(release-\\d+\\.\\d+\\.\\d+-stable)'\\)"
# semver: false
# libicu
# https://github.com/unicode-org/icu.git:
# replace_in_files:
# - filename: config/software/libicu.rb
# pattern: "version = Gitlab::Version.new\\('libicu', 'release-(\\d+-\\d+)'\\)"
# tag_prefix: 'release-'
# semver: false