more renovate work

This commit is contained in:
Kjeld Schouten
2024-10-13 02:06:37 +02:00
parent 74b4b57755
commit 2a9b685e7b
18 changed files with 309 additions and 12 deletions
@@ -0,0 +1,16 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "{{currentVersion}} → {{newVersion}}",
"commitMessageSuffix": "",
"packageRules": [
{
"matchDatasources": ["helm"],
"commitMessageTopic": "chart {{depName}}"
},
{
"matchDatasources": ["docker", "helm-values"],
"commitMessageTopic": "image {{depName}}"
}
]
}
+37
View File
@@ -0,0 +1,37 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["type/major"]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["type/minor"]
},
{
"matchUpdateTypes": ["patch"],
"labels": ["type/patch"]
},
{
"matchUpdateTypes": ["digest"],
"labels": ["type/digest"]
},
{
"matchDatasources": ["docker"],
"addLabels": ["renovate/container"]
},
{
"matchDatasources": ["helm"],
"addLabels": ["renovate/helm"]
},
{
"matchDatasources": ["github-releases", "github-tags"],
"addLabels": ["renovate/github-release"]
},
{
"matchManagers": ["github-actions"],
"addLabels": ["renovate/github-action"]
}
]
}
+2 -1
View File
@@ -11,7 +11,8 @@
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"ignore": [
// Specify any dependencies or versions to ignore
]
],
"semanticCommitScope": "astro",
},
"ignoreDeps": [
// List any dependencies to ignore globally if needed
+1
View File
@@ -12,6 +12,7 @@
"enabled": true, // Enable Docker image updates
"commitMessageSuffix": "fix: update Docker image", // Customize commit message suffix
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"semanticCommitScope": "container",
"ignore": [
"talconfig.yaml" // Exclude any file named talconfig.yaml
]
+1
View File
@@ -8,6 +8,7 @@
"enabled": true, // Enable Flux updates
"updateTypes": ["major", "minor", "patch"], // Allow updates for all version types
"commitMessageSuffix": "fix: update Flux helm-release" // Customize commit message suffix
"semanticCommitScope": "Flux Objects",
},
"ignore": [
@@ -9,6 +9,7 @@
"enabled": true, // Enable GitHub Actions updates
"commitMessageSuffix": "fix: update GitHub Actions", // Customize commit message suffix
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"semanticCommitScope": "github-action",
"ignore": [
// Specify any actions or workflows to ignore
]
+2 -1
View File
@@ -11,7 +11,8 @@
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"ignore": [
// Specify any modules or versions to ignore
]
],
"semanticCommitScope": "go",
},
"ignoreDeps": [
// List any dependencies to ignore globally if needed
+1
View File
@@ -8,6 +8,7 @@
"enabled": true, // Enable image reference updates in values.yaml
"updateTypes": ["major", "minor", "patch", "digest"], // Allow updates for all version types
"commitMessageSuffix": "fix: update image references" // Customize commit message suffix
"semanticCommitScope": "container",
},
"ignore": [
// Add any global ignores here if needed
+1
View File
@@ -6,6 +6,7 @@
"Chart\\.ya?ml(?:\\.j2)?$" // Matches Chart.yaml or Chart.yml files, optionally with a .j2 extension
],
"enabled": true, // Enable Helm chart updates
"semanticCommitScope": "helm",
"updateTypes": ["major", "minor", "patch"], // Allow updates for all version types
"commitMessageSuffix": "fix: update Helm chart" // Customize commit message suffix
},
+3 -1
View File
@@ -6,7 +6,9 @@
"github>truecharts/public//.github/renovate/updates/minor.json5",
"github>truecharts/public//.github/renovate/updates/major.json5",
"github>truecharts/public//.github/renovate/updates/calver.json5",
"github>truecharts/public//.github/renovate/special/automerge.json5"
"github>truecharts/public//.github/renovate/basics/commitMessage.json5",
"github>truecharts/public//.github/renovate/basics/labels.json5",
"github>truecharts/public//.github/renovate/special/groups.json5"
]
// Main Renovate configuration that lists package rules for various paths
"packageRules": [
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"description": ["Process custom dependencies"],
"fileMatch": ["(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$"],
"matchStrings": [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\\n.+: (&\\S+\\s)?(?<currentValue>\\S+)",
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\n.+/(?<currentValue>(v|\\d)[^/]+)"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}"
},
{
"customType": "regex",
"description": ["Process CloudnativePG Postgresql version"],
"fileMatch": ["(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$"],
"matchStrings": ["imageName: (?<depName>\\S+):(?<currentValue>.*\\-.*)"],
"datasourceTemplate": "docker",
"versioningTemplate": "redhat"
}
]
}
@@ -0,0 +1,40 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": ["Loose versioning for non-semver packages"],
"matchDatasources": ["docker"],
"matchPackagePatterns": ["cross-seed", "plex"],
"versioning": "loose"
},
{
"description": ["Custom schedule for frequently updated packages"],
"matchDataSources": ["docker", "helm"],
"matchPackagePatterns": ["minio", "postgresql", "reloader"],
"schedule": ["on the first day of the month"]
},
{
"description": ["Custom versioning for k3s"],
"matchDatasources": ["github-releases"],
"matchPackagePatterns": ["k3s"],
"versioning": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<compatibility>\\+k3s)(?<build>\\d+)$"
},
{
"description": ["Custom versioning for minio"],
"matchDatasources": ["docker"],
"matchPackagePatterns": ["minio"],
"versioning": "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z$"
},
{
"matchDatasources": ["docker"],
"matchPackagePatterns": ["kopia"],
"allowedVersions": "<999"
},
{
"matchDatasources": ["docker"],
"matchPackagePatterns": ["postgresql"],
"allowedVersions": "<17"
}
]
}
+177
View File
@@ -0,0 +1,177 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": ["1Password Connect Group"],
"groupName": "1Password Connnect",
"matchPackagePatterns": ["1password/connect"],
"matchDatasources": ["docker"],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
"description": ["Actions Runner Controller Group"],
"groupName": "Actions Runner Controller",
"matchPackagePatterns": ["gha-runner-scale-set"],
"matchDatasources": ["docker", "helm"],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
"description": ["Flux Group"],
"groupName": "Flux",
"matchPackagePatterns": ["fluxcd"],
"matchDatasources": ["docker", "github-tags"],
"versioning": "semver",
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
"description": ["Intel Device Plugins Group"],
"groupName": "Intel-Device-Plugins",
"matchPackagePatterns": ["intel-device-plugins"],
"matchDatasources": ["helm"],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
"description": ["Rook-Ceph Group"],
"groupName": "Rook-Ceph",
"matchPackagePatterns": ["rook.ceph"],
"matchDatasources": ["helm"],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
"description": ["Talos Group"],
"groupName": "Talos",
"matchPackagePatterns": ["siderolabs/talosctl", "siderolabs/installer"],
"matchDatasources": ["docker"],
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true
},
{
matchDatasources: ["docker"],
versioning: "regex:^v(?<major>\\d+)-(?<minor>\\d+)$",
matchPackagePrefixes: ["jupyter"],
groupName: "jupyter",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["altran1502/immich"],
groupName: "immich",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["portainer"],
groupName: "portainer",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["m1k1o/neko"],
groupName: "neko",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["ghcr.io/mriedmann/humhub-"],
groupName: "humhub",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["lscr.io/linuxserver/webtop"],
groupName: "webtop",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["lscr.io/linuxserver/rdesktop"],
groupName: "rdesktop",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["tccr.io/tccr/metallb"],
groupName: "metallb",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["zabbix/zabbix"],
groupName: "zabbix",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["vikunja"],
groupName: "vikunja",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["mltooling/ml-workspace"],
groupName: "ml-workspace",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["itzg/bungeecord"],
groupName: "bungeecord",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["tccr.io/tccr/nextcloud-"],
groupName: "nextcloud",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["itzg/minecraft-java"],
groupName: "minecraft-java",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["reallibrephotos/librephotos"],
groupName: "librephotos",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["tombursch/kitchenowl"],
groupName: "kitchenowl",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["ghcr.io/goauthentik/"],
groupName: "authentik",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["cwq1913/lama-cleaner"],
groupName: "lama-cleaner",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["docspell/"],
groupName: "docspell",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["datarhei/restreamer"],
groupName: "restreamer",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["penpotapp/"],
groupName: "penpot",
},
{
matchDatasources: ["docker"],
matchPackagePrefixes: ["jasongdove/ersatztv"],
groupName: "ersatztv",
}
]
}
-1
View File
@@ -3,7 +3,6 @@
"calver": {
"enabled": true, // Enable CalVer updates
"versioning": ["calver"], // Specify that this uses CalVer versioning
"commitMessageSuffix": "fix: update CalVer dependencies", // Customize commit message suffix
"regexVersioning": {
"versioning": "calver", // Specify CalVer as the versioning strategy
"versioningRegex": "^\\d{4}\\.\\d{1,2}(\\.\\d{1,2})?$" // Example regex for CalVer: YYYY.MM or YYYY.MM.DD
+1 -2
View File
@@ -2,8 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"digest": {
"enabled": true, // Enable digest updates
"automerge": true,
"commitMessageSuffix": "fix: update image digest" // Customize commit message suffix for digest updates
"automerge": true
},
"ignore": [
// Add any paths or patterns to ignore specific digest updates, if necessary
+1 -2
View File
@@ -1,8 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"major": {
"enabled": true, // Enable minor updates
"commitMessageSuffix": "major: BREAKING CHANGE update dependencies" // Customize commit message suffix for minor updates
"enabled": true // Enable minor updates
},
"ignore": [
// Add any paths or patterns to ignore specific minor updates, if necessary
+1 -2
View File
@@ -1,8 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"minor": {
"enabled": true, // Enable minor updates
"commitMessageSuffix": "feat: update dependencies" // Customize commit message suffix for minor updates
"enabled": true // Enable minor updates
},
"ignore": [
// Add any paths or patterns to ignore specific minor updates, if necessary
+1 -2
View File
@@ -2,8 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"patch": {
"enabled": true, // Enable patch updates
"automerge": true,
"commitMessageSuffix": "fix: update dependencies" // Customize commit message suffix for patch updates
"automerge": true
},
"ignore": [
// Add any paths or patterns to ignore specific patch updates, if necessary