-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrenovate.json
53 lines (53 loc) · 2.16 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"assignees": ["pree"],
"regexManagers": [{
"datasourceTemplate": "docker",
"fileMatch": ["(^|/)Chart\\.yaml$"],
"matchStrings": [
"#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)\""
]
},
{
"datasourceTemplate": "helm",
"fileMatch": ["(^|/)values\\.yaml$"],
"matchStrings": [
"repoURL: \"(?<registryUrl>.*?)\"\\s.*\\s*chart: \"(?<depName>.*?)\"\\s.*\\s*targetRevision: \"(?<currentValue>[\\w+\\.\\-]*)\""
]
},
{
"description": "Update _VERSION variables in shell scripts",
"fileMatch": ["\\.sh$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s[A-Z_]+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
],
"packageRules": [{
"description": "Trim leading v from version for helm-docs",
"matchDepNames": ["helm-docs"],
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$"
}, {
"matchDepNames": ["postgresql", "mariadb", "influxdb"],
"groupName": "database dependencies"
}, {
"matchDepNames": ["radarr", "sonarr", "prowlarr", "readarr"],
"groupName": "servarr apps",
"matchManagers": ["regex"]
}, {
"matchDepNames": ["helm-docs", "norwoodj/helm-docs"],
"groupName": "helm-docs"
}],
"postUpgradeTasks": {
"commands": ["bump-chart", "helm-docs --template-files _templates/helm-docs/README.md.gotmpl", "gomplate -o README.md -f _templates/readme/README.md.gotmpl -d readme=_templates/readme/README.yaml"],
"fileFilters": ["charts/*/Chart.yaml", "charts/*/README.md", "README.md"],
"executionMode": "update"
},
"pre-commit": {
"enabled": true
}
}