-
Notifications
You must be signed in to change notification settings - Fork 5
/
renovate.json
103 lines (103 loc) · 3.56 KB
/
renovate.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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"labels": ["renovatebot"],
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"prHourlyLimit": 99,
"prConcurrentLimit": 99,
"hostRules": [
{
"matchHost": "docker.io",
"concurrentRequestLimit": 2
}
],
"helm-values": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"],
"ignorePaths": ["kubernetes/suspended"]
},
"flux": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"],
"ignorePaths": ["kubernetes/suspended"]
},
"kubernetes": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"],
"ignorePaths": ["kubernetes/suspended"]
},
"regexManagers": [
{
"fileMatch": ["kubernetes/apps/.+\\.ya?ml$", "kubernetes/config/.+\\.ya?ml$", "kubernetes/core/.+\\.ya?ml$", "kubernetes/flux/.+\\.ya?ml$", "kubernetes/templates/.+\\.ya?ml$" ],
"matchStrings": ["# renovate: datasource=docker\\n.*: ?(?<depName>.*?)\\n.*: ?(?<currentValue>.*?)\\n"],
"datasourceTemplate": "docker"
},
{
"fileMatch": ["kubernetes/apps/.+\\.ya?ml$", "kubernetes/config/.+\\.ya?ml$", "kubernetes/core/.+\\.ya?ml$", "kubernetes/flux/.+\\.ya?ml$", "kubernetes/templates/.+\\.ya?ml$" ],
"matchStrings": [
"- (\\w+://)?(raw\\.)?github(usercontent)?\\.com\\/(?<depName>[\\w\\-_]+\\/[\\w\\-_]+)\\/(.+\\/)?(?<currentValue>v?[\\d+\\.]+)\\/"
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": ["kubernetes/apps/.+\\.ya?ml$", "kubernetes/config/.+\\.ya?ml$", "kubernetes/core/.+\\.ya?ml$", "kubernetes/flux/.+\\.ya?ml$", "kubernetes/templates/.+\\.ya?ml$" ],
"matchStrings": ["# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.*: ?(?<currentValue>.*?)\\n"]
},
{
"fileMatch": ["kubernetes/apps/.+\\.ya?ml$", "kubernetes/config/.+\\.ya?ml$", "kubernetes/core/.+\\.ya?ml$", "kubernetes/flux/.+\\.ya?ml$", "kubernetes/templates/.+\\.ya?ml$" ],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*=?))?( versionTemplate=(?<versionTemplate>.*=?))?\\n.*: ?(\"?(?<currentValue>[^\"\\n]+=?)\"?)"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if versionTemplate}}{{{versionTemplate}}}{{else}}{{/if}}"
},
{
"fileMatch": ["\\.nix$"],
"matchStrings": [
"# renovate: repository=(?<registryUrl>.*?)\n *chart: .*/(?<depName>.*?)\n *version: (?<currentValue>.*)\n"
],
"datasourceTemplate": "helm"
}
],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["type/major"]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["type/minor"]
},
{
"matchUpdateTypes": ["patch", "digest"],
"labels": ["type/patch"]
},
{
"matchDatasources": ["helm"],
"addLabels": ["renovate/helm"],
"semanticCommitScope": "helm-chart"
},
{
"matchDatasources": ["docker"],
"addLabels": ["renovate/container"],
"semanticCommitScope": "docker-image"
},
{
"matchPackagePatterns": ["traefik"],
"groupName": "traefik"
},
{
"matchPackagePatterns": ["coredns"],
"groupName": "coredns"
},
{
"matchPackagePatterns": ["cilium"],
"groupName": "cilium"
},
{
"matchPackagePatterns": ["prometheus", "thanos"],
"groupName": "prometheus"
}
]
}