-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
51 lines (51 loc) · 1.67 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
"helpers:pinGitHubActionDigests"
],
"packageRules": [
{
"description": "Automerge non-major updates",
"matchUpdateTypes": [
"patch"
],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"description": "Bump helm chart versions by a patch when updating values files. Digests, pins, rollbacks, replacements and pinDigest updates are deliberately ignored since in our use case, these need a manual decision about the version bump for the chart. This can be removed when https://github.com/renovatebot/renovate/issues/8231 is implemented and enabled.",
"matchManagers": [
"helm-values"
],
"postUpgradeTasks": {
"commands": [
"bash scripts/bump-chart-version.sh '{{{parentDir}}}' '{{{isMajor}}}' '{{{isMinor}}}' '{{{isPatch}}}'"
],
"fileFilters": [
"**/Chart.yaml"
],
"executionMode": "branch"
}
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|\\/)Makefile$",
"(^|\\/)values.yaml$",
"(^|\\/)Chart.yaml$",
"(^|\\/)charts\\/(.+)\\/templates\\/.*"
],
"matchStrings": [
"MINIKUBE_KUBE_VERSION=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)",
"(tag|appVersion):\\s+\"?(?<currentValue>.*)\"?\\s+# renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)"
],
"extractVersionTemplate": "^v?(?<version>.*)$"
}
]
}