From 05fd7903f6650af9e43fb434999665d31082c973 Mon Sep 17 00:00:00 2001 From: Tommaso Bailetti Date: Fri, 22 Mar 2024 15:42:11 +0100 Subject: [PATCH] feat: added custom datasource for dnsmasq --- renovate.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/renovate.json b/renovate.json index 5db72dd..b7eed72 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,38 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "branchPrefix": "renovate-", + "branchNameStrict": true, + "ignorePaths": [ + "**/ui/**" + ], + "packageRules": [ + { + "matchPackageNames": [ + "node" + ], + "allowedVersions": "<= 18" + } + ], + "customDatasources": { + "dnsmasq": { + "defaultRegistryUrlTemplate": "https://dnsmasq.org/", + "format": "html" + } + }, + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "build-images.sh" + ], + "matchStrings": [ + "DNSMASQ_VERSION=(?[^\\s]+)$" + ], + "depNameTemplate": "dnsmasq", + "datasourceTemplate": "custom.dnsmasq", + "extractVersionTemplate": "^dnsmasq-(?.+?)\\.tar.gz$" + } ] }