TrueChartsClone/.github/renovate.json5

116 lines
3.1 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": 7,
2021-02-04 19:44:51 +00:00
"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-09-04 09:58:45 +00:00
"commitMessageTopic": "Helm chart {{depName}}"
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,
2021-09-11 10:19:33 +00:00
"pinDigests": true,
2021-05-23 22:08:22 +00: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 22:08:22 +00:00
},
2021-02-04 19:44:51 +00:00
//
2021-08-31 12:43:47 +00:00
// 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
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["dependency/major"],
2021-09-07 07:28:28 +00:00
"groupName": ["major deps"],
2021-02-04 19:44:51 +00:00
"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-08-31 12:43:47 +00:00
"automerge": true,
2021-09-04 09:55:21 +00:00
"matchUpdateTypes": [
"minor",
"patch"
],
2021-02-04 19:44:51 +00:00
"bumpVersion": "patch",
"labels": ["dependency/non-major"],
2021-09-04 10:03:33 +00:00
"groupName": "non-major deps",
2021-05-24 11:26:49 +00:00
"schedule": [
"on tuesday"
]
2021-09-04 09:47:23 +00:00
},
//
// Tag updates for semantic tags
//
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
"updateTypes": ["major"],
2021-09-07 07:28:28 +00:00
"bumpVersion": "patch",
2021-05-24 11:26:49 +00:00
"labels": ["tag/major"],
2021-09-07 07:28:28 +00:00
"groupName": ["major"],
2021-05-24 11:26:49 +00:00
"schedule": [
"on tuesday"
]
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
2021-09-07 08:05:22 +00:00
"automerge": false,
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"bumpVersion": "patch",
"labels": ["tag/non-major"],
"groupName": ["non-major"],
2021-05-24 11:26:49 +00:00
"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\\/","^deepquestai\\/"],
"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/linuxserver/calibre",
2021-06-30 07:42:39 +00:00
"ghcr.io/k8s-at-home/qbittorrent",
2021-09-07 07:28:28 +00:00
"sirfragalot/hyperion.ng",
],
},
2021-02-04 19:44:51 +00:00
]
}