This repository has been archived on 2025-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
theshire/renovate.json5

163 lines
5.2 KiB
Text
Raw Normal View History

2024-01-11 15:03:54 -06:00
{
2024-11-19 19:33:34 -06:00
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
2024-01-11 15:03:54 -06:00
"config:recommended",
"local>jahanson/theshire//.renovate/autoMerge.json5",
"local>jahanson/theshire//.renovate/commitMessage.json5",
"local>jahanson/theshire//.renovate/customManagers.json5",
"local>jahanson/theshire//.renovate/grafanaDashboards.json5",
"local>jahanson/theshire//.renovate/groups.json5",
"local>jahanson/theshire//.renovate/labels.json5",
2024-11-19 19:33:34 -06:00
"local>jahanson/theshire//.renovate/packageRules.json5",
2024-08-06 09:54:27 -05:00
],
2024-11-19 19:33:34 -06:00
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
flux: {
fileMatch: ["kubernetes/.+\\.ya?ml$"],
2024-01-11 15:03:54 -06:00
},
"helm-values": {
2024-11-19 19:33:34 -06:00
fileMatch: ["kubernetes/.+\\.ya?ml$"],
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
kubernetes: {
fileMatch: [
2024-09-05 17:23:14 -05:00
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$",
2024-11-19 19:33:34 -06:00
"(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$",
],
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
customManagers: [
2024-01-11 15:03:54 -06:00
{
2024-11-19 19:33:34 -06:00
customType: "regex",
description: [
"Process CRD dependencies - Chart and Github Release are the same version",
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
fileMatch: ["kubernetes/.+\\.ya?ml$"],
matchStrings: [
"# renovate: registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
datasourceTemplate: "helm",
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
customType: "regex",
description: ["Generic Docker image Regex manager"],
fileMatch: ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"],
matchStrings: [
'# renovate: docker-image( versioning=(?<versioning>.*=?))?\n .*[:|=] "?(?<depName>.*?):(?<currentValue>[^"\n]*=?)"?',
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
datasourceTemplate: "docker",
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
customType: "regex",
description: ["Raw GitHub URL Regex manager"],
fileMatch: ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"],
matchStrings: [
"https:\\/\\/raw.githubusercontent.com\\/(?<depName>[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?<currentValue>[\\w\\d\\.\\-_]+)\\/.*",
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
datasourceTemplate: "github-releases",
versioningTemplate: "semver",
},
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
packageRules: [
2024-01-11 15:03:54 -06:00
{
2024-11-19 19:33:34 -06:00
description: "Use custom versioning for Vector",
matchDatasources: ["docker"],
matchPackageNames: ["docker.io/timberio/vector"],
versioning: "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$",
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Use custom versioning for Minio",
matchDatasources: ["docker"],
versioning: "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z(-(?<compatibility>.*))?$",
matchPackageNames: ["quay.io/minio/minio"],
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Flux Group",
groupName: "Flux",
matchDatasources: ["docker", "github-tags"],
versioning: "semver",
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
matchPackageNames: ["/^flux/", "/^ghcr.io/fluxcd//"],
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Mastodon images",
groupName: "Mastodon",
matchDatasources: ["docker", "github-tags"],
versioning: "semver",
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
matchPackageNames: ["/mastodon/", "/^ghcr.io/mastodon//"],
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "1Password Connect images",
groupName: "1password-connect",
matchPackageNames: [
2024-01-11 15:03:54 -06:00
"docker.io/1password/connect-sync",
2024-11-19 19:33:34 -06:00
"docker.io/1password/connect-api",
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
matchDatasources: ["docker"],
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Rook-Ceph image and chart",
groupName: "Rook Ceph",
matchDatasources: ["docker", "helm"],
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
matchPackageNames: ["/rook.ceph/"],
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Cilium image and chart",
groupName: "cilium",
matchPackageNames: [
2024-01-11 15:03:54 -06:00
"quay.io/cilium/cilium",
"quay.io/cilium/operator-generic",
2024-11-19 19:33:34 -06:00
"cilium",
2024-01-11 15:03:54 -06:00
],
2024-11-19 19:33:34 -06:00
matchDatasources: ["helm", "docker"],
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "External Snapshotter charts",
groupName: "External Snapshotter",
matchPackageNames: ["snapshot-controller", "snapshot-validation-webhook"],
matchDatasources: ["helm"],
group: {
commitMessageTopic: "{{{groupName}}} group",
2024-01-11 15:03:54 -06:00
},
2024-11-19 19:33:34 -06:00
separateMinorPatch: true,
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Thanos image and chart - versions do not match",
groupName: "Thanos",
matchDatasources: ["docker", "github-releases", "helm"],
matchUpdateTypes: ["minor", "patch"],
group: {
commitMessageTopic: "{{{groupName}}} group",
},
matchPackageNames: ["/quay.io/thanos/thanos/", "/thanos/"],
2024-01-11 15:03:54 -06:00
},
{
2024-11-19 19:33:34 -06:00
description: "Vector image and chart - versions do not match",
groupName: "Vector",
matchDatasources: ["docker", "github-releases", "helm"],
matchUpdateTypes: ["minor", "patch"],
group: {
commitMessageTopic: "{{{groupName}}} group",
},
matchPackageNames: ["/vector/"],
},
],
}