-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrenovate.json
103 lines (103 loc) · 3.61 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
{
"extends": [
"config:recommended",
":dependencyDashboard",
":enablePreCommit",
":ignoreUnstable",
":separateMultipleMajorReleases",
":separateMultipleMajorReleases",
":timezone(Europe/Dublin)",
"docker:enableMajor",
"docker:pinDigests",
"group:recommended",
"helpers:pinGitHubActionDigests",
"preview:dockerCompose",
"preview:dockerVersions",
"customManagers:dockerfileVersions",
"customManagers:githubActionsVersions"
],
"flux": {
"fileMatch": ["(^|/)kubernetes/infra/flux.+\\.ya?ml(?:\\.j2)?$"]
},
"helm-values": {
"fileMatch": ["(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$"]
},
"vulnerabilityAlerts": {
"addLabels": ["security"],
"description": "Be sure that the Dependency graph and Dependabot alerts are enabled for the repo. Details: https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts",
"enabled": true
},
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": ["dependencies", "{{updateType}}", "{{manager}}"],
"additionalBranchPrefix": "{{manager}}/",
"commitBodyTable": true,
"branchConcurrentLimit": 100,
"prHourlyLimit": 100,
"reviewers": ["1Solon"],
"dependencyDashboard": true,
"prCreation": "not-pending",
"rebaseWhen": "conflicted",
"rollbackPrs": true,
"packageRules": [
{
"description": "YMA dating scheme",
"allowedVersions": "<2000",
"matchPackageNames": ["/^ghcr\\.io/linuxserver/jellyfin$/"]
},
{
"description": "YMA dating scheme",
"allowedVersions": "<6",
"matchPackageNames": ["/^ghcr\\.io/linuxserver/qbittorrent$/"]
},
{
"description": "v prefix workaround for action updates",
"extractVersion": "^(?<version>v\\d+\\.\\d+\\.\\d+)$",
"matchDepTypes": ["action"],
"versioning": "regex:^v(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+))?$"
},
{
"description": "Remove v prefix in regex `_VERSION` updates",
"extractVersion": "^?v?(?<version>\\d+\\.\\d+\\.\\d+.*)$",
"matchManagers": ["custom.regex"],
"versioning": "regex:^v?(?<major>\\d+)(\\.(?<minor>\\d+)\\.(?<patch>\\d+.*))?$"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"kubernetes/infra/system-upgrade/system-upgrade-controller/plans/server\\.ya?ml$"
],
"matchStrings": ["version: (?<currentValue>v[\\d\\.\\+\\w-]+)"],
"depNameTemplate": "k3s",
"versioningTemplate": "semver-coerced",
"datasourceTemplate": "custom.k3s"
},
{
"customType": "regex",
"fileMatch": [
"kubernetes/infra/system-upgrade/system-upgrade-controller/plans/worker\\.ya?ml$"
],
"matchStrings": ["version: (?<currentValue>v[\\d\\.\\+\\w-]+)"],
"depNameTemplate": "k3s",
"versioningTemplate": "semver-coerced",
"datasourceTemplate": "custom.k3s"
},
{
"customType": "regex",
"description": ["Process CloudnativePG Postgresql version"],
"fileMatch": ["kubernetes/.*\\.ya?ml$"],
"matchStrings": ["imageName: (?<depName>\\S+):(?<currentValue>.*\\-.*)"],
"datasourceTemplate": "docker",
"versioningTemplate": "redhat"
}
],
"customDatasources": {
"k3s": {
"defaultRegistryUrlTemplate": "https://update.k3s.io/v1-release/channels",
"transformTemplates": [
"{\"releases\":[{\"version\": $$.(data[id = 'stable'].latest),\"sourceUrl\":\"https://github.com/k3s-io/k3s\",\"changelogUrl\":$join([\"https://github.com/k3s-io/k3s/releases/tag/\",data[id = 'stable'].latest])}],\"sourceUrl\": \"https://github.com/k3s-io/k3s\",\"homepage\": \"https://k3s.io/\"}"
]
}
}
}