TrueChartsClone/.github/renovate.json5

151 lines
4.2 KiB
Plaintext
Raw Normal View History

2021-02-04 19:44:51 +00:00
{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 5,
"helm-values": {
2021-05-23 19:20:42 +00:00
"fileMatch": ["charts/.+/.*values\\.yaml$", "charts/.+/SCALE/.*_values\\.yaml$"]
2021-02-04 19:44:51 +00:00
},
"helmv3": {
2021-05-23 19:20:42 +00:00
"fileMatch": ["charts/.+/Chart\\.yaml$"]
2021-02-04 19:44:51 +00:00
},
"packageRules": [
// Setup datasources for dep updates
2021-02-04 19:44:51 +00:00
{
"datasources": ["helm"],
2021-05-23 22:08:22 +00:00
"matchManagers": ["helmv3"],
2021-02-04 19:44:51 +00:00
"commitMessageTopic": "Helm chart {{depName}}",
2021-05-23 19:20:42 +00:00
"separateMinorPatch": true
2021-02-04 19:44:51 +00:00
},
2021-05-23 22:08:22 +00:00
// 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"],
},
2021-02-04 19:44:51 +00:00
//
// Common library dep
//
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-02-04 19:44:51 +00:00
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
2021-05-23 22:08:22 +00:00
"packageNames": ["common"],
"groupName": ["internal major dep"]
2021-02-04 19:44:51 +00:00
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-02-04 19:44:51 +00:00
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"packageNames": ["common"],
"groupName": ["internal minor dep"]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-05-24 11:26:49 +00:00
"automerge": true,
2021-02-04 19:44:51 +00:00
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"packageNames": ["common"],
"groupName": ["internal patch dep"]
},
//
2021-05-23 22:08:22 +00:00
// External helm deps
2021-02-04 19:44:51 +00:00
//
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-02-04 19:44:51 +00:00
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
"excludePackageNames": ["common"],
"schedule": [
2021-05-24 11:26:49 +00:00
"on tuesday"
2021-02-04 19:44:51 +00:00
]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-02-04 19:44:51 +00:00
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["dependency/minor"],
"excludePackageNames": ["common"],
"groupName": ["external minor dep"],
"schedule": [
2021-05-24 11:26:49 +00:00
"on tuesday"
2021-02-04 19:44:51 +00:00
]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-02-04 19:44:51 +00:00
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["dependency/patch"],
"excludePackageNames": ["common"],
"groupName": ["external patch dep"],
2021-05-24 11:26:49 +00:00
"schedule": [
"on tuesday"
]
},
//
// Tag updates for semantic tags
//
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
2021-05-24 11:26:49 +00:00
"labels": ["tag/major"],
"schedule": [
"on tuesday"
]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["tag/minor"],
2021-05-24 11:26:49 +00:00
"groupName": ["minor"],
"schedule": [
"on tuesday"
]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["tag/patch"],
2021-05-24 11:26:49 +00:00
"groupName": ["patch"],
"schedule": [
"on tuesday"
]
},
//
2021-05-23 22:31:16 +00:00
// Version strategies
//
2021-05-23 22:31:16 +00:00
// Versioning for linuxserver two-three digit container versions
{
"packagePatterns": ["^linuxserver\\/"],
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
},
2021-05-23 22:31:16 +00:00
// Versioning for slightly problematic container versions
{
"matchDatasources": ["docker"],
"versioning": "loose",
"matchPackageNames": [
2021-06-30 07:42:39 +00:00
"ghcr.io/k8s-at-home/plex",
"ghcr.io/k8s-at-home/qbittorrent",
],
},
2021-02-04 19:44:51 +00:00
]
}