Skip to content

Commit

Permalink
Use a regex manager to look at zarf.yamls and PR for their helm charts (
Browse files Browse the repository at this point in the history
#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 <[email protected]>
  • Loading branch information
Racer159 and jeff-mccoy authored Nov 4, 2022
1 parent 2650108 commit 1298a60
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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: (?<depName>.+)(.|\n)*?url: (?<registryUrl>.+)(.|\n)*?version: (?<currentValue>.+)"
],
"datasourceTemplate": "helm"
}
]
}

0 comments on commit 1298a60

Please sign in to comment.