Skip to content

Commit

Permalink
feat: added custom datasource for dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Jun 24, 2024
1 parent 6b8d517 commit f05e8a3
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,47 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
],
"branchPrefix": "renovate-",
"branchNameStrict": true,
"ignorePaths": [
"**/ui/**"
],
"packageRules": [
{
"matchPackageNames": [
"docker.io/node"
],
"allowedVersions": "<= 18"
},
{
"matchPackageNames": [
"dnsmasq"
],
"matchDatasources": [
"cutom.dnsmasq"
],
"extractVersion": "dnsmasq-(?<major>\\d+)\\.(?<minor>\\d+)$"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"build-images.sh"
],
"matchStrings": [
"^DNSMASQ_VERSION=(?<currentValue>[^\\s]*)$"
],
"versioningTemplate": "regex:(?<major>\\d+)\\.(?<minor>\\d+)",
"depNameTemplate": "dnsmasq",
"datasourceTemplate": "custom.dnsmasq"
}
],
"customDatasources": {
"dnsmasq": {
"defaultRegistryUrlTemplate": "https://dnsmasq.org/",
"format": "html"
}
}
}

0 comments on commit f05e8a3

Please sign in to comment.