From 8fee0b8c8438c48feaca07c7e323a58af6821d5e Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 2 Jan 2022 14:48:49 +0100 Subject: [PATCH] Add: renovate.json --- renovate.json | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..9fbd9708 --- /dev/null +++ b/renovate.json @@ -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: (?.*?)\n *chart: (?.*?)\n *targetRevision: (?.*)\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": [] + } + ] + }