Files
helm-charts/renovate.json
Alex Lebens 487c275ee2
All checks were successful
release-charts-postgres-cluster / release (push) Successful in 24s
lint-and-test / lint-helm (push) Successful in 40s
release-charts-generic-device-plugin / release (push) Successful in 44s
release-charts-cloudflared / release (push) Successful in 45s
release-charts-redis-replication / release (push) Successful in 23s
release-charts-gitea-actions / release (push) Successful in 48s
release-charts-volsync-target / release (push) Successful in 20s
renovate / renovate (push) Successful in 48s
lint-and-test / chart-testing (push) Successful in 1m40s
feat: add custom manager to renovate
2026-02-06 18:15:25 -06:00

75 lines
2.3 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"mergeConfidence:all-badges",
":rebaseStalePrs"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/(^|/)Chart\\.yaml$/"],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[^\"'\\s]+)[\"']?"
],
"datasourceTemplate": "github-releases"
}
],
"timezone": "US/Central",
"labels": [],
"prHourlyLimit": 0,
"prConcurrentLimit": 0,
"packageRules": [
{
"description": "Label charts",
"matchDatasources": ["helm"],
"addLabels": ["chart"],
"automerge": false,
"bumpVersions": [
{
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
}
]
},
{
"description": "Label images",
"matchDatasources": ["docker"],
"addLabels": ["image"],
"automerge": false,
"bumpVersions": [
{
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
"bumpType": "{{#if isPatch}}patch{{else}}minor{{/if}}"
}
]
},
{
"description": "Label images, helm",
"matchManagers": ["custom.regex", "helm-values"],
"groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}",
"groupSlug": "unified-{{{groupName}}}",
"addLabels": ["image"],
"automerge": false
},
{
"description": "Automerge generic-device-plugin image on digest",
"matchDatasources": ["docker"],
"matchDepNames": ["ghcr.io/squat/generic-device-plugin"],
"matchUpdateTypes": ["digest"],
"addLabels": ["image", "automerge"],
"automerge": true,
"minimumReleaseAge": "1 days",
"bumpVersions": [
{
"filePatterns": ["{{packageFileDir}}/Chart.{yaml,yml}"],
"matchStrings": ["version:\\s(?<version>[^\\s]+)"],
"bumpType": "patch"
}
]
}
]
}