-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json
More file actions
88 lines (88 loc) · 2.21 KB
/
Copy pathrenovate.json
File metadata and controls
88 lines (88 loc) · 2.21 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true,
"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 = '22.04'].revision.revision))}]}"
]
}
},
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "custom.charmhub",
"fileMatch": [
"\\.tftest\\.hcl$",
"\\.tf$"
],
"matchStrings": [
"# renovate: depName=\"(?<packageName>[^\"]+)\"\\s*\\n\\s*(?<fieldName>[a-zA-Z0-9_]+)\\s*=\\s*(?<currentValue>\\d+)"
],
"versioningTemplate": "semver-coerced"
},
{
"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"
}
],
"extends": [
"config:recommended",
"group:allNonMajor"
],
"ignorePaths": [],
"packageRules": [
{
"enabled": true,
"matchDatasources": [
"docker"
],
"pinDigests": true
},
{
"enabled": false,
"matchFileNames": [
"rockcraft.yaml"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
]
},
{
"automerge": true,
"enabled": true,
"matchDatasources": [
"custom.charmhub"
]
},
{
"enabled": true,
"matchDatasources": [
"terraform-provider"
],
"matchPackageNames": [
"juju/juju"
]
}
],
"schedule": [
"* * * * 0,6"
],
"vulnerabilityAlerts": {
"enabled": true
}
}