-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshared.json
242 lines (242 loc) · 9.65 KB
/
shared.json
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
{
"$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"
],
"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"
],
"lockFileMaintenance": { "automerge": true },
"packageRules": [
{
"description": "Require stability days",
"matchUpdateTypes": ["major", "minor"],
"matchDatasources": ["npm"],
"excludePackagePatterns": [
"^renovate(bot)?($|\\/)",
"\\/renovate(?:bot)?$",
"^(?:ghcr\\.io/)?containerbase/"
],
"minimumReleaseAge": "3 days",
"prNotPendingHours": 73
},
{
"description": "Require dashboard approval for major updates except Renovate",
"excludePackagePatterns": [
"^renovate(bot)?($|\\/)",
"\\/renovate(?:bot)?$",
"^(?:ghcr\\.io/)?containerbase/"
],
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true
},
{
"description": "No dashboard approval for major updates of github actions",
"matchManagers": ["github-actions"],
"dependencyDashboardApproval": false
},
{ "matchManagers": ["dockerfile", "droneci"], "pinDigests": true },
{
"matchManagers": ["droneci"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": 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/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": "Use replace for peer deps",
"matchDepTypes": ["peerDependencies"],
"rangeStrategy": "replace"
},
{
"description": "Do not separate Renovate minor and patch",
"matchPackageNames": ["/^renovate(bot)?($|/)/"],
"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": ["https://chocolatey.org/api/v2/"]
},
{
"description": "Use `build` semantic commit scope for some build deps",
"matchDepNames": ["node"],
"semanticCommitType": "build"
},
{
"description": "autmerge digests via branch to reduce noise",
"matchUpdateTypes": ["digest"],
"automergeType": "branch"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["\\.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 docker tags inside flux manifests",
"fileMatch": ["\\.yaml$"],
"matchStrings": [
"\\s+tag:\\s+(?<currentValue>[a-z0-9.-]+)\\s+# renovate: depName=(?<depName>.+?)\\s"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "update _version variables in terraform",
"fileMatch": ["\\.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",
"fileMatch": ["^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",
"fileMatch": ["(^|/|\\.)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",
"fileMatch": ["\\.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",
"fileMatch": ["\\.nuspec$"],
"matchStringsStrategy": "any",
"matchStrings": [
"<dependency\\s+id=\"(?<depName>.*?)\"\\s+version=\"(?<currentValue>.+?)\"\\s*\\/>"
],
"datasourceTemplate": "nuget",
"versioningTemplate": "nuget"
},
{
"description": "update pnpm patches",
"customType": "regex",
"fileMatch": ["(?:^|/)package\\.json$"],
"matchStrings": [
"\"(?<depName>.+?)@(?<currentValue>\\d+\\.\\d+\\.\\d+(?:-.+)?)\": \"patches/"
],
"datasourceTemplate": "npm",
"depTypeTemplate": "patchedDependencies"
}
]
}