-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrenovate.json
More file actions
98 lines (98 loc) · 2.9 KB
/
Copy pathrenovate.json
File metadata and controls
98 lines (98 loc) · 2.9 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"assignees": [
"pree"
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
"matchStrings": [
"#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)\""
]
},
{
"customType": "regex",
"datasourceTemplate": "helm",
"fileMatch": [
"(^|/)values\\.yaml$"
],
"matchStrings": [
"repoURL: \"(?<registryUrl>.*?)\"\\s.*\\s*chart: \"(?<depName>.*?)\"\\s.*\\s*targetRevision: \"(?<currentValue>[\\w+\\.\\-]*)\""
]
},
{
"customType": "regex",
"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": [
"custom.regex"
]
},
{
"matchDepNames": [
"helm-docs",
"norwoodj/helm-docs"
],
"groupName": "helm-docs"
},
{
"matchPackageNames": ["ghcr.io/home-assistant/home-assistant"],
"automerge": true
}
],
"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
}
}