Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
135 lines (135 loc) · 5.06 KB
/
Copy pathrenovate.json
File metadata and controls
135 lines (135 loc) · 5.06 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":dependencyDashboard"],
"labels": ["dependencies"],
"prConcurrentLimit": 1,
"minimumReleaseAge": "7 days",
"ignorePaths": ["incubator/**", "docs/**"],
"registryAliases": {
"stable": "https://charts.fairwinds.com/stable"
},
"enabledManagers": ["helmv3", "helm-values", "circleci", "custom.regex"],
"customManagers": [
{
"customType": "regex",
"description": "Update fairwinds-insights appVersion from insights-api image tags",
"managerFilePatterns": ["stable/fairwinds-insights/Chart.yaml"],
"datasourceTemplate": "docker",
"depNameTemplate": "us-docker.pkg.dev/fairwinds-ops/insights/insights-api",
"matchStrings": ["appVersion:\\s[\"']?(?<currentValue>[\\d\\.]+)[\"']?"]
},
{
"customType": "regex",
"description": "Update fairwinds-insights agentChartTargetVersion from insights-agent chart",
"managerFilePatterns": ["stable/fairwinds-insights/values.yaml"],
"datasourceTemplate": "helm",
"depNameTemplate": "insights-agent",
"registryUrlTemplate": "https://charts.fairwinds.com/stable",
"matchStrings": [
"agentChartTargetVersion:\\s[\"']?(?<currentValue>[\\d\\.]+)[\"']?"
]
},
{
"customType": "regex",
"description": "Update helm-docs version in CircleCI install scripts",
"managerFilePatterns": [
".circleci/config.yml",
".circleci/scripts/bump-renovate-pr.sh"
],
"matchStrings": ["HELM_DOCS_VERSION=(?<currentValue>[\\d.]+)"],
"datasourceTemplate": "github-releases",
"depNameTemplate": "norwoodj/helm-docs",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"description": "Update helm-docs pre-commit hook revision",
"managerFilePatterns": [".pre-commit-config.yaml"],
"matchStrings": [
"repo: https://github\\.com/norwoodj/helm-docs\\n {4}rev: v(?<currentValue>[\\d.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "norwoodj/helm-docs",
"extractVersionTemplate": "^v(?<version>.*)$",
"autoReplaceStringTemplate": "repo: https://github.com/norwoodj/helm-docs\n rev: v{{{newValue}}}"
}
],
"packageRules": [
{
"description": "Keep helm-docs pins in sync across CI and pre-commit",
"matchManagers": ["custom.regex"],
"matchDepNames": ["norwoodj/helm-docs"],
"groupName": "helm-docs"
},
{
"description": "Resolve @stable Helm repo alias and explicit fairwinds-stable URLs to the published index",
"matchManagers": ["helmv3"],
"matchDatasources": ["helm"],
"matchSourceUrls": [
"https://charts.fairwinds.com/stable",
"https://charts.fairwinds.com/stable/"
],
"registryUrls": ["https://charts.fairwinds.com/stable"]
},
{
"description": "insights-agent target: only major/minor (e.g. 5.30.x → 5.31.x), skip patch-only bumps",
"matchManagers": ["custom.regex"],
"matchDepNames": ["insights-agent"],
"matchUpdateTypes": ["patch"],
"enabled": false
},
{
"matchManagers": ["helm-values"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "Helm values non-major updates"
},
{
"matchManagers": ["circleci"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "CircleCI non-major updates"
},
{
"description": "Bump each changed chart once. A grouped PR collapses packageFileDir to one directory, so list every upgrade dir or ct lint fails the charts that were skipped.",
"matchManagers": ["helmv3", "helm-values", "custom.regex"],
"matchFileNames": ["stable/**"],
"bumpVersions": [
{
"filePatterns": [
"/^({{#each (distinct (lookupArray upgrades \"packageFileDir\"))}}{{{.}}}{{#unless @last}}|{{/unless}}{{/each}})/Chart\\.(yaml|yml)$/"
],
"matchStrings": ["(?m)^version:\\s(?<version>[^\\s]+)"],
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
}
]
},
{
"description": "Every upgrade: upstream release must be at least 7 days old",
"matchManagers": ["helmv3", "helm-values", "circleci"],
"minimumReleaseAge": "7 days"
},
{
"description": "Fairwinds-owned images skip release-age",
"matchDatasources": ["docker"],
"matchPackageNames": [
"quay.io/fairwinds/**",
"us-docker.pkg.dev/fairwinds-ops/**"
],
"minimumReleaseAge": null
},
{
"description": "Fairwinds-owned Helm charts skip release-age",
"matchDatasources": ["helm"],
"matchSourceUrls": [
"https://charts.fairwinds.com/stable",
"https://charts.fairwinds.com/stable/"
],
"minimumReleaseAge": null
},
{
"description": "insights-agent target version tracks the published chart with no extra release-age",
"matchManagers": ["custom.regex"],
"matchDepNames": ["insights-agent"],
"minimumReleaseAge": null
}
]
}