forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
300 lines (300 loc) · 11.7 KB
/
Copy pathrenovate.json
File metadata and controls
300 lines (300 loc) · 11.7 KB
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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": ["dependencies"],
"enabledManagers": ["regex", "npm", "pip_requirements", "gomod", "github-actions", "dockerfile"],
"customManagers": [
{
"customType": "regex",
"description" : "Update Go versions used for building in the CI",
"datasourceTemplate": "golang-version",
"depNameTemplate": "go",
"fileMatch": [
"(^|/)\\.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"go-version: [\"']~(?<currentValue>.+)[\"']"
]
},
{
"customType": "regex",
"description" : "Update tool versions in the Makefile and Github Actions",
"fileMatch": [
"(^|/)Makefile$",
"(^|/)\\.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:*\\??=\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"customType": "regex",
"description" : "Update Chainsaw version in OpenShift CI tests runner Dockerfile",
"datasourceTemplate": "github-releases",
"depNameTemplate": "kyverno/chainsaw",
"fileMatch": [
"(^|/)tests/e2e-openshift/Dockerfile$"
],
"matchStrings": [
"ENV CHAINSAW_VERSION=(?<currentValue>v[\\d\\.]+)"
]
},
{
"customType": "regex",
"description": "Update OpenTelemetry Java instrumentation version",
"datasourceTemplate": "github-releases",
"depNameTemplate": "open-telemetry/opentelemetry-java-instrumentation",
"extractVersionTemplate": "^v?(?<version>.*)$",
"fileMatch": [
"(^|/)autoinstrumentation/java/version\\.txt$"
],
"matchStrings": [
"^(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\s*$"
]
},
{
"customType": "regex",
"description": "Update OpenTelemetry .NET instrumentation version",
"datasourceTemplate": "github-releases",
"depNameTemplate": "open-telemetry/opentelemetry-dotnet-instrumentation",
"extractVersionTemplate": "^v?(?<version>.*)$",
"fileMatch": [
"(^|/)autoinstrumentation/dotnet/version\\.txt$"
],
"matchStrings": [
"^(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\s*$"
]
},
{
"customType": "regex",
"description": "Update kind node images in kind config files",
"datasourceTemplate": "docker",
"depNameTemplate": "kindest/node",
"versioningTemplate": "regex:^v?(?<compatibility>\\d+\\.\\d+)\\.(?<major>\\d+)$",
"fileMatch": [
"(^|/)kind-[\\d\\.]+\\.ya?ml$"
],
"matchStrings": [
"image: kindest/node:(?<currentValue>v[\\d\\.]+)@(?<currentDigest>sha256:[a-f0-9]+)"
]
},
{
"customType": "regex",
"description": "Update BASE_IMAGE build-arg in test e2e publish workflow",
"datasourceTemplate": "docker",
"fileMatch": [
"(^|/)\\.github/workflows/publish-test-e2e-images\\.yaml$"
],
"matchStrings": [
"build-args:\\s*['\"]BASE_IMAGE=(?<depName>[^:@'\"\\s]+):(?<currentValue>[^@'\"\\s]+)@(?<currentDigest>sha256:[a-f0-9]{64})['\"]"
]
}
],
"packageRules": [
{
"matchDatasources": ["golang-version"],
"matchManagers": ["regex"],
"matchFileNames": [".github/workflows/*.yaml", ".github/workflows/*.yml"],
"separateMinorPatch": true,
"commitMessageTopic": "go version in CI"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["Makefile"],
"commitMessageTopic": "tool {{depName}}"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["tests/e2e-openshift/Dockerfile"],
"commitMessageTopic": "Update Chainsaw version in OpenShift CI Dockerfile"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["autoinstrumentation/java/version.txt"],
"commitMessageTopic": "OpenTelemetry java agent version"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["autoinstrumentation/dotnet/version.txt"],
"commitMessageTopic": "OpenTelemetry dotnet agent version"
},
{
"matchManagers": ["npm"],
"matchFileNames": ["autoinstrumentation/nodejs/package.json"],
"matchPackageNames": ["@opentelemetry/auto-instrumentations-node"],
"commitMessageTopic": "OpenTelemetry nodejs agent version"
},
{
"matchManagers": ["pip_requirements"],
"matchFileNames": ["autoinstrumentation/python/requirements.txt"],
"matchPackagePatterns": ["^opentelemetry-"],
"groupName": "OpenTelemetry Python packages",
"group": {
"commitMessageTopic": "OpenTelemetry python agent version to {{ upgrades.0.newVersion }}"
},
"ignoreUnstable": false
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["kindest/node"],
"groupName": "kind node images",
"schedule": ["on monday"],
"commitMessageTopic": "kind node images"
},
{
"matchManagers": ["gomod"],
"matchFileNames": ["tests/test-e2e-apps/**/go.mod"],
"enabled": false
},
{
"description": "Never bump the in-repo module references (resolved via local replace directives)",
"matchManagers": ["gomod"],
"matchDepNames": [
"github.com/open-telemetry/opentelemetry-operator",
"github.com/open-telemetry/opentelemetry-operator/apis"
],
"enabled": false
},
{
"matchManagers": ["gomod"],
"schedule": ["on monday"],
"postUpdateOptions": ["gomodTidy"]
},
{
"matchManagers": ["gomod"],
"matchPackageNames": ["golang.org/x/**"],
"groupName": "golang.org/x"
},
{
"matchManagers": ["gomod"],
"matchPackageNames": [
"github.com/prometheus-operator/prometheus-operator{,/**}",
"github.com/prometheus/prometheus{,/**}",
"github.com/prometheus/client_go{,/**}"
],
"groupName": "prometheus"
},
{
"matchManagers": ["gomod"],
"matchPackageNames": ["k8s.io/**", "sigs.k8s.io/**"],
"groupName": "kubernetes",
"group": {
"commitMessageTopic": "kubernetes group to {{#each upgrades}}{{#if (equals depName \"k8s.io/api\")}}{{newVersion}}{{/if}}{{/each}}"
}
},
{
"matchManagers": ["gomod"],
"matchPackageNames": ["go.opentelemetry.io/otel{,/**}"],
"groupName": "opentelemetry"
},
{
"description": "Keep the unpublished otel-allocator integration test module on its own update stream, independent of the published apis/main modules it follows via local replace. Only matches deps that are exclusive to this module (not shared with root/apis) so shared deps land in the same branch as root and get tidied together.",
"matchManagers": ["gomod"],
"matchFileNames": ["cmd/otel-allocator/integrationtest/go.mod"],
"matchPackageNames": [
"github.com/bahlo/generic-list-go",
"github.com/bboreham/go-loser",
"github.com/buger/jsonparser",
"github.com/coreos/go-systemd/v22",
"github.com/felixge/fgprof",
"github.com/foxboron/go-tpm-keyfiles",
"github.com/gobwas/glob",
"github.com/gogo/protobuf",
"github.com/golang/snappy",
"github.com/google/go-tpm",
"github.com/google/pprof",
"github.com/julienschmidt/httprouter",
"github.com/knadh/koanf/maps",
"github.com/knadh/koanf/providers/confmap",
"github.com/knadh/koanf/v2",
"github.com/mdlayher/socket",
"github.com/mdlayher/vsock",
"github.com/mitchellh/copystructure",
"github.com/mitchellh/reflectwalk",
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics",
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil",
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus",
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor",
"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver",
"github.com/pb33f/jsonpath",
"github.com/pb33f/libopenapi",
"github.com/pb33f/ordered-map/v2",
"github.com/pierrec/lz4/v4",
"github.com/prometheus/common/assets",
"github.com/prometheus/exporter-toolkit",
"github.com/puzpuzpuz/xsync/v4",
"github.com/rs/cors",
"github.com/shurcooL/httpfs",
"go.opentelemetry.io/collector/client",
"go.opentelemetry.io/collector/component",
"go.opentelemetry.io/collector/component/componentstatus",
"go.opentelemetry.io/collector/component/componenttest",
"go.opentelemetry.io/collector/config/configauth",
"go.opentelemetry.io/collector/config/configcompression",
"go.opentelemetry.io/collector/config/confighttp",
"go.opentelemetry.io/collector/config/configmiddleware",
"go.opentelemetry.io/collector/config/confignet",
"go.opentelemetry.io/collector/config/configopaque",
"go.opentelemetry.io/collector/config/configoptional",
"go.opentelemetry.io/collector/config/configtls",
"go.opentelemetry.io/collector/confmap",
"go.opentelemetry.io/collector/confmap/xconfmap",
"go.opentelemetry.io/collector/consumer",
"go.opentelemetry.io/collector/consumer/consumererror",
"go.opentelemetry.io/collector/consumer/consumertest",
"go.opentelemetry.io/collector/consumer/xconsumer",
"go.opentelemetry.io/collector/extension/extensionauth",
"go.opentelemetry.io/collector/extension/extensionmiddleware",
"go.opentelemetry.io/collector/internal/componentalias",
"go.opentelemetry.io/collector/pdata",
"go.opentelemetry.io/collector/pdata/pprofile",
"go.opentelemetry.io/collector/pipeline",
"go.opentelemetry.io/collector/pipeline/xpipeline",
"go.opentelemetry.io/collector/processor",
"go.opentelemetry.io/collector/receiver",
"go.opentelemetry.io/collector/receiver/receiverhelper",
"go.opentelemetry.io/collector/receiver/receivertest",
"go.opentelemetry.io/collector/receiver/xreceiver",
"go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace",
"go.uber.org/goleak",
"go.uber.org/zap/exp",
"go.yaml.in/yaml/v4"
],
"groupName": "otel-allocator integration test module",
"additionalBranchPrefix": "integrationtest-",
"commitMessageSuffix": "(integrationtest)",
"postUpdateOptions": ["gomodTidy"]
},
{
"matchManagers": ["github-actions"],
"schedule": ["on monday"]
},
{
"matchManagers": ["github-actions"],
"matchPackagePatterns": ["^docker/"],
"groupName": "docker GitHub Actions"
},
{
"matchManagers": ["dockerfile"],
"schedule": ["on monday"]
},
{
"matchManagers": ["dockerfile"],
"matchFileNames": ["Dockerfile", "cmd/**/Dockerfile", "autoinstrumentation/**/Dockerfile"],
"groupName": "production base images"
},
{
"matchManagers": ["dockerfile", "regex"],
"matchDatasources": ["docker"],
"matchFileNames": ["tests/**/Dockerfile", ".github/workflows/publish-test-e2e-images.yaml"],
"groupName": "test base images",
"schedule": ["on monday"]
},
{
"matchManagers": ["regex"],
"matchDatasources": ["docker"],
"matchFileNames": [".github/workflows/publish-test-e2e-images.yaml"],
"matchPackageNames": ["docker.io/library/python"],
"allowedVersions": "/^3\\.10-/"
}
]
}