-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
renovate.json
138 lines (138 loc) · 4.58 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
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":dependencyDashboard",
":enableVulnerabilityAlertsWithLabel('security')",
":preserveSemverRanges",
":rebaseStalePrs",
"group:recommended"
],
"labels": [
"renovate"
],
"kubernetes": {
"fileMatch": ["(^|/)kubernetes/.+\/[^\/]+\\.ya?ml$"]
},
"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 compatibilty with an application",
"enabled": false,
"managers": [
"docker-compose",
"dockerfile"
],
"matchUpdateTypes": [
"major",
"minor"
],
"packagePatterns": [
"^([^/]+\\/)*(mariadb|mysql)(:.+)?$"
]
},
{
"description": "Update PostgreSQL on a minor version or patch level only, bumps to major versions might break compatibilty with an application",
"enabled": false,
"managers": [
"docker-compose",
"dockerfile"
],
"matchUpdateTypes": [
"major"
],
"packagePatterns": [
"^([^/]+\\/)*postgres(:.+)?$"
]
},
{
"description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
"enabled": true,
"managers": [
"docker-compose",
"dockerfile"
],
"matchFileNames": [
"docker-compose/mariadb/**",
"docker-compose/postgres/**"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"packagePatterns": [
"^([^/]+\\/)*(mariadb|postgres)(:.+)?$"
]
},
{
"description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*heimdall(:.+)?$"
],
"versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$"
},
{
"description": "Track stable releases of Nginx only",
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*nginx(:.+)?$"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$"
},
{
"description": "Ignore erroneous version tags of Semaphore",
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*semaphore(:.+)?$"
],
"allowedVersions": "!/^v?2\\.19\\.10$/"
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update Longhorn images in Helm",
"fileMatch": ["(^|/)helm/longhorn/.+\\.yaml$"],
"matchStrings": [
"engine:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"manager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"ui:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"instanceManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"shareManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"backingImageManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"supportBundleKit:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"attacher:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"provisioner:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"nodeDriverRegistrar:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"resizer:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"snapshotter:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"livenessProbe:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?"
],
"datasourceTemplate": "docker"
}
],
"separateMinorPatch": true,
"stopUpdatingLabel": "renovate/stop_updating"
}