TrueChartsClone/.github/renovate.json5

197 lines
5.8 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,
"pinDigests": true,
2021-12-11 12:38:52 +00:00
"timezone":"Europe/Amsterdam",
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}}",
2021-12-11 12:36:53 +00:00
"matchUpdateTypes": ["major", "minor", "patch", "digest"],
"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"],
2021-12-08 15:01:12 +00:00
"automerge": false,
2021-02-04 19:44:51 +00:00
"bumpVersion": "major",
2021-12-11 13:48:08 +00:00
"labels": ["update/helm/dependency/major"],
"groupName": ["helm dependency major"],
2021-12-08 15:13:22 +00:00
"paths": ["charts/dependency/"],
2021-12-11 12:36:53 +00:00
"schedule": [
"after 3am and before 4am on tuesday"
],
},
{
"matchDatasources": ["helm"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch"
],
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/helm/dependency/non-major"],
2021-12-08 15:13:22 +00:00
"paths": ["charts/dependency/"],
2021-12-11 12:36:53 +00:00
"schedule": [
"after 3am and before 4am on tuesday"
],
2021-12-11 13:48:08 +00:00
"groupName": "helm dependency non-major",
},
//
// helm charts
//
{
"matchDatasources": ["helm"],
"updateTypes": ["major"],
"bumpVersion": "major",
2021-12-11 13:48:08 +00:00
"labels": ["update/helm/general/major"],
"groupName": ["helm general major"],
2021-12-11 12:36:53 +00:00
"paths": ["charts/incubator/", "charts/dev/", "charts/enterprise/", "charts/stable/", "charts/core/", "templates/app/"],
2021-02-04 19:44:51 +00:00
"schedule": [
"after 3pm and before 4pm on tuesday"
],
2021-02-04 19:44:51 +00:00
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["helm"],
2021-12-11 12:36:53 +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",
2021-12-11 13:48:08 +00:00
"labels": ["update/helm/general/non-major"],
"groupName": "helm general non-major",
2021-12-11 12:36:53 +00:00
"paths": ["charts/incubator/", "charts/dev/", "charts/enterprise/", "charts/stable/", "charts/core/", "templates/app/"],
2021-05-24 11:26:49 +00:00
"schedule": [
"after 3pm and before 4pm on tuesday"
],
2021-09-04 09:47:23 +00:00
},
//
2021-12-11 12:36:53 +00:00
// Tag updates for semantic tags on enterprise Apps
//
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
"updateTypes": ["major"],
2021-09-07 07:28:28 +00:00
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/docker/enterprise/major"],
"groupName": ["docker enterprise major"],
2021-12-11 12:36:53 +00:00
"paths": ["charts/enterprise/"],
2021-05-24 11:26:49 +00:00
"schedule": [
"after 1am and before 2am on monday"
],
},
{
2021-05-23 22:08:22 +00:00
"matchDatasources": ["docker"],
2021-09-07 08:05:22 +00:00
"automerge": false,
2021-12-11 12:36:53 +00:00
"matchUpdateTypes": [
"minor",
],
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/docker/enterprise/minor"],
"groupName": ["docker enterprise minor"],
2021-12-11 12:36:53 +00:00
"paths": ["charts/enterprise/"],
"schedule": [
"after 1am and before 2am on monday"
],
2021-12-11 12:36:53 +00:00
},
{
"matchDatasources": ["docker"],
"automerge": true,
"matchUpdateTypes": [
"patch",
"digest",
"pin",
],
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/docker/enterprise/patch"],
"groupName": ["docker enterprise patch"],
2021-12-11 12:36:53 +00:00
"paths": ["charts/enterprise/"],
"schedule": [
"after 1am and before 2am on monday"
],
2021-12-11 12:36:53 +00:00
},
//
// Tag updates for semantic tags on all but enterprise Apps
//
{
"matchDatasources": ["docker"],
"updateTypes": ["major"],
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/docker/general/major"],
"groupName": ["docker general major"],
"paths": ["charts/dependency/", "charts/incubator/", "charts/dev/", "charts/library/", "charts/stable/", "charts/core/", "templates/app/"],
2021-12-11 12:36:53 +00:00
"schedule": [
"after 1am and before 2am on monday"
],
2021-12-11 12:41:04 +00:00
},
2021-12-11 12:36:53 +00:00
{
"matchDatasources": ["docker"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch",
2021-12-11 12:36:53 +00:00
"digest",
"pin",
],
"bumpVersion": "patch",
2021-12-11 13:48:08 +00:00
"labels": ["update/docker/general/non-major"],
"groupName": ["docker general non-major"],
"paths": ["charts/dependency/", "charts/incubator/", "charts/dev/", "charts/library/", "charts/stable/", "charts/core/", "templates/app/"],
2021-05-24 11:26:49 +00:00
"schedule": [
2021-12-11 12:36:53 +00:00
"after 1am and before 2am on monday"
],
},
//
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
]
}