-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renovate changes to optionally monitor zarf-config.toml files for the…
… init packages
- Loading branch information
1 parent
559a4fe
commit fecf7ea
Showing
3 changed files
with
117 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
"group:allNonMajor" | ||
], | ||
"ignoreDeps": [ | ||
"sigs.k8s.io/kustomize/kyaml" | ||
], | ||
"ignorePaths": [ | ||
"**/node_modules/**", | ||
"**/bower_components/**", | ||
"**/vendor/**", | ||
"**/__tests__/**", | ||
"**/test/**", | ||
"**/tests/**", | ||
"**/__fixtures__/**" | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": [ | ||
"patch", | ||
"pin", | ||
"digest" | ||
], | ||
"automerge": true, | ||
"automergeType": "pr" | ||
}, | ||
{ | ||
"matchDepTypes": [ | ||
"devDependencies" | ||
], | ||
"automerge": true, | ||
"automergeType": "pr" | ||
} | ||
], | ||
"platformAutomerge": true, | ||
"platformCommit": true, | ||
"postUpdateOptions": [ | ||
"gomodTidy" | ||
], | ||
"hostRules": [ | ||
{ | ||
"matchHost": "registry1.dso.mil", | ||
"hostType": "docker", | ||
"description": "Encrypted creds for registry1, scoped to this Github org using: https://github.com/renovatebot/renovate/blob/main/docs/usage/configuration-options.md#encrypted", | ||
"encrypted": { | ||
"username": "wcFMA/xDdHCJBTolAQ//a+5GNAOsD/UOKnqJDdbPRr73EXRgyRdtMOIqDyjGZIKcdVo64StgUb1O37O5bazoyGeYkcIS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dS6HsANUaZ+7j4D0qDL7EEcxk+CHM5lM2sSz6u4+J4u01XDkn0HJ/mShPDSWUoU01Va/ZpRL8zw/bjKApDBSgvBOwF7eXfUKqLrg2zURm2quUf7XwuVTXmBMg3DSEuRBlW8kM0rGWGyv7U62sx+2zjK0v2uNHJz0hzWaEfriOQu4B7/avb+CIupfVYGNllyMTuB2ySDMLKN3Q/EB7q97apWqwcnThxRhK7t3e59ea4JDxodxeeTG3m/UgBLBlXCutk7BsC7NQPaSeOzV7mw6AOVQz+Bn0DAGd1x03ITYAcgfYvSW7VCfhrvnmuSVICHA7GTYevC7RBYhexWdgHZb98mIt1vVA2C+h7eqsx+xWhHQFE2+lNRTRmj9ccU/6qz1+3zqHdMQ/WD8MLofSdgFLU/A7qljUm/dk1MEVMtGznukdRpJJV4PsEcwh2OV/9is5KPyFQ83M7sl3/fY+CBaHFEiT4j/bSBznmxL3TuAjMdIT7j0cNsOxnsHllgRHL1qG3S2ZmAQ0Ex4gIUUGn2VbZLyRogJspsjxx5ZYuuYVfhtSaTU" | ||
} | ||
} | ||
], | ||
"regexManagers": [ | ||
{ | ||
"fileMatch": [ | ||
"(^|/)zarf.yaml$" | ||
], | ||
"matchStringsStrategy": "recursive", | ||
"matchStrings": [ | ||
"(?m)charts:(.|\\n)*?(^\\s{4}[\\w:]+|\\n$|^\\s{2}-)", | ||
"(?m)name:(.|\\n)+?(^\\s{4}[\\w\\-:]+|\\n$|^\\s{2}-)", | ||
"(?m)name: (?<depName>.+)(.|\\n)*?url: (?<registryUrl>.+)(.|\\n)*?version: (?<currentValue>.+)" | ||
], | ||
"datasourceTemplate": "helm" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"(^|/)zarf.yaml$" | ||
], | ||
"matchStringsStrategy": "recursive", | ||
"matchStrings": [ | ||
"(?m)charts:(.|\\n)*?(^\\s{4}[\\w:]+|\\n$|^\\s{2}-)", | ||
"(?m)name:(.|\\n)+?(^\\s{4}[\\w\\-:]+|\\n$|^\\s{2}-)", | ||
"(?m)name: (?<depName>.+)(.|\\n)*?version: (?<currentValue>.+)(.|\\n)*?url: (?<registryUrl>.+)" | ||
], | ||
"datasourceTemplate": "helm" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"(^|/)zarf.yaml$" | ||
], | ||
"matchStringsStrategy": "recursive", | ||
"matchStrings": [ | ||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?version: (?<currentValue>.*)\\s" | ||
], | ||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"(^|/)zarf.yaml$" | ||
], | ||
"matchStringsStrategy": "recursive", | ||
"matchStrings": [ | ||
"https:\\/\\/github.com\\/(?<depName>[\\w\\/\\-\\.\\+\\%]+?)\\/releases\\/download\\/(?<currentValue>[\\w\\/\\-\\.\\+\\%]+?)\\/" | ||
], | ||
"datasourceTemplate": "github-releases" | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"(^|/)zarf-config.*.toml$" | ||
], | ||
"matchStringsStrategy": "recursive", | ||
"matchStrings": [ | ||
// Match version agent_image_tag in toml - Test: https://regex101.com/r/EwHOLD/1 | ||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?agent_image_tag = (?<currentValue>.*)\\s", | ||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?registry_image_tag = (?<currentValue>.*)\\s", | ||
// Match whole string for gitea_image in toml - Test: https://regex101.com/r/2hxdIs/1 | ||
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?gitea_image = (?<currentValue>[^\\s]+)\\s" | ||
], | ||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" | ||
} | ||
] | ||
} |