Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
45 lines (45 loc) · 2.14 KB
/
Copy pathrenovate.json
File metadata and controls
45 lines (45 loc) · 2.14 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>Flagsmith/renovate-config"],
"enabledManagers": ["custom.regex", "github-actions", "helm-values"],
"customManagers": [
{
"customType": "regex",
"description": "Flagsmith version used as the chart's appVersion, which is the default tag for the API, frontend and task processor images",
"managerFilePatterns": ["/^charts/flagsmith/Chart\\.yaml$/"],
"matchStrings": ["\\nappVersion: [\"']?(?<currentValue>[^\\s\"']+)"],
"datasourceTemplate": "docker",
"depNameTemplate": "flagsmith/flagsmith-api"
}
],
"packageRules": [
{
"description": "Commit message format the release-please changelog already uses, e.g. `deps: bump bitnamilegacy/pgbouncer from 1.16.0 to 1.24.1`. A package rule, so it takes precedence over Renovate's Docker defaults",
"matchDatasources": ["docker"],
"commitMessageAction": "bump",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "from {{currentValue}} to {{newValue}}"
},
{
"description": "Name the appVersion bump after Flagsmith, e.g. `deps: bump Flagsmith from 2.285.0 to 2.286.0`, since it covers the API, frontend and task processor images",
"matchDepNames": ["flagsmith/flagsmith-api"],
"commitMessageTopic": "Flagsmith",
"branchTopic": "flagsmith"
},
{
"description": "Releases of third-party images must be 3 days old, so a compromised release is more likely to be caught before we ship it",
"matchManagers": ["helm-values"],
"matchPackageNames": ["!flagsmith/**"],
"minimumReleaseAge": "3 days"
},
{
"description": "Major bumps need a manual upgrade of the dev database",
"matchManagers": ["helm-values"],
"matchPackageNames": ["bitnamilegacy/postgresql"],
"matchUpdateTypes": ["major"],
"enabled": false
}
],
"addLabels": ["dependencies"],
"prHourlyLimit": 0
}