-
Notifications
You must be signed in to change notification settings - Fork 0
/
.renovaterc.json
34 lines (34 loc) · 1.58 KB
/
.renovaterc.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^flake.nix$"],
"matchStrings": [
"#\\s+renovate:\\s+(?<datasource>.*?)(=(?<registryUrl>.*?))? package=(?<depName>.*?) version=(?<currentValue>.*?)\\s+url = \"(?<tarballUrl>[^\"]*)\";\\s+digest = \"(?<currentDigest>[^\"]*)\";",
"version = \"(?<currentValue>.*?)\";\\s+#\\s+renovate:\\s+(?<datasource>.*?)(=(?<registryUrl>.*?))? package=(?<depName>.*?)\\s+src\\s+=[^\\n]*?\\{\\s+url = \"(?<tarballUrl>[^\"]*)\";\\s+digest = \"(?<currentDigest>[^\"]*)\";"
]
},
{
"customType": "regex",
"fileMatch": ["^flake.nix$"],
"matchStrings": [
"url = \"https:\\/\\/github\\.com\\/(?<depName>fluxcd\\/flux2)\\/releases\\/download\\/(?<currentValue>.*?)\\/.*?\";\\s*digest\\s*=\\s*?\"(?<currentDigest>[^\"]*)\";"
],
"datasourceTemplate": "github-release-attachments",
"autoReplaceStringTemplate": "url = \"https://github.com/{{{depName}}}/releases/download/{{{newValue}}}/flux_{{{replace '^v' '' newValue}}}_linux_amd64.tar.gz\"; digest = \"{{{newDigest}}}\";"
},
{
"customType": "regex",
"fileMatch": ["^versions.json$"],
"matchStrings": [
"\"datasource\"\\s*:\\s*\"(?<datasource>.*?)\"\\s*,\\s*\"package\"\\s*:\\s*\"(?<depName>.*?)\"\\s*,\\s*\"version\"\\s*:\\s*\"(?<currentValue>.*?)\"\\s*,\\s*\".*?(d|D)igest\"\\s*:\\s*\"(?<currentDigest>.*?)\""
]
}
],
"enabledManagers": ["regex"],
"prHourlyLimit": 10
}