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 1c8befa
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,44 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
],
"branchPrefix": "renovate-",
"branchNameStrict": true,
"ignorePaths": [
"**/ui/**"
],
"packageRules": [
{
"matchPackageNames": [
"docker.io/node"
],
"allowedVersions": "<= 18"
},
{
"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 1c8befa

Please sign in to comment.