From 715fa7548a17a9f311914aced5d0db59974bbf51 Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Thu, 3 Nov 2022 20:57:23 -0500 Subject: [PATCH] Use a regex manager to look at zarf.yamls and PR for their helm charts (#963) ## Description This adds a regex manager for looking inside of zarf.yaml files and pulling out helm charts. This will be useful to know when gitea (or any other charts we add) are out of date and in need of updating. ## Related Issue Fixes # N/A ## Type of change - [X] New feature (non-breaking change which adds functionality) ## Checklist before merging - [X] (Optional) Changes have been linted locally with [golangci-lint](https://github.com/golangci/golangci-lint). (NOTE: We haven't turned on lint checks in the pipeline yet so linting may be hard if it shows a lot of lint errors in places that weren't touched by changes. Thus, linting is optional right now.) Co-authored-by: Megamind <882485+jeff-mccoy@users.noreply.github.com> --- renovate.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index af84ec5a72..c93c41336f 100644 --- a/renovate.json +++ b/renovate.json @@ -19,5 +19,16 @@ } ], "platformAutomerge": true, - "platformCommit": true + "platformCommit": true, + "regexManagers": [ + { + "fileMatch": ["(^|/)zarf.yaml$"], + "matchStringsStrategy": "recursive", + "matchStrings": [ + "charts:(.|\n)*?(^\\s{4}[\\w:]+|\n$|^\\s{2}-)", + "- name: (?.+)(.|\n)*?url: (?.+)(.|\n)*?version: (?.+)" + ], + "datasourceTemplate": "helm" + } + ] }