Add: renovate.json

This commit is contained in:
nold 2022-01-02 14:48:49 +01:00
parent 9c87ca255b
commit 8fee0b8c84

113
renovate.json Normal file
View file

@ -0,0 +1,113 @@
{
"enabled": true,
"timezone": "Europe/Berlin",
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard",
"commitMessageSuffix": "",
"commitBody": "",
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"assignees": ["@nold360"],
"helm-values": {
"fileMatch": ["./projects/.*/values/.+\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["\\.ya?ml$"],
"ignorePaths": [
"projects",
"ansible",
"scripts",
".github"
]
},
"regexManagers": [
{
"fileMatch": ["project.ya?ml$"],
"matchStrings": [
"repoURL: (?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *targetRevision: (?<currentValue>.*)\n"
],
"datasourceTemplate": "helm"
}
],
"packageRules": [
{
"datasources": ["helm"],
"managers": ["regex"],
"packageNames": [
"ombi",
"jackett",
"sonarr",
"radarr",
"lidarr",
"bazarr",
"unpackerr",
"home-assistent",
"navidrome"
],
"registryUrls": ["https://k8s-at-home.com/charts"]
},
{
"datasources": ["helm"],
"commitMessageTopic": "Helm chart {{depName}}",
"separateMinorPatch": true
},
{
"datasources": ["docker"],
"commitMessageTopic": "Docker image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{toVersion}}}{{else}}{{{newValue}}}{{/if}}",
"enabled": true,
"separateMinorPatch": true
},
{
"datasources": ["docker"],
"updateTypes": ["major"],
"labels": ["renovate/image-release", "dependency/major"]
},
{
"datasources": ["docker"],
"updateTypes": ["minor"],
"labels": ["renovate/image-release", "dependency/minor"]
},
{
"datasources": ["docker"],
"updateTypes": ["patch"],
"labels": ["renovate/image-release", "dependency/patch"]
},
{
"datasources": ["helm"],
"updateTypes": ["major"],
"labels": ["renovate/helm-release", "dependency/major"]
},
{
"datasources": ["helm"],
"updateTypes": ["minor"],
"labels": ["renovate/helm-release", "dependency/minor"]
},
{
"datasources": ["helm"],
"updateTypes": ["patch"],
"labels": ["renovate/helm-release", "dependency/patch"]
},
{
"datasources": ["docker"],
"versioning": "loose",
"packageNames": ["plexinc/pms-docker", "ghcr.io/k8s-at-home/plex"]
},
{
"datasources": ["docker"],
"automerge": true,
"requiredStatusChecks": null,
"schedule": "after 1am and before 5am",
"updateTypes": ["minor", "patch"],
"excludePackageNames": []
},
{
"datasources": ["helm"],
"automerge": true,
"requiredStatusChecks": null,
"schedule": "after 1am and before 5am",
"updateTypes": ["minor", "patch"],
"excludePackageNames": []
}
]
}