-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathrenovate.json
98 lines (98 loc) · 3.32 KB
/
renovate.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
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
89
90
91
92
93
94
95
96
97
98
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"ignorePaths": [
"autohupr/**",
"wifi-connect/**"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|/)Dockerfile$",
"(^|/)Dockerfile\\.[^/]*$"
],
"matchStrings": [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s(ARG|ENV) .*?_VERSION=(?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"fileMatch": ["(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": [
"WINGBITS_COMMIT_ID=(?<currentDigest>.*?)\\nENV WINGBITS_DATE=(?<currentValue>.*?)\\n"
],
"versioningTemplate": "regex:^(?<major>20\\d\\d)-(?<minor>\\d\\d)-(?<patch>\\d\\d).*$",
"depNameTemplate": "wingbits-json",
"datasourceTemplate": "custom.wingbits-json"
},
{
"customType": "regex",
"fileMatch": ["(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": ["WINGBITS_CONFIG_VERSION=(?<currentValue>.*?)\\n"],
"depNameTemplate": "wingbits-version",
"datasourceTemplate": "custom.wingbits-version"
},
{
"customType": "regex",
"fileMatch": ["(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": ["OPENSKY_VERSION=(?<currentValue>.*?)\\n"],
"depNameTemplate": "opensky",
"datasourceTemplate": "custom.opensky"
},
{
"customType": "regex",
"fileMatch": ["(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": ["MLAT_VERSION=(?<currentDigest>.*?)\\n"],
"currentValueTemplate": "master",
"packageNameTemplate": "https://github.com/wiedehopf/mlat-client",
"datasourceTemplate": "git-refs"
}
],
"customDatasources": {
"flightradar24": {
"defaultRegistryUrlTemplate": "https://s3.dualstack.us-east-1.amazonaws.com/repo.feed.flightradar24.com/fr24feed_versions.json",
"transformTemplates": [
"{\"releases\":[{\"version\": $.platform.linux_arm64_tgz.version}]}"
]
},
"opensky": {
"defaultRegistryUrlTemplate": "https://opensky-network.org/repos/debian/dists/opensky/custom/binary-amd64/Packages",
"transformTemplates": [
"{ \"releases\": [{ \"version\": $trim($[0].releases.version.$match(/Version: ([^\\s]+)/).groups[0]) }] }"
],
"format": "plain"
},
"wingbits-version": {
"defaultRegistryUrlTemplate": "https://install.wingbits.com/download.sh",
"transformTemplates": [
"{ \"releases\": [{ \"version\": $trim($[0].releases.version.$match(/WINGBITS_CONFIG_VERSION=\"([^\\s]+)\"/).groups[0]) }] }"
],
"format": "plain"
},
"wingbits-json": {
"defaultRegistryUrlTemplate": "https://install.wingbits.com/linux-arm64.json",
"transformTemplates": [
"{\"releases\":[{\"version\": $.Date, \"releaseTimestamp\": $.Date, \"digest\": $.Version}]}"
]
}
},
"packageRules": [
{
"matchDepNames": ["/^wingbits/"],
"matchDatasources": ["custom.wingbits-version", "custom.wingbits-json"],
"groupName": "wingbits version to latest"
}
],
"logLevelRemap": [
{
"matchMessage": "/^Custom manager fetcher/",
"newLogLevel": "info"
}
]
}