TrueChartsClone/.github/renovate.json5

142 lines
3.9 KiB
Plaintext
Raw Normal View History

2021-02-04 14:44:51 -05:00
{
"enabled": true,
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"prConcurrentLimit": 7,
2021-02-04 14:44:51 -05:00
"helm-values": {
2021-05-23 15:20:42 -04:00
"fileMatch": ["charts/.+/.*values\\.yaml$", "charts/.+/SCALE/.*_values\\.yaml$"]
2021-02-04 14:44:51 -05:00
},
"helmv3": {
2021-05-23 15:20:42 -04:00
"fileMatch": ["charts/.+/Chart\\.yaml$"]
2021-02-04 14:44:51 -05:00
},
"packageRules": [
// Setup datasources for dep updates
2021-02-04 14:44:51 -05:00
{
"datasources": ["helm"],
2021-05-23 18:08:22 -04:00
"matchManagers": ["helmv3"],
2021-09-04 05:58:45 -04:00
"commitMessageTopic": "Helm chart {{depName}}"
2021-02-04 14:44:51 -05:00
},
2021-05-23 18:08:22 -04:00
// global docker datasource settings
{
"datasources": ["docker"],
"matchManagers": ["helm-values"],
"enabled": true,
2021-09-11 06:19:33 -04:00
"pinDigests": true,
2021-05-23 18:08:22 -04:00
"commitMessageTopic": "container image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
"matchUpdateTypes": ["major", "minor", "patch"],
"postUpgradeTasks": {
"commands": [
"sed -i \"s/^version:.*/version: $(grep '^version:' Chart.yaml | awk '{print $2}' | awk -F '[.\"]' '{$NF = $NF + 1;} 1' | sed 's/ /./g')/\" Chart.yaml",
],
"fileFilters": ["Chart.yaml"],
"executionMode": "branch"
},
2021-05-23 18:08:22 -04:00
},
2021-02-04 14:44:51 -05:00
//
2021-08-31 08:43:47 -04:00
// helm deps
2021-02-04 14:44:51 -05:00
//
{
2021-05-23 18:08:22 -04:00
"matchDatasources": ["helm"],
2021-02-04 14:44:51 -05:00
"updateTypes": ["major"],
2021-12-08 10:01:12 -05:00
"automerge": false,
2021-02-04 14:44:51 -05:00
"bumpVersion": "major",
2021-12-08 10:13:22 -05:00
"labels": ["dependency/helm/major"],
"groupName": ["dependency helm major"],
"paths": ["charts/dependency/"],
},
{
"matchDatasources": ["helm"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch"
],
"bumpVersion": "patch",
2021-12-08 10:13:22 -05:00
"labels": ["dependency/helm/non-major"],
"paths": ["charts/dependency/"],
"groupName": "dependency helm non-major"
},
//
// helm charts
//
{
"matchDatasources": ["helm"],
"updateTypes": ["major"],
"bumpVersion": "major",
2021-12-08 10:13:22 -05:00
"labels": ["general/helm/major"],
"groupName": ["general helm major"],
"paths": ["charts/incubator/", "charts/dev/", "charts/stable/", "charts/core/"],
2021-02-04 14:44:51 -05:00
"schedule": [
2021-05-24 07:26:49 -04:00
"on tuesday"
2021-02-04 14:44:51 -05:00
]
},
{
2021-05-23 18:08:22 -04:00
"matchDatasources": ["helm"],
"automerge": false,
2021-09-04 05:55:21 -04:00
"matchUpdateTypes": [
"minor",
"patch"
],
2021-02-04 14:44:51 -05:00
"bumpVersion": "patch",
2021-12-08 10:13:22 -05:00
"labels": ["general/helm/non-major"],
"groupName": "general helm non-major",
"paths": ["charts/incubator/", "charts/dev/", "charts/stable/", "charts/core/"],
2021-05-24 07:26:49 -04:00
"schedule": [
"on tuesday"
]
2021-09-04 05:47:23 -04:00
},
//
// Tag updates for semantic tags
//
{
2021-05-23 18:08:22 -04:00
"matchDatasources": ["docker"],
"updateTypes": ["major"],
2021-09-07 03:28:28 -04:00
"bumpVersion": "patch",
2021-05-24 07:26:49 -04:00
"labels": ["tag/major"],
2021-12-08 10:13:22 -05:00
"groupName": ["major docker"],
2021-05-24 07:26:49 -04:00
"schedule": [
"on tuesday"
]
},
{
2021-05-23 18:08:22 -04:00
"matchDatasources": ["docker"],
2021-09-07 04:05:22 -04:00
"automerge": false,
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"bumpVersion": "patch",
"labels": ["tag/non-major"],
2021-12-08 10:13:22 -05:00
"groupName": ["non-major docker"],
2021-05-24 07:26:49 -04:00
"schedule": [
"on tuesday"
]
},
//
2021-05-23 18:31:16 -04:00
// Version strategies
//
2021-05-23 18:31:16 -04:00
// Versioning for linuxserver two-three digit container versions
{
"packagePatterns": ["^linuxserver\\/","^deepquestai\\/"],
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
},
2021-05-23 18:31:16 -04:00
// Versioning for slightly problematic container versions
{
"matchDatasources": ["docker"],
"versioning": "loose",
"matchPackageNames": [
2021-06-30 03:42:39 -04:00
"ghcr.io/k8s-at-home/plex",
"ghcr.io/linuxserver/calibre",
2021-06-30 03:42:39 -04:00
"ghcr.io/k8s-at-home/qbittorrent",
2021-09-07 03:28:28 -04:00
"sirfragalot/hyperion.ng",
],
},
2021-02-04 14:44:51 -05:00
]
}