Migrate renovate config #884

Merged
jahanson merged 2 commits from renovate/migrate-config into main 2024-11-19 19:42:56 -06:00

View file

@ -23,8 +23,9 @@
"(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$" "(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$"
] ]
}, },
"regexManagers": [ "customManagers": [
{ {
"customType": "regex",
"description": [ "description": [
"Process CRD dependencies - Chart and Github Release are the same version" "Process CRD dependencies - Chart and Github Release are the same version"
], ],
@ -35,15 +36,17 @@
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
}, },
{ {
"customType": "regex",
"description": ["Generic Docker image Regex manager"], "description": ["Generic Docker image Regex manager"],
"fileMatch": ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"], "fileMatch": ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"],
"matchStrings": [ "matchStrings": [
"# renovate: docker-image( versioning=(?<versioning>.*=?))?\n .*[:|=] \"?(?<depName>.*?):(?<currentValue>[^\"\n]*=?)\"?" '# renovate: docker-image( versioning=(?<versioning>.*=?))?\n .*[:|=] "?(?<depName>.*?):(?<currentValue>[^"\n]*=?)"?'
], ],
"datasourceTemplate": "docker", "datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}, },
{ {
"customType": "regex",
"description": ["Raw GitHub URL Regex manager"], "description": ["Raw GitHub URL Regex manager"],
"fileMatch": ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"], "fileMatch": ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"],
"matchStrings": [ "matchStrings": [
@ -69,24 +72,24 @@
{ {
"description": "Flux Group", "description": "Flux Group",
"groupName": "Flux", "groupName": "Flux",
"matchPackagePatterns": ["^flux", "^ghcr.io/fluxcd/"],
"matchDatasources": ["docker", "github-tags"], "matchDatasources": ["docker", "github-tags"],
"versioning": "semver", "versioning": "semver",
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
}, },
"separateMinorPatch": true "separateMinorPatch": true,
"matchPackageNames": ["/^flux/", "/^ghcr.io/fluxcd//"]
}, },
{ {
"description": "Mastodon images", "description": "Mastodon images",
"groupName": "Mastodon", "groupName": "Mastodon",
"matchPackagePatterns": ["mastodon", "^ghcr.io/mastodon/"],
"matchDatasources": ["docker", "github-tags"], "matchDatasources": ["docker", "github-tags"],
"versioning": "semver", "versioning": "semver",
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
}, },
"separateMinorPatch": true "separateMinorPatch": true,
"matchPackageNames": ["/mastodon/", "/^ghcr.io/mastodon//"]
}, },
{ {
"description": "1Password Connect images", "description": "1Password Connect images",
@ -104,12 +107,12 @@
{ {
"description": "Rook-Ceph image and chart", "description": "Rook-Ceph image and chart",
"groupName": "Rook Ceph", "groupName": "Rook Ceph",
"matchPackagePatterns": ["rook.ceph"],
"matchDatasources": ["docker", "helm"], "matchDatasources": ["docker", "helm"],
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
}, },
"separateMinorPatch": true "separateMinorPatch": true,
"matchPackageNames": ["/rook.ceph/"]
}, },
{ {
"description": "Cilium image and chart", "description": "Cilium image and chart",
@ -128,10 +131,7 @@
{ {
"description": "External Snapshotter charts", "description": "External Snapshotter charts",
"groupName": "External Snapshotter", "groupName": "External Snapshotter",
"matchPackageNames": [ "matchPackageNames": ["snapshot-controller", "snapshot-validation-webhook"],
"snapshot-controller",
"snapshot-validation-webhook"
],
"matchDatasources": ["helm"], "matchDatasources": ["helm"],
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
@ -141,23 +141,22 @@
{ {
"description": "Thanos image and chart - versions do not match", "description": "Thanos image and chart - versions do not match",
"groupName": "Thanos", "groupName": "Thanos",
"matchPackagePatterns": ["quay.io/thanos/thanos", "thanos"],
"matchDatasources": ["docker", "github-releases", "helm"], "matchDatasources": ["docker", "github-releases", "helm"],
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": ["minor", "patch"],
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
} },
"matchPackageNames": ["/quay.io/thanos/thanos/", "/thanos/"]
}, },
{ {
"description": "Vector image and chart - versions do not match", "description": "Vector image and chart - versions do not match",
"groupName": "Vector", "groupName": "Vector",
"matchPackagePatterns": ["vector"],
"matchDatasources": ["docker", "github-releases", "helm"], "matchDatasources": ["docker", "github-releases", "helm"],
"matchUpdateTypes": ["minor", "patch"], "matchUpdateTypes": ["minor", "patch"],
"group": { "group": {
"commitMessageTopic": "{{{groupName}}} group" "commitMessageTopic": "{{{groupName}}} group"
} },
"matchPackageNames": ["/vector/"]
} }
// Version strategies
] ]
} }