UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit a7d7a0af authored by Peter Sigur's avatar Peter Sigur
Browse files

Resolve "Initialize the Mimir Renovate.json"

parent 28665a0b
No related branches found
No related tags found
1 merge request!34Resolve "Initialize the Mimir Renovate.json"
{}
{
"baseBranches": ["main"],
"configWarningReuseIssue": false,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate: Upgrade Mimir Package Dependencies",
"draftPR": true,
"enabledManagers": ["custom.regex", "helm-values", "helmv3"],
"ignorePaths": ["chart/charts/**"],
"labels": ["mimir", "renovate", "kind::maintenance", "team::Observability"],
"postUpdateOptions": ["helmUpdateSubChartArchives"],
"separateMajorMinor": false,
"packageRules": [
{
"matchDatasources": ["docker"],
"groupName": "Ironbank",
"registryUrls": ["https://registry1.dso.mil"]
},
{"matchDatasources": ["helm"], "groupName": "Ironbank"}
],
"customManagers": [
{
"customType": "regex",
"description": "Update app version chart annotations",
"fileMatch": ["^chart/Chart\\.yaml$"],
"matchStrings": [
"- mimir:\\s+'(?<currentValue>.+)'",
"appVersion:\\s+(?<currentValue>.+)"
],
"depNameTemplate": "registry1.dso.mil/ironbank/opensource/grafana/mimir",
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update docker image references",
"fileMatch": ["^chart/Chart\\.yaml$"],
"matchStrings": ["image:[^\\S\\r\\n]+(?<depName>.+):(?<currentValue>.+)"],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update chart version to match mimir-distributed",
"fileMatch": ["^chart/Chart\\.yaml$"],
"matchStrings": ["version:\\s+(?<currentValue>.+)-bb\\.\\d+"],
"autoReplaceStringTemplate": "version: {{newValue}}-bb.0",
"depNameTemplate": "mimir-distributed",
"datasourceTemplate": "helm",
"registryUrlTemplate": "https://grafana.github.io/helm-charts"
}
],
"postUpgradeTasks": {
"commands": [
"regenerate-helm-docs",
"bump-changelog '- {{{replace 'registry1.dso.mil/' '' depName}}} updated from {{{currentVersion}}} to {{{newVersion}}}'"
],
"fileFilters": ["chart/Chart.yaml", "README.md", "CHANGELOG.md"]
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment