From 7b45133f4982a8615b9e56ecc598a751231cb1ae Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 7 Aug 2024 13:18:35 -0500 Subject: [PATCH] Add package rules, limit reloader to 1 time a month. --- .renovate/packageRules.json5 | 17 +++++++++++++++++ renovate.json5 | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .renovate/packageRules.json5 diff --git a/.renovate/packageRules.json5 b/.renovate/packageRules.json5 new file mode 100644 index 00000000..b00eae7f --- /dev/null +++ b/.renovate/packageRules.json5 @@ -0,0 +1,17 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "packageRules": [ + { + "description": ["Custom schedule for frequently updated packages"], + "matchDataSources": ["docker", "helm"], + "matchPackagePatterns": ["reloader"], + "schedule": ["on the first day of the month"] + }, + { + "description": ["Custom versioning for minio"], + "matchDatasources": ["docker"], + "matchPackagePatterns": ["minio"], + "versioning": "regex:^RELEASE\\.(?\\d+)-(?\\d+)-(?\\d+)T.*Z$" + } + ] +} diff --git a/renovate.json5 b/renovate.json5 index db20cae0..8fba8106 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -3,7 +3,8 @@ "extends": [ "config:recommended", "local>jahanson/homelab//.renovate/customManagers.json5", - "local>jahanson/homelab//.renovate/autoMerge.json5" + "local>jahanson/homelab//.renovate/autoMerge.json5", + "local>jahanson/homelab//.renovate/packageRules.json5" ], "ignorePaths": [ ".archive/**"