From c8acfee4831c733560be5e49186bba44129c320a Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Thu, 14 Mar 2024 10:39:55 -0400 Subject: [PATCH] fix: update renovate config --- .github/renovate.json5 | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index dfd4d5d7..11370dcc 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -15,35 +15,40 @@ "schedule": ["on saturday"], "flux": { "fileMatch": [ - "(^|/)ansible/.+\\.ya?ml(\\.j2)?$", - "(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$" + "(^|/)ansible/.+\\.ya?ml(?:\\.j2)?$", + "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" ] }, "helm-values": { "fileMatch": [ - "(^|/)ansible/.+\\.ya?ml(\\.j2)?$", - "(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$" + "(^|/)ansible/.+\\.ya?ml(?:\\.j2)?$", + "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" + ] + }, + "helmfile": { + "fileMatch": [ + "(^|/)helmfile\.ya?ml(?:\\.j2)?$" ] }, "kubernetes": { "fileMatch": [ - "(^|/)ansible/.+\\.ya?ml(\\.j2)?$", - "(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$" + "(^|/)ansible/.+\\.ya?ml(?:\\.j2)?$", + "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" ] }, "kustomize": { "fileMatch": [ - "(^|/)kustomization\\.ya?ml(\\.j2)?$" + "(^|/)kustomization\\.ya?ml(?:\\.j2)?$" ] }, "pip_requirements": { "fileMatch": [ - "(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)(\\.j2)?$" + "(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)(?:\\.j2)?$" ] }, "ansible-galaxy": { "fileMatch": [ - "(^|/)(galaxy|requirements)(\\.ansible)?\\.ya?ml(\\.j2)?$" + "(^|/)(galaxy|requirements)(\\.ansible)?\\.ya?ml(?:\\.j2)?$" ] }, // commit message topics @@ -232,16 +237,18 @@ "description": ["Process custom dependencies"], "fileMatch": [ "(^|/).taskfiles/.+\\.ya?ml$", - "(^|/)ansible/.+\\.ya?ml(\\.j2)?$", - "(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$" + "(^|/)ansible/.+\\.ya?ml(?:\\.j2)?$", + "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" ], "matchStrings": [ // # renovate: datasource=github-releases depName=k3s-io/k3s - // k3s_release_version: v1.29.0+k3s1 - "(?m:# renovate: datasource=(?\\S+) depName=(?\\S+)( repository=(?\\S+))?\\n.+?: \"?(?\\S+?)\"?$)", + // 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 - "(?m:# renovate: datasource=(?\\S+) depName=(?\\S+)\\n.+?\/(?(v|\\d)[^\/]+)\\S+$)" + "datasource=(?\\S+) depName=(?\\S+)\\n.+/(?(v|\\d)[^/]+)" ], "datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" }