197 lines
5.8 KiB
Plaintext
197 lines
5.8 KiB
Plaintext
{
|
|
"enabled": true,
|
|
"dependencyDashboard": true,
|
|
"dependencyDashboardTitle": "Renovate Dashboard",
|
|
"assigneesFromCodeOwners": true,
|
|
"reviewersFromCodeOwners": true,
|
|
"suppressNotifications": ["prIgnoreNotification"],
|
|
"rebaseWhen": "conflicted",
|
|
"prConcurrentLimit": 7,
|
|
"pinDigests": true,
|
|
"timezone":"Europe/Amsterdam",
|
|
"helm-values": {
|
|
"fileMatch": ["charts/.+/.*values\\.yaml$", "charts/.+/SCALE/.*_values\\.yaml$"]
|
|
},
|
|
"helmv3": {
|
|
"fileMatch": ["charts/.+/Chart\\.yaml$"]
|
|
},
|
|
"packageRules": [
|
|
// Setup datasources for dep updates
|
|
{
|
|
"datasources": ["helm"],
|
|
"matchManagers": ["helmv3"],
|
|
"commitMessageTopic": "Helm chart {{depName}}"
|
|
},
|
|
// global docker datasource settings
|
|
{
|
|
"datasources": ["docker"],
|
|
"matchManagers": ["helm-values"],
|
|
"enabled": true,
|
|
"pinDigests": true,
|
|
"commitMessageTopic": "container image {{depName}}",
|
|
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
|
|
"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"
|
|
},
|
|
},
|
|
//
|
|
// helm deps
|
|
//
|
|
{
|
|
"matchDatasources": ["helm"],
|
|
"updateTypes": ["major"],
|
|
"automerge": false,
|
|
"bumpVersion": "major",
|
|
"labels": ["update/helm/dependency/major"],
|
|
"groupName": ["helm dependency major"],
|
|
"paths": ["charts/dependency/"],
|
|
"schedule": [
|
|
"after 3am and before 4am on tuesday"
|
|
],
|
|
},
|
|
{
|
|
"matchDatasources": ["helm"],
|
|
"automerge": true,
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch"
|
|
],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/helm/dependency/non-major"],
|
|
"paths": ["charts/dependency/"],
|
|
"schedule": [
|
|
"after 3am and before 4am on tuesday"
|
|
],
|
|
"groupName": "helm dependency non-major",
|
|
},
|
|
//
|
|
// helm charts
|
|
//
|
|
{
|
|
"matchDatasources": ["helm"],
|
|
"updateTypes": ["major"],
|
|
"bumpVersion": "major",
|
|
"labels": ["update/helm/general/major"],
|
|
"groupName": ["helm general major"],
|
|
"paths": ["charts/incubator/", "charts/dev/", "charts/enterprise/", "charts/stable/", "charts/core/", "templates/app/"],
|
|
"schedule": [
|
|
"after 6am and before 7am on tuesday"
|
|
],
|
|
},
|
|
{
|
|
"matchDatasources": ["helm"],
|
|
"automerge": true,
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch"
|
|
],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/helm/general/non-major"],
|
|
"groupName": "helm general non-major",
|
|
"paths": ["charts/incubator/", "charts/dev/", "charts/enterprise/", "charts/stable/", "charts/core/", "templates/app/"],
|
|
"schedule": [
|
|
"after 6am and before 7am on tuesday"
|
|
],
|
|
},
|
|
//
|
|
// Tag updates for semantic tags on enterprise Apps
|
|
//
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"updateTypes": ["major"],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/docker/enterprise/major"],
|
|
"groupName": ["docker enterprise major"],
|
|
"paths": ["charts/enterprise/"],
|
|
"schedule": [
|
|
"after 1am and before 2am on monday"
|
|
],
|
|
},
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"automerge": false,
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/docker/enterprise/minor"],
|
|
"groupName": ["docker enterprise minor"],
|
|
"paths": ["charts/enterprise/"],
|
|
"schedule": [
|
|
"after 1am and before 2am on monday"
|
|
],
|
|
},
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"automerge": true,
|
|
"matchUpdateTypes": [
|
|
"patch",
|
|
"digest",
|
|
"pin",
|
|
],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/docker/enterprise/patch"],
|
|
"groupName": ["docker enterprise patch"],
|
|
"paths": ["charts/enterprise/"],
|
|
"schedule": [
|
|
"after 1am and before 2am on monday"
|
|
],
|
|
},
|
|
//
|
|
// Tag updates for semantic tags on all but enterprise Apps
|
|
//
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"updateTypes": ["major"],
|
|
"bumpVersion": "patch",
|
|
"labels": ["update/docker/general/major"],
|
|
"groupName": ["docker general major"],
|
|
"paths": ["charts/dependency/", "charts/incubator/", "charts/dev/", "charts/library/", "charts/stable/", "charts/core/", "templates/app/"],
|
|
"schedule": [
|
|
"after 1am and before 2am on monday"
|
|
],
|
|
},
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"automerge": true,
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch",
|
|
"digest",
|
|
"pin",
|
|
],
|
|
"bumpVersion": "patch",
|
|
"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/"],
|
|
"schedule": [
|
|
"after 1am and before 2am on monday"
|
|
],
|
|
},
|
|
//
|
|
// Version strategies
|
|
//
|
|
// Versioning for linuxserver two-three digit container versions
|
|
{
|
|
"packagePatterns": ["^linuxserver\\/","^deepquestai\\/"],
|
|
"versionScheme": "regex:^(?<compatibility>.*?(\\d+\\.)??)(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?(-r?p?\\d)?$"
|
|
},
|
|
// Versioning for slightly problematic container versions
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"versioning": "loose",
|
|
"matchPackageNames": [
|
|
"ghcr.io/k8s-at-home/plex",
|
|
"ghcr.io/linuxserver/calibre",
|
|
"ghcr.io/k8s-at-home/qbittorrent",
|
|
"sirfragalot/hyperion.ng",
|
|
],
|
|
},
|
|
]
|
|
}
|