forked from ChristianLempa/boilerplates
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
166 lines (166 loc) · 4.94 KB
/
renovate.json
File metadata and controls
166 lines (166 loc) · 4.94 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard",
":enableVulnerabilityAlertsWithLabel('security')",
":preserveSemverRanges",
":rebaseStalePrs",
"group:recommended"
],
"labels": [
"renovate"
],
"ignorePaths": [],
"useBaseBranchConfig": "merge",
"packageRules": [
{
"groupName": "devDependencies (non-major)",
"matchDepTypes": [
"devDependencies",
"require-dev"
],
"matchUpdateTypes": [
"digest",
"minor",
"patch"
]
},
{
"description": "Update MariaDB or MySQL on a patch level only, bumps to major and minor versions might break compatibility with an application",
"enabled": false,
"matchManagers": [
"custom.regex"
],
"matchUpdateTypes": [
"major",
"minor"
],
"matchPackageNames": [
"/^([^/]+\\/)*(mariadb|mysql)(:.+)?$/"
]
},
{
"description": "Update PostgreSQL on a minor version or patch level only, bumps to major versions might break compatibility with an application",
"enabled": false,
"matchManagers": [
"custom.regex"
],
"matchUpdateTypes": [
"major"
],
"matchPackageNames": [
"/^([^/]+\\/)*postgres(:.+)?$/"
]
},
{
"description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
"enabled": true,
"matchManagers": [
"custom.regex"
],
"matchFileNames": [
"library/compose/mariadb/**",
"library/compose/postgres/**"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"matchPackageNames": [
"/^([^/]+\\/)*(mariadb|postgres)(:.+)?$/"
]
},
{
"description": "Do not match Canonical's Ubuntu version suffix as a compatibility hint",
"matchManagers": [
"custom.regex"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?(?:-\\d+(?:\\.\\d+)+_edge)?$",
"matchPackageNames": [
"/^([^/]+\\/)*ubuntu/bind9(:.+)?$/"
]
},
{
"description": "Catch a potential `security` suffix as part of the patch release as Grafana does not follow semver for security releases",
"matchManagers": [
"custom.regex"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+(?:-security-\\d+)?)$",
"matchPackageNames": [
"/^([^/]+\\/)*grafana/grafana-oss(:.+)?$/"
]
},
{
"description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
"matchManagers": [
"custom.regex"
],
"versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$",
"matchPackageNames": [
"/^([^/]+\\/)*heimdall(:.+)?$/"
]
},
{
"description": "Track stable releases of Nginx only",
"matchManagers": [
"custom.regex"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$",
"matchPackageNames": [
"/^([^/]+\\/)*nginx(:.+)?$/"
]
},
{
"description": "Ignore erroneous version tags of Semaphore",
"matchManagers": [
"custom.regex"
],
"allowedVersions": "!/^v?2\\.19\\.10$/",
"matchPackageNames": [
"/^([^/]+\\/)*semaphore(:.+)?$/"
]
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update Docker images in Jinja2 compose templates",
"managerFilePatterns": [
"/^library/compose/.+\\.j2$/"
],
"matchStrings": [
"image:\\s*(?<depName>[^:\\s]+):(?<currentValue>[^\\s\\n{]+)"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update Docker images in Helm values.yaml (repository + tag pattern)",
"managerFilePatterns": [
"/^library/kubernetes/.+/helm/values\\.ya?ml$/",
"/^library/kubernetes/.+\\.j2$/"
],
"matchStrings": [
"repository:\\s*[\"']?(?<depName>[^:\\s\"']+)[\"']?\\s*\\n\\s*tag:\\s*[\"']?(?<currentValue>[^\\s\"']+)[\"']?"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update Terraform/OpenTofu providers and modules in templates",
"managerFilePatterns": [
"/^library/terraform/.+\\.tf$/",
"/^library/terraform/.+\\.j2$/"
],
"matchStrings": [
"(?:source|module)\\s*=\\s*[\"'](?<depName>[^\"']+)[\"'](?:[\\s\\S]*?)version\\s*=\\s*[\"'](?<currentValue>[^\"']+)[\"']"
],
"datasourceTemplate": "terraform-provider"
}
],
"gitAuthor": "github-actions[bot] <github-actions[bot]@users.noreply.github.com>",
"separateMinorPatch": true,
"stopUpdatingLabel": "renovate/stop_updating"
}