-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrenovate.json
More file actions
74 lines (74 loc) · 2.01 KB
/
renovate.json
File metadata and controls
74 lines (74 loc) · 2.01 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true,
"extends": [
"config:recommended",
"group:allNonMajor"
],
"ignorePaths": [],
"customDatasources": {
"charmhub": {
"defaultRegistryUrlTemplate": "https://api.charmhub.io/v2/charms/info/{{packageName}}?fields=channel-map",
"format": "json",
"transformTemplates": [
"{\"releases\": [{\"version\": $string($$.(`channel-map`[channel.risk = 'edge' and channel.track = 'latest' and channel.base.architecture = 'amd64' and channel.base.channel = '24.04'].revision.revision))}]}"
]
}
},
"packageRules": [
{
"enabled": true,
"matchDatasources": [
"docker"
],
"pinDigests": true
},
{
"matchDatasources": [
"custom.charmhub"
],
"automerge": true,
"enabled": true
},
{
"enabled": false,
"matchFileNames": [
"rockcraft.yaml"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
]
}
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "docker",
"description": "Update base image references",
"managerFilePatterns": [
"/(^|/)rockcraft.yaml$/"
],
"matchStrings": [
"# renovate: build-base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?",
"# renovate: base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?"
],
"matchStringsStrategy": "any",
"versioningTemplate": "ubuntu"
},
{
"customType": "regex",
"fileMatch": ["\\.tftest\\.hcl$", "\\.tf$"],
"matchStrings": ["# renovate: depName=\"(?<packageName>[^\"]+)\"\\s*\\n\\s*(?<fieldName>[a-zA-Z0-9_]+)\\s*=\\s*(?<currentValue>\\d+)"],
"versioningTemplate": "semver-coerced",
"datasourceTemplate": "custom.charmhub"
}
],
"schedule": [
"* * * * 0,6"
],
"vulnerabilityAlerts": {
"enabled": true
}
}