-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
70 lines (70 loc) · 2.33 KB
/
Copy pathrenovate.json
File metadata and controls
70 lines (70 loc) · 2.33 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard"
],
"crossplane": {
"managerFilePatterns": [
"/\\.yaml$/",
"/\\.yaml\\.gotmpl$/"
]
},
"packageRules": [
{
"description": "Automerge minor and patch updates that pass all checks",
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Disable automatic updates for all hops-ops Docker images",
"matchDatasources": ["docker"],
"enabled": false,
"matchPackageNames": ["/^hops-ops//"]
},
{
"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)",
"managerFilePatterns": [
"apis/**/configuration.yaml",
"upbound.yaml"
],
"matchStrings": [
"\\s*(configuration|function|package|provider):\\s*ghcr\\.io/hops-ops/(?<depName>.*?)\\s*version:\\s*(\"|')>=(?<currentValue>.*?)(\"|')\\s*"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "hops-ops/{{depName}}"
},
{
"customType": "regex",
"description": "Crossplane packages from other registries (tracked via Docker tags)",
"managerFilePatterns": [
"apis/**/configuration.yaml",
"upbound.yaml"
],
"matchStrings": [
"\\s*(configuration|function|package|provider):\\s*(?<registryUrl>[^/]+)\\/(?<orgName>[^/]+)\\/(?<repoName>[^/\\s]+)\\s*version:\\s*(\"|')>=(?<currentValue>.*?)(\"|')\\s*"
],
"datasourceTemplate": "docker",
"registryUrlTemplate": "https://{{registryUrl}}",
"depNameTemplate": "{{orgName}}/{{repoName}}",
"packageNameTemplate": "{{orgName}}/{{repoName}}"
}
]
}