-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
145 lines (145 loc) · 4.69 KB
/
Copy pathrenovate.json
File metadata and controls
145 lines (145 loc) · 4.69 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
136
137
138
139
140
141
142
143
144
145
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard"
],
"crossplane": {
"managerFilePatterns": [
"/\\.yaml$/",
"/\\.yaml\\.gotmpl$/"
]
},
"packageRules": [
{
"description": "Automerge minor and patch updates after all checks pass",
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
},
{
"description": "Require manual review for major updates",
"matchUpdateTypes": [
"major"
],
"automerge": false
},
{
"description": "Disable automatic updates for all hops-ops Docker images",
"matchDatasources": [
"docker"
],
"enabled": false,
"matchPackageNames": [
"/^hops-ops//"
]
},
{
"description": "Group AWS provider-family packages",
"matchPackageNames": [
"/provider-family-aws/",
"/provider-aws-.*/"
],
"groupName": "aws-providers"
},
{
"description": "Use feat(deps): commit prefix for hops-ops Crossplane packages (github-releases datasource)",
"matchManagers": [
"custom.regex"
],
"matchDatasources": [
"github-releases"
],
"semanticCommitType": "feat",
"semanticCommitScope": "deps"
},
{
"description": "Use feat(deps): commit prefix for other Crossplane packages from Docker registries",
"matchManagers": [
"custom.regex"
],
"matchDatasources": [
"docker"
],
"semanticCommitType": "feat",
"semanticCommitScope": "deps"
}
],
"customManagers": [
{
"customType": "regex",
"description": "hops-ops Crossplane configurations (tracked via GitHub Releases)",
"matchStringsStrategy": "recursive",
"managerFilePatterns": [
"apis/**/configuration.yaml",
"upbound.yaml"
],
"matchStrings": [
"\\s*(configuration|function|package|provider):\\s*ghcr\\.io/hops-ops/(?<depName>.*?)\\s*version:\\s*(\"|')\\^v?[0-9]+(\"|')\\s*",
"(?<currentValue>\\^v?[0-9]+)"
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "npm",
"packageNameTemplate": "hops-ops/{{depName}}",
"autoReplaceStringTemplate": "^v{{{newMajor}}}"
},
{
"customType": "regex",
"description": "Crossplane packages from xpkg registries (tracked via Docker tags)",
"matchStringsStrategy": "recursive",
"managerFilePatterns": [
"apis/**/configuration.yaml",
"upbound.yaml"
],
"matchStrings": [
"\\s*(configuration|function|package|provider):\\s*(?<registryUrl>xpkg\\.[^/]+)\\/(?<orgName>[^/]+)\\/(?<repoName>[^/\\s]+)\\s*version:\\s*(\"|')\\^v?[0-9]+(\"|')\\s*",
"(?<currentValue>\\^v?[0-9]+)"
],
"datasourceTemplate": "docker",
"versioningTemplate": "npm",
"registryUrlTemplate": "https://{{registryUrl}}",
"depNameTemplate": "{{orgName}}/{{repoName}}",
"packageNameTemplate": "{{orgName}}/{{repoName}}",
"autoReplaceStringTemplate": "^v{{{newMajor}}}"
},
{
"customType": "regex",
"description": "Annotated runtime dependencies in schemas, templates, examples, and tests",
"managerFilePatterns": [
"apis/**/*.yaml",
"examples/**/*.yaml",
"functions/**/*.yaml.gotmpl",
"tests/**/*.k"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: registryUrl=(?<registryUrl>\\S+))?\\s+[^\\n]*?(?:default\\s+|:=\\s*|[\"']?(?:version|chartVersion|tag|default)[\"']?\\s*(?:[=:]\\s*|\\s+))[\"']?(?<currentValue>v?[0-9][^\\s\"'}]*)",
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: registryUrl=(?<registryUrl>\\S+))?\\s+[^\\n]*?(?:default\\s*:\\s*|[\"']?image[\"']?\\s*[=:]\\s*)[\"']?[A-Za-z0-9._/-]+:(?<currentValue>v?[A-Za-z0-9][^\\s\"'}]*)",
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)(?: registryUrl=(?<registryUrl>\\S+))?\\s+[^\\n]*?package\\s*=\\s*\"xpkg\\.[^/]+/[^\"]+:(?<currentValue>[^\"]+)\""
]
},
{
"customType": "regex",
"managerFilePatterns": [
"/\\.yaml\\.gotmpl$/"
],
"matchStrings": [
"\\s*chart:\\s*name:\\s+(?<depName>.*?)\\s*repository:\\s*(?<registryUrl>.*?)\\s*version:\\s*\"?(?<currentValue>.*?)\"?\\s"
],
"datasourceTemplate": "helm"
}
],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/__tests__/**",
"**/test/**",
"**/__fixtures__/**",
"**/fixtures/**"
],
"automergeType": "pr",
"platformAutomerge": false,
"ignoreTests": false
}