-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
113 lines (113 loc) · 3.3 KB
/
renovate.json5
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
{
"extends": [
"config:best-practices",
":disableRateLimiting",
"docker:enableMajor",
":enablePreCommit",
],
"timezone": "Europe/London",
"semanticCommits": "enabled",
"separateMinorPatch": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"suppressNotifications": ["prIgnoreNotification"],
"kubernetes": {
"fileMatch": ["cluster/.+\\.ya?ml$"],
"ignorePaths": ["cluster/flux/"]
},
"flux": {
"fileMatch": ["cluster/.+\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["cluster/.+\\.ya?ml$"]
},
"regexManagers": [
// generic matcher
// see https://regex101.com/r/fzaLfV/1
{
"fileMatch": [
"ansible/.+\\.ya?ml$",
"cluster/.+\\.ya?ml$",
"charts/.+\\.ya?ml$",
],
"matchStrings": [
"datasource=(?<datasource>helm) registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?\"?(?<currentValue>[^-\\s]*?)\"?\n",
"datasource=(?<datasource>docker) image=(?<depName>\\S+)\n.*?\"?(?<currentValue>[^-\\s]*?)\"?\n",
"datasource=(?<datasource>github-releases) repos=(?<depName>\\S+)\n.*?\"?(?<currentValue>[^-\\s]*?)\"?\n",
"datasource=(?<datasource>pypi) package=(?<depName>\\S+)\n.*?\"?(?<currentValue>[^-\\s]*?)\"?\n",
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"?(?<currentValue>[^-\\s]*?)\"?\n",
],
"datasourceTemplate": "{{datasource}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}{{#if (containsString datasource 'pypi')}}pep440{{else}}semver{{/if}}{{/if}}"
}
],
"customDatasources": {
"minecraft": {
"defaultRegistryUrlTemplate": "https://mc-bds-helper.vercel.app/api/latest",
"format": "plain"
}
},
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
// datasource specific settings
{
"matchDatasources": ["custom.minecraft"],
"extractVersion": "/(?<version>-+)(?<version>.+)\\.zip$"
},
{
"matchDatasources": ["helm"],
"addLabels": ["renovate/helm"]
},
{
"matchDatasources": ["docker"],
"addLabels": ["renovate/docker"]
},
// manager specific settings
{
"matchManagers": ["github-actions"],
"addLabels": ["renovate/github-actions"]
},
{
"matchManagers": ["pip_requirements"],
"addLabels": ["renovate/python"]
},
{
"matchManagers": ["ansible"],
"addLabels": ["renovate/ansible"]
},
{
"matchManagers": ["ansible-galaxy"],
"addLabels": ["renovate/ansible-galaxy"]
},
{
"matchManagers": ["pre-commit"],
"addLabels": ["renovate/pre-commit"]
},
// update types specific settings
{
"matchUpdateTypes": ["major"],
"addLabels": ["dependency/major"]
},
{
"matchUpdateTypes": ["minor"],
"addLabels": ["dependency/minor"]
},
{
"matchUpdateTypes": ["patch"],
"addLabels": ["dependency/patch"]
},
// group snapshot-controller
{
"matchDatasources": ["github-releases", "docker"],
"matchPackagePatterns": [
"external-snapshotter",
"snapshot-controller"
],
"groupName": "external-snapshotter",
"additionalBranchPrefix": "",
},
]
}