-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate-local.json
More file actions
35 lines (35 loc) · 1.35 KB
/
renovate-local.json
File metadata and controls
35 lines (35 loc) · 1.35 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customDatasources": {
"unifi-os-server": {
"defaultRegistryUrlTemplate": "https://fw-update.ubnt.com/api/firmware-latest?filter=eq~~product~~unifi-os-server&filter=eq~~channel~~release&filter=eq~~platform~~linux-x64",
"transformTemplates": [
"{\"releases\": [$._embedded.firmware[platform = \"linux-x64\"].{\"version\": $replace(version, /^v/, \"\"), \"digest\": \"url = \\\"\" & _links.data.href & \"\\\";\\n sha256 = \\\"\" & sha256_checksum & \"\\\";\"}]}"
]
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^nix/packages/unifi-os-server-image/package\\.nix$"],
"matchStrings": [
"version = \"(?<currentValue>[^\"]+)\";\\n (?<currentDigest>url = \"https://fw-download\\.ubnt\\.com/data/unifi-os-server/[^\"]+\";\\n sha256 = \"[^\"]+\";)"
],
"datasourceTemplate": "custom.unifi-os-server",
"depNameTemplate": "unifi-os-server",
"autoReplaceStringTemplate": "version = \"{{newValue}}\";\n {{newDigest}}"
}
],
"packageRules": [
{
"matchManagers": ["npm"],
"matchPaths": ["nix/packages/broadcast-box/**"],
"enabled": false
},
{
"matchDepTypes": ["requires-python"],
"matchPaths": ["nix/packages/carvera-controller/**"],
"enabled": false
}
]
}