try some renovate cleanup

This commit is contained in:
kjeld Schouten-Lebbing
2021-05-24 00:08:22 +02:00
parent 5a1a1e0c07
commit c8648f9a5a
+22 -30
View File
@@ -17,22 +17,32 @@
// Setup datasources for dep updates // Setup datasources for dep updates
{ {
"datasources": ["helm"], "datasources": ["helm"],
"matchManagers": ["helmv3"], "matchManagers": ["helmv3"],
"commitMessageTopic": "Helm chart {{depName}}", "commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true "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"],
},
// //
// Common library dep // Common library dep
// //
{ {
"commitMessagePrefix": "[{{{parentDir}}}]", "matchDatasources": ["helm"],
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"], "updateTypes": ["major"],
"bumpVersion": "major", "bumpVersion": "major",
"labels": ["dependency/major"], "labels": ["dependency/major"],
"packageNames": ["common"] "packageNames": ["common"],
"groupName": ["internal major dep"]
}, },
{ {
"matchDatasources": ["helm"],
"updateTypes": ["minor"], "updateTypes": ["minor"],
"bumpVersion": "minor", "bumpVersion": "minor",
"labels": ["dependency/minor"], "labels": ["dependency/minor"],
@@ -40,6 +50,7 @@
"groupName": ["internal minor dep"] "groupName": ["internal minor dep"]
}, },
{ {
"matchDatasources": ["helm"],
"updateTypes": ["patch"], "updateTypes": ["patch"],
"bumpVersion": "patch", "bumpVersion": "patch",
"labels": ["dependency/patch"], "labels": ["dependency/patch"],
@@ -47,9 +58,10 @@
"groupName": ["internal patch dep"] "groupName": ["internal patch dep"]
}, },
// //
// Other library deps // External helm deps
// //
{ {
"matchDatasources": ["helm"],
"commitMessagePrefix": "[{{{parentDir}}}]", "commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}", "branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"], "updateTypes": ["major"],
@@ -61,6 +73,7 @@
] ]
}, },
{ {
"matchDatasources": ["helm"],
"updateTypes": ["minor"], "updateTypes": ["minor"],
"bumpVersion": "minor", "bumpVersion": "minor",
"labels": ["dependency/minor"], "labels": ["dependency/minor"],
@@ -71,6 +84,7 @@
] ]
}, },
{ {
"matchDatasources": ["helm"],
"updateTypes": ["patch"], "updateTypes": ["patch"],
"bumpVersion": "patch", "bumpVersion": "patch",
"labels": ["dependency/patch"], "labels": ["dependency/patch"],
@@ -80,16 +94,11 @@
"every 1 months on the first day of the month" "every 1 months on the first day of the month"
] ]
}, },
// Setup datasources tag updates
{
"datasources": ["helm"],
"matchManagers": ["helm-values"],
"commitMessageTopic": "Helm chart {{depName}}"
},
// //
// Tag updates for semantic tags // Tag updates for semantic tags
// //
{ {
"matchDatasources": ["docker"],
"commitMessagePrefix": "[{{{parentDir}}}]", "commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}", "branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"], "updateTypes": ["major"],
@@ -97,12 +106,14 @@
"labels": ["tag/major"] "labels": ["tag/major"]
}, },
{ {
"matchDatasources": ["docker"],
"updateTypes": ["minor"], "updateTypes": ["minor"],
"bumpVersion": "minor", "bumpVersion": "minor",
"labels": ["tag/minor"], "labels": ["tag/minor"],
"groupName": ["minor"] "groupName": ["minor"]
}, },
{ {
"matchDatasources": ["docker"],
"updateTypes": ["patch"], "updateTypes": ["patch"],
"bumpVersion": "patch", "bumpVersion": "patch",
"labels": ["tag/patch"], "labels": ["tag/patch"],
@@ -115,24 +126,5 @@
"packagePatterns": ["^linuxserver\\/"], "packagePatterns": ["^linuxserver\\/"],
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$" "versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
}, },
{
"commitMessagePrefix": "[{{{parentDir}}}]",
"branchTopic": "{{{parentDir}}}-{{{depNameSanitized}}}-{{{newMajor}}}{{#if isPatch}}.{{{newMinor}}}{{/if}}.x{{#if isLockfileUpdate}}-lockfile{{/if}}",
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["tag/major"]
},
{
"updateTypes": ["minor"],
"bumpVersion": "minor",
"labels": ["tag/minor"],
"groupName": ["minor"]
},
{
"updateTypes": ["patch"],
"bumpVersion": "patch",
"labels": ["tag/patch"],
"groupName": ["patch"]
}
] ]
} }