This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate.json
106 lines (106 loc) · 3.94 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"platformAutomerge": true,
"pre-commit": {
"enabled": true
},
"reviewers": ["morremeyer", "ekeih"],
"packageRules": [
{
"description": "Automatically upgrade some dependencies",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["github-actions", "pre-commit"],
"automerge": true
},
{
"description": "Automatically upgrade 'version' key dependencies in GitHub Actions",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["regex"],
"matchPaths": [
"(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"
],
"automerge": true
},
{
"description": "Automerge all kube-prometheus-stack updates for the CRD chart",
"matchPackageNames": [
"kube-prometheus-stack",
"hetznercloud/hcloud-cloud-controller-manager",
"hetznercloud/csi-driver"
],
"automerge": true
},
{
"description": "Pin GitHub action digests",
"matchDepTypes": ["action"],
"rangeStrategy": "pin",
"pinDigests": true
},
{
"matchPackageNames": [
"hetznercloud/hcloud-cloud-controller-manager",
"hetznercloud/csi-driver"
],
"extractVersion": "^v(?<version>.*)$"
},
{
"matchDatasources": ["github-tags"],
"matchPackageNames": ["python/cpython"],
"extractVersion": "^v(?<version>.*)$"
}
],
"regexManagers": [
{
"description": "Upgrade arbitrary dependencies with the key 'version' in a GitHub workflow file",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s*version:\\s*\"?(?<currentValue>.*)\"?"
]
},
{
"description": "Upgrade go version in a GitHub workflow",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: go-version\\s*go-version:\\s*\"?(?<currentValue>.*)\"?"
],
"datasourceTemplate": "golang-version",
"depNameTemplate": "go"
},
{
"description": "Upgrade helm chart version for kube-prometheus-stack-crds in lockstep with the actual chart",
"fileMatch": ["^charts/kube-prometheus-stack-crds/Chart.yaml$"],
"matchStrings": [
"# renovate datasource=(?<datasource>.*?)\\sregistryUrl=(?<registryUrl>.*?)\\sdepName=(?<depName>.*?)\\sversion: (?<currentValue>.*)"
]
},
{
"description": "Upgrade helm chart version for hetzner ccm and csi-driver in lockstep with the upstream releases",
"fileMatch": [
"^charts/hcloud-ccm-networks/Chart.yaml$",
".github/workflows/update-hcloud-cloud-controller-manager.yml",
"^charts/hcloud-csi-driver/Chart.yaml$",
".github/workflows/update-hcloud-csi-driver.yml"
],
"matchStrings": [
"# renovate datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\sversion: (?<currentValue>.*)",
"# renovate datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\sappVersion: (?<currentValue>.*)",
"# renovate datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s+export\\s+VERSION=\"(?<currentValue>.*)\""
]
},
{
"description": "Upgrade helm-docs version in a GitHub workflow",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)\\s*run: go install github.com/norwoodj/helm-docs/cmd/helm-docs@(?<currentValue>.*)"
]
},
{
"description": "Upgrade python-version version",
"fileMatch": ["(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$"],
"matchStrings": ["python-version:\\s(?<currentValue>.*)"],
"datasourceTemplate": "github-tags",
"depNameTemplate": "python/cpython"
}
]
}