-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshared.json
More file actions
358 lines (358 loc) · 13.3 KB
/
Copy pathshared.json
File metadata and controls
358 lines (358 loc) · 13.3 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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":maintainLockFilesWeekly",
"docker:enableMajor",
"mergeConfidence:all-badges",
"github>visualon/renovate-config//meta.json",
"github>visualon/renovate-config//fixes.json",
"github>visualon/renovate-config//groups.json",
"github>visualon/renovate-config//replacements.json",
"github>visualon/renovate-config//k3s.json"
],
"configWarningReuseIssue": true,
"automergeType": "branch",
"timezone": "Europe/Berlin",
"internalChecksFilter": "strict",
"semanticCommits": "enabled",
"postUpdateOptions": ["yarnDedupeHighest", "pnpmDedupe"],
"separateMinorPatch": true,
"separateMajorMinor": true,
"configMigration": true,
"commitBodyTable": true,
"branchNameStrict": true,
"ignorePresets": [":ignoreModulesAndTests", "helpers:disableTypesNodeMajor"],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/tests/**",
"**/flux-system/gotk-sync.yaml"
],
"statusCheckWhen": {
"artifactError": "always"
},
"lockFileMaintenance": { "automerge": true },
"packageRules": [
{
"description": "Require stability days",
"matchDatasources": [
"forgejo-releases",
"forgejo-tags",
"github-releases",
"github-tags",
"npm",
"nuget",
"terraform-provider"
],
"matchPackageNames": [
"!/^renovate(bot)?($|\\/)/",
"!/\\/renovate(?:bot)?$/",
"!/^(?:ghcr\\.io/)?containerbase\\//",
"!@containerbase/*"
],
"minimumReleaseAge": "3 days",
"prNotPendingHours": 73
},
{
"description": "Require dashboard approval for major updates except Renovate",
"matchPackageNames": [
"!/^renovate(bot)?($|\\/)/",
"!/\\/renovate(?:bot)?$/",
"!/^(?:ghcr\\.io/)?containerbase\\//",
"!@containerbase/*"
],
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true
},
{
"description": "Pin actions to full semver",
"matchManagers": ["github-actions"],
"matchDepTypes": ["action"],
"rangeStrategy": "pin",
"pinDigests": true
},
{
"description": "weekly digest updates non full semver actions",
"matchManagers": ["github-actions"],
"matchDepTypes": ["action"],
"matchUpdateTypes": ["digest"],
"matchCurrentValue": "!/^v?\\d+\\.\\d+\\.\\d+$/",
"extends": ["schedule:weekly"]
},
{
"description": "No digest updates for full semver actions",
"matchManagers": ["github-actions"],
"matchDepTypes": ["action"],
"matchUpdateTypes": ["digest"],
"matchCurrentValue": "/^v?\\d+\\.\\d+\\.\\d+$/",
"enabled": false
},
{
"description": "No dashboard approval for major updates of github actions",
"matchManagers": ["github-actions"],
"dependencyDashboardApproval": false
},
{ "matchManagers": ["dockerfile"], "pinDigests": true },
{
"description": "Automerge ci deps minor and lower",
"matchFileNames": ["Jenkinsfile", ".{github,forgejo}/**"],
"extends": [":automergeMinor", "schedule:nonOfficeHours"]
},
{
"description": "Automerge dev deps minor and lower",
"matchDepTypes": ["devDependencies"],
"extends": [":automergeMinor", "schedule:nonOfficeHours"]
},
{
"description": "Automerge package managers",
"matchDepNames": ["yarn", "pnpm"],
"extends": [":automergeMinor", "schedule:nonOfficeHours"]
},
{
"description": "Automerge dotnet dev packages (by source urls)",
"matchSourceUrls": [
"https://github.com/adamralph/minver{,/}**",
"https://github.com/belav/csharpier{,/}**",
"https://github.com/coverlet-coverage/coverlet{,/}**",
"https://github.com/danielpalme/ReportGenerator{,/}**",
"https://github.com/dotnet/msbuild{,/}**",
"https://github.com/dotnet/roslyn-analyzers{,/}**",
"https://github.com/dotnet/sourcelink{,/}**",
"https://github.com/DotNetAnalyzers/StyleCopAnalyzers{,/}**",
"https://github.com/fluentassertions/fluentassertions{,/}**",
"https://github.com/fluentassertions/fluentassertions.analyzers{,/}**",
"https://github.com/fluffynuts/NExpect{,/}**",
"https://github.com/manuelroemer/IsExternalInit{,/}**",
"https://github.com/manuelroemer/Nullable{,/}**",
"https://github.com/microsoft/codecoverage{,/}**",
"https://github.com/microsoft/testfx",
"https://github.com/microsoft/vstest{,/}**",
"https://github.com/Microsoft/MSBuildSdks{,/}**",
"https://github.com/nsubstitute/**",
"https://github.com/nunit/**",
"https://github.com/theramis/Snapper{,/}**",
"https://github.com/xunit/**",
"https://nsubstitute.github.io/**"
],
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
"automerge": true
},
{
"description": "Automerge dotnet dev packages (by package names)",
"matchPackageNames": [
"NLog.Schema",
"NSubstitute",
"NSubstitute.Analyzers.CSharp"
],
"matchUpdateTypes": ["minor", "patch", "digest", "pin"],
"automerge": true
},
{
"description": "Automerge some major updates",
"matchUpdateTypes": ["major"],
"matchPackageNames": [
"containerbase/internal-tools",
"ghcr.io/visualon/builder",
"ghcr.visualon.de/visualon/builder"
],
"automergeType": "pr",
"automerge": true
},
{
"description": "Use replace for peer deps",
"matchDepTypes": ["peerDependencies"],
"rangeStrategy": "replace"
},
{
"description": "Do not separate Renovate minor and patch",
"matchPackageNames": [
"/^renovate(bot)?($|/)/",
"ghcr.io/renovatebot/renovate",
"ghcr.io/visualon/renovate"
],
"separateMinorPatch": false
},
{
"description": "Add ts-jest major update to jest monorepo",
"matchSourceUrls": ["https://github.com/kulshekhar/ts-jest{,/}**"],
"matchUpdateTypes": ["major"],
"groupName": "jest monorepo"
},
{
"description": "Use custom regex versioning for bitnami images",
"matchPackageNames": [
"gcr.io/bitnami-containers/**",
"bitnami/**",
"docker.io/bitnami/**"
],
"matchDatasources": ["docker"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(:?-(?<compatibility>.+)-(?<build>\\d+)(?:-r(?<revision>\\d+))?)?$"
},
{
"description": "Use other registry for chocolatey packages",
"matchPackageNames": ["chocolatey-core.extension", "graphviz.portable"],
"matchDatasources": ["nuget"],
"registryUrls": ["http://community.chocolatey.org/api/v2/"]
},
{
"description": "separate multiple major and use build scope for node",
"matchDepNames": ["node", "**/node"],
"separateMultipleMajor": true
},
{
"description": "set branch prefix for node major updates to split from minor updates",
"matchPackageNames": ["node", "**/node"],
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "major-"
},
{
"description": "split node types to separate pr",
"matchPackageNames": ["@types/node"],
"matchUpdateTypes": ["major"],
"additionalBranchPrefix": "major-types-"
},
{
"description": "widen node engines",
"matchPackageNames": ["node"],
"matchDepTypes": ["engines"],
"rangeStrategy": "widen"
},
{
"description": "Use `build` semantic commit scope for some build deps",
"matchDepNames": ["node", "!@types/node"],
"semanticCommitType": "build"
},
{
"description": "autmerge digests via branch to reduce noise",
"matchUpdateTypes": ["digest"],
"automergeType": "branch"
},
{
"description": "Bump bare NuGet versions to the latest release",
"matchManagers": ["nuget"],
"rangeStrategy": "bump"
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["**/*.tf"],
"matchStrings": [
"\\s+image_[a-z0-9_]+\\s+=\\s+\"(?<packageName>[a-z0-9.\\/-]+)(?::(?<currentValue>[a-z0-9.-]+))?(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"\\s+# renovate:(?: depName=(?<depName>.+?))?(?: versioning=(?<versioning>.+?))?\\s"
],
"datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}docker{{/if}}",
"depNameTemplate": "{{#if depName}}{{depName}}{{else}}{{packageName}}{{/if}}"
},
{
"customType": "regex",
"description": "update versions inside yaml manifests",
"managerFilePatterns": ["**/*.yaml"],
"matchStrings": [
":\\s+(?<currentValue>.+?)\\s+# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\s"
]
},
{
"customType": "regex",
"description": "update _version variables in terraform",
"managerFilePatterns": ["**/*.tf"],
"matchStrings": [
"\\s+(?<depName>[a-z0-9_]+?)_version\\s+=\\s+\"(?<currentValue>[a-z0-9.-]+)\"\\s+# renovate: datasource=(?<datasource>.+?)(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\s"
]
},
{
"customType": "regex",
"managerFilePatterns": ["Jenkinsfile"],
"matchStringsStrategy": "any",
"matchStrings": [
"image '(?<depName>[a-z0-9.\\/-]+)(?::(?<currentValue>[a-z0-9.-]+))?(?:@(?<currentDigest>sha256:[a-f0-9]+))?'",
"image \"(?<depName>[a-z0-9.\\/-]+)(?::(?<currentValue>[a-z0-9.-]+))?(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"",
"image('(?<depName>[a-z0-9.\\/-]+)(?::(?<currentValue>[a-z0-9.-]+))?(?:@(?<currentDigest>sha256:[a-f0-9]+))?')",
"image(\"(?<depName>[a-z0-9.\\/-]+)(?::(?<currentValue>[a-z0-9.-]+))?(?:@(?<currentDigest>sha256:[a-f0-9]+))?\")"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "Update install-* Buildpack commands and _VERSION variables in Dockerfiles",
"managerFilePatterns": [
"/(^|/|\\.)Dockerfile$/",
"/(^|/)Dockerfile\\.[^/]*$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s(ENV|ARG) [A-Z0-9_]+?_VERSION=(?<currentValue>.+?)\\s",
"# renovate: datasource=(?<datasource>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\sRUN install-[a-z]+? (?<depName>[a-z0-9-]+?) (?<currentValue>.+?)\\s"
]
},
{
"customType": "regex",
"description": "Update install-* Buildpack commands and _VERSION variables in shell scripts",
"managerFilePatterns": ["**/*.sh", "**/*.ps1"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s\\$?[A-Z0-9_]+?_VERSION\\s*=\\s*['\"]?(?<currentValue>.+?)['\"]?\\s",
"# renovate: datasource=(?<datasource>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>.+?))?\\sinstall-[a-z]+? (?<depName>[a-z0-9-]+?) (?<currentValue>.+?)\\s"
]
},
{
"customType": "regex",
"description": "nuspec files manager",
"managerFilePatterns": ["**/*.nuspec"],
"matchStringsStrategy": "any",
"matchStrings": [
"<dependency\\s+id=\"(?<depName>.*?)\"\\s+version=\"(?<currentValue>.+?)\"\\s*\\/>"
],
"datasourceTemplate": "nuget",
"versioningTemplate": "nuget"
},
{
"description": "update pnpm patches",
"customType": "regex",
"managerFilePatterns": ["/(?:^|/)package\\.json$/"],
"matchStrings": [
"\"(?<depName>.+?)@(?<currentValue>\\d+\\.\\d+\\.\\d+(?:-.+)?)\": \"patches/"
],
"datasourceTemplate": "npm",
"depTypeTemplate": "patchedDependencies"
},
{
"description": "update flux kustomization CRD dependencies",
"customType": "regex",
"managerFilePatterns": ["flux/infrastructure/crds/kustomization.yaml"],
"matchStrings": [
"-\\s(?:.*?)\\/(?:releases\\/download|refs\\/tags)\\/(?<currentValue>[^/\\s]+)\\/(?:.*?) # renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName)=(?<packageName>.+?))?\\s"
]
},
{
"description": "update Helm chart app version",
"customType": "regex",
"managerFilePatterns": ["**/Chart.yaml"],
"matchStrings": [
"appVersion: [\"']?(?<currentValue>[^/\\s]+)[\"']? # renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)(?: (?:packageName)=(?<packageName>.+?))?( versioning=(?<versioning>.+?))?\\s"
]
}
],
"hostRules": [
{
"description": "forgejo-code has rate limits",
"matchHost": "code.forgejo.org",
"hostType": "forgejo",
"maxRequestsPerSecond": 8
},
{
"description": "codeberg has rate limits",
"matchHost": "codeberg.org",
"hostType": "forgejo",
"maxRequestsPerSecond": 8
},
{
"description": "mark deuxfleurs as forgejo",
"matchHost": "git.deuxfleurs.fr",
"hostType": "forgejo"
}
]
}