-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.renovaterc.json5
60 lines (60 loc) · 2.71 KB
/
.renovaterc.json5
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended", // config:base predates config:recommended
"docker:enableMajor",
"docker:pinDigests",
"group:kubernetes",
"replacements:k8s-registry-move",
":disableRateLimiting",
":dependencyDashboard",
":semanticCommits",
":automergeDigest",
":automergeBranch",
":timezone(Asia/Singapore)",
"github>JJGadgets/Biohazard//.renovate/groups.json5",
"github>JJGadgets/Biohazard//.renovate/clusters.json5",
"github>JJGadgets/Biohazard//.renovate/commitMessage.json5",
"github>JJGadgets/Biohazard//.renovate/labels.json5",
"github>JJGadgets/Biohazard//.renovate/security.json5",
"security:openssf-scorecard",
"helpers:pinGitHubActionDigests"
],
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "behind-base-branch", // automerge needs this, and because I keep breaking my shit lol
// "schedule": ["on saturday"], // TODO: re-add it when I stop being a shut-in NEET
// NOTE: forward slashes do not need escaping on Renovate, and a proper escape backslash needs double backslashes because JSON moment
"ignorePaths": ["**/archive/**", "**/.archive/**", "**/**.sops.**"],
"flux": {
"fileMatch": ["^kube/.+\\.ya?ml$"],
},
"helm-values": {
"fileMatch": ["^kube/.+\\.ya?ml$"],
},
"kubernetes": {
"fileMatch": ["^kube/.+\\.ya?ml$"],
},
"kustomize": {
"fileMatch": ["^kube/.+\\.ya?ml$"],
},
"customManagers": [
{
"description": ["Process various other dependencies"],
"customType": "regex",
// "fileMatch": ["^kube/.+\\.ya?ml$", "vyos/], // process regex from everywhere
"fileMatch": [".*"], // process regex from everywhere
"matchStrings": [
// Example: `k3s_release_version: "v1.27.3+k3s1"` (general regex matcher)
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n",
// Example: `- https://github.com/rancher/system-upgrade-controller/releases/download/v0.11.0/crd.yaml` (e.g. kustomization.yaml lists)
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?-\\s(.*?)\/(?<currentValue>[^/]+)\/[^/]+\n",
// for: apiVersion=helm.cattle.io/v1 kind=HelmChart
"datasource=(?<datasource>\\S+)\n.*?repo: (?<registryUrl>\\S+)\n.*?chart: (?<depName>\\S+)\n.*?version: (?<currentValue>\\S+)\n"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
]
}