TrueChartsClone/.github/renovate.json5

122 lines
3.4 KiB
Plaintext

{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 7,
"helm-values": {
"fileMatch": ["charts/.+/.*values\\.yaml$", "charts/.+/SCALE/.*_values\\.yaml$"]
},
"helmv3": {
"fileMatch": ["charts/.+/Chart\\.yaml$"]
},
"packageRules": [
// Setup datasources for dep updates
{
"datasources": ["helm"],
"matchManagers": ["helmv3"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
// global docker datasource settings
{
"datasources": ["docker"],
"matchManagers": ["helm-values"],
"enabled": true,
"commitMessageTopic": "container image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
"matchUpdateTypes": ["major", "minor", "patch"],
},
//
// helm deps
//
{
"matchDatasources": ["helm"],
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"schedule": [
"on tuesday"
]
},
{
"matchDatasources": ["helm"],
"automerge": true,
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"groupName": ["minor dep"],
"schedule": [
"on tuesday"
]
},
{
"matchDatasources": ["helm"],
"automerge": true,
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"groupName": ["patch dep"],
"schedule": [
"on tuesday"
]
},
//
// Tag updates for semantic tags
//
{
"matchDatasources": ["docker"],
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["tag/major"],
"schedule": [
"on tuesday"
]
},
{
"matchDatasources": ["docker"],
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["tag/minor"],
"groupName": ["minor"],
"schedule": [
"on tuesday"
]
},
{
"matchDatasources": ["docker"],
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["tag/patch"],
"groupName": ["patch"],
"schedule": [
"on tuesday"
]
},
//
// Version strategies
//
// Versioning for linuxserver two-three digit container versions
{
"packagePatterns": ["^linuxserver\\/"],
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
},
// Versioning for slightly problematic container versions
{
"matchDatasources": ["docker"],
"versioning": "loose",
"matchPackageNames": [
"ghcr.io/k8s-at-home/plex",
"ghcr.io/k8s-at-home/qbittorrent",
],
},
]
}