diff --git a/renovate.json5 b/renovate.json5 index e14f2ff..2839bc4 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -31,6 +31,21 @@ "chart:\\s?\"?(?[^\\s\"]*)\"?\\s*?version:\\s?\"?(?[^\\s\"]*)\"?" ], "datasourceTemplate": "helm" + }, + { + "description": ["Process custom dependencies"], + "fileMatch": ["apps/.+\\.ya?ml$","infrastructure/.+\\.ya?ml$"], + "matchStrings": [ + // # renovate: datasource=github-releases depName=k3s-io/k3s + // k3s_release_version: &version v1.29.0+k3s1 + // # renovate: datasource=helm depName=cilium repository=https://helm.cilium.io + // version: 1.15.1 + "datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+: (&\\S+\\s)?(?\\S+)", + // # renovate: datasource=github-releases depName=rancher/system-upgrade-controller + // https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.2/crd.yaml + "datasource=(?\\S+) depName=(?\\S+)\\n.+/(?(v|\\d)[^/]+)" + ], + "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" } ], "packageRules": [ @@ -102,23 +117,5 @@ ], "registryUrls": ["https://immich-app.github.io/immich-charts"] } - ], - "customManagers": [ - { - "customType": "regex", - "description": ["Process custom dependencies"], - "fileMatch": ["apps/.+\\.ya?ml$","infrastructure/.+\\.ya?ml$"], - "matchStrings": [ - // # renovate: datasource=github-releases depName=k3s-io/k3s - // k3s_release_version: &version v1.29.0+k3s1 - // # renovate: datasource=helm depName=cilium repository=https://helm.cilium.io - // version: 1.15.1 - "datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+: (&\\S+\\s)?(?\\S+)", - // # renovate: datasource=github-releases depName=rancher/system-upgrade-controller - // https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.2/crd.yaml - "datasource=(?\\S+) depName=(?\\S+)\\n.+/(?(v|\\d)[^/]+)" - ], - "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" - } ] }