From dbc86d000f5f8080228edafdbb43df07d88b3549 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 20 Nov 2024 01:33:34 +0000 Subject: [PATCH 1/2] Migrate config renovate.json5 --- renovate.json5 | 215 ++++++++++++++++++++++++------------------------- 1 file changed, 107 insertions(+), 108 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index ea9bf40a..04d80775 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,6 +1,6 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: [ "config:recommended", "local>jahanson/theshire//.renovate/autoMerge.json5", "local>jahanson/theshire//.renovate/commitMessage.json5", @@ -8,156 +8,155 @@ "local>jahanson/theshire//.renovate/grafanaDashboards.json5", "local>jahanson/theshire//.renovate/groups.json5", "local>jahanson/theshire//.renovate/labels.json5", - "local>jahanson/theshire//.renovate/packageRules.json5" + "local>jahanson/theshire//.renovate/packageRules.json5", ], - "ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"], - "flux": { - "fileMatch": ["kubernetes/.+\\.ya?ml$"] + ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"], + flux: { + fileMatch: ["kubernetes/.+\\.ya?ml$"], }, "helm-values": { - "fileMatch": ["kubernetes/.+\\.ya?ml$"] + fileMatch: ["kubernetes/.+\\.ya?ml$"], }, - "kubernetes": { - "fileMatch": [ + kubernetes: { + fileMatch: [ "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$", - "(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$" - ] + "(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$", + ], }, - "regexManagers": [ + customManagers: [ { - "description": [ - "Process CRD dependencies - Chart and Github Release are the same version" + customType: "regex", + description: [ + "Process CRD dependencies - Chart and Github Release are the same version", ], - "fileMatch": ["kubernetes/.+\\.ya?ml$"], - "matchStrings": [ - "# renovate: registryUrl=(?\\S+) chart=(?\\S+)\n.*?(?[^-\\s]*)\n" + fileMatch: ["kubernetes/.+\\.ya?ml$"], + matchStrings: [ + "# renovate: registryUrl=(?\\S+) chart=(?\\S+)\n.*?(?[^-\\s]*)\n", ], - "datasourceTemplate": "helm" + datasourceTemplate: "helm", }, { - "description": ["Generic Docker image Regex manager"], - "fileMatch": ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"], - "matchStrings": [ - "# renovate: docker-image( versioning=(?.*=?))?\n .*[:|=] \"?(?.*?):(?[^\"\n]*=?)\"?" + customType: "regex", + description: ["Generic Docker image Regex manager"], + fileMatch: ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"], + matchStrings: [ + '# renovate: docker-image( versioning=(?.*=?))?\n .*[:|=] "?(?.*?):(?[^"\n]*=?)"?', ], - "datasourceTemplate": "docker", - "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" + datasourceTemplate: "docker", + versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", }, { - "description": ["Raw GitHub URL Regex manager"], - "fileMatch": ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"], - "matchStrings": [ - "https:\\/\\/raw.githubusercontent.com\\/(?[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?[\\w\\d\\.\\-_]+)\\/.*" + customType: "regex", + description: ["Raw GitHub URL Regex manager"], + fileMatch: ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"], + matchStrings: [ + "https:\\/\\/raw.githubusercontent.com\\/(?[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?[\\w\\d\\.\\-_]+)\\/.*", ], - "datasourceTemplate": "github-releases", - "versioningTemplate": "semver" - } + datasourceTemplate: "github-releases", + versioningTemplate: "semver", + }, ], - "packageRules": [ + packageRules: [ { - "description": "Use custom versioning for Vector", - "matchDatasources": ["docker"], - "matchPackageNames": ["docker.io/timberio/vector"], - "versioning": "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)-(?.*)$" + description: "Use custom versioning for Vector", + matchDatasources: ["docker"], + matchPackageNames: ["docker.io/timberio/vector"], + versioning: "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)-(?.*)$", }, { - "description": "Use custom versioning for Minio", - "matchDatasources": ["docker"], - "versioning": "regex:^RELEASE\\.(?\\d+)-(?\\d+)-(?\\d+)T.*Z(-(?.*))?$", - "matchPackageNames": ["quay.io/minio/minio"] + description: "Use custom versioning for Minio", + matchDatasources: ["docker"], + versioning: "regex:^RELEASE\\.(?\\d+)-(?\\d+)-(?\\d+)T.*Z(-(?.*))?$", + matchPackageNames: ["quay.io/minio/minio"], }, { - "description": "Flux Group", - "groupName": "Flux", - "matchPackagePatterns": ["^flux", "^ghcr.io/fluxcd/"], - "matchDatasources": ["docker", "github-tags"], - "versioning": "semver", - "group": { - "commitMessageTopic": "{{{groupName}}} group" + description: "Flux Group", + groupName: "Flux", + matchDatasources: ["docker", "github-tags"], + versioning: "semver", + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, + matchPackageNames: ["/^flux/", "/^ghcr.io/fluxcd//"], }, { - "description": "Mastodon images", - "groupName": "Mastodon", - "matchPackagePatterns": ["mastodon", "^ghcr.io/mastodon/"], - "matchDatasources": ["docker", "github-tags"], - "versioning": "semver", - "group": { - "commitMessageTopic": "{{{groupName}}} group" + description: "Mastodon images", + groupName: "Mastodon", + matchDatasources: ["docker", "github-tags"], + versioning: "semver", + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, + matchPackageNames: ["/mastodon/", "/^ghcr.io/mastodon//"], }, { - "description": "1Password Connect images", - "groupName": "1password-connect", - "matchPackageNames": [ + description: "1Password Connect images", + groupName: "1password-connect", + matchPackageNames: [ "docker.io/1password/connect-sync", - "docker.io/1password/connect-api" + "docker.io/1password/connect-api", ], - "matchDatasources": ["docker"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" + matchDatasources: ["docker"], + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, }, { - "description": "Rook-Ceph image and chart", - "groupName": "Rook Ceph", - "matchPackagePatterns": ["rook.ceph"], - "matchDatasources": ["docker", "helm"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" + description: "Rook-Ceph image and chart", + groupName: "Rook Ceph", + matchDatasources: ["docker", "helm"], + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, + matchPackageNames: ["/rook.ceph/"], }, { - "description": "Cilium image and chart", - "groupName": "cilium", - "matchPackageNames": [ + description: "Cilium image and chart", + groupName: "cilium", + matchPackageNames: [ "quay.io/cilium/cilium", "quay.io/cilium/operator-generic", - "cilium" + "cilium", ], - "matchDatasources": ["helm", "docker"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" + matchDatasources: ["helm", "docker"], + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, }, { - "description": "External Snapshotter charts", - "groupName": "External Snapshotter", - "matchPackageNames": [ - "snapshot-controller", - "snapshot-validation-webhook" - ], - "matchDatasources": ["helm"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" + description: "External Snapshotter charts", + groupName: "External Snapshotter", + matchPackageNames: ["snapshot-controller", "snapshot-validation-webhook"], + matchDatasources: ["helm"], + group: { + commitMessageTopic: "{{{groupName}}} group", }, - "separateMinorPatch": true + separateMinorPatch: true, }, { - "description": "Thanos image and chart - versions do not match", - "groupName": "Thanos", - "matchPackagePatterns": ["quay.io/thanos/thanos", "thanos"], - "matchDatasources": ["docker", "github-releases", "helm"], - "matchUpdateTypes": ["minor", "patch"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" - } + 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/"], }, { - "description": "Vector image and chart - versions do not match", - "groupName": "Vector", - "matchPackagePatterns": ["vector"], - "matchDatasources": ["docker", "github-releases", "helm"], - "matchUpdateTypes": ["minor", "patch"], - "group": { - "commitMessageTopic": "{{{groupName}}} group" - } - } - // Version strategies - ] + 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/"], + }, + ], } -- 2.47.0 From b21dcbd9185b9d4735b473d3f681c093dc2da1d0 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 19 Nov 2024 19:40:28 -0600 Subject: [PATCH 2/2] add quotes back. --- renovate.json5 | 210 ++++++++++++++++++++++++------------------------- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 04d80775..1b29ca00 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,6 +1,6 @@ { - $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: [ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ "config:recommended", "local>jahanson/theshire//.renovate/autoMerge.json5", "local>jahanson/theshire//.renovate/commitMessage.json5", @@ -8,155 +8,155 @@ "local>jahanson/theshire//.renovate/grafanaDashboards.json5", "local>jahanson/theshire//.renovate/groups.json5", "local>jahanson/theshire//.renovate/labels.json5", - "local>jahanson/theshire//.renovate/packageRules.json5", + "local>jahanson/theshire//.renovate/packageRules.json5" ], - ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"], - flux: { - fileMatch: ["kubernetes/.+\\.ya?ml$"], + "ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"], + "flux": { + "fileMatch": ["kubernetes/.+\\.ya?ml$"] }, "helm-values": { - fileMatch: ["kubernetes/.+\\.ya?ml$"], + "fileMatch": ["kubernetes/.+\\.ya?ml$"] }, - kubernetes: { - fileMatch: [ + "kubernetes": { + "fileMatch": [ "(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$", - "(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$", - ], + "(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$" + ] }, - customManagers: [ + "customManagers": [ { - customType: "regex", - description: [ - "Process CRD dependencies - Chart and Github Release are the same version", + "customType": "regex", + "description": [ + "Process CRD dependencies - Chart and Github Release are the same version" ], - fileMatch: ["kubernetes/.+\\.ya?ml$"], - matchStrings: [ - "# renovate: registryUrl=(?\\S+) chart=(?\\S+)\n.*?(?[^-\\s]*)\n", + "fileMatch": ["kubernetes/.+\\.ya?ml$"], + "matchStrings": [ + "# renovate: registryUrl=(?\\S+) chart=(?\\S+)\n.*?(?[^-\\s]*)\n" ], - datasourceTemplate: "helm", + "datasourceTemplate": "helm" }, { - customType: "regex", - description: ["Generic Docker image Regex manager"], - fileMatch: ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"], - matchStrings: [ - '# renovate: docker-image( versioning=(?.*=?))?\n .*[:|=] "?(?.*?):(?[^"\n]*=?)"?', + "customType": "regex", + "description": ["Generic Docker image Regex manager"], + "fileMatch": ["infrastructure/.+\\.ya?ml$", "infrastructure/.+\\.tf$"], + "matchStrings": [ + '# renovate: docker-image( versioning=(?.*=?))?\n .*[:|=] "?(?.*?):(?[^"\n]*=?)"?' ], - datasourceTemplate: "docker", - versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", + "datasourceTemplate": "docker", + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, { - customType: "regex", - description: ["Raw GitHub URL Regex manager"], - fileMatch: ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"], - matchStrings: [ - "https:\\/\\/raw.githubusercontent.com\\/(?[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?[\\w\\d\\.\\-_]+)\\/.*", + "customType": "regex", + "description": ["Raw GitHub URL Regex manager"], + "fileMatch": ["infrastructure/.+\\.ya?ml$", "kubernetes/.+\\.ya?ml$"], + "matchStrings": [ + "https:\\/\\/raw.githubusercontent.com\\/(?[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?[\\w\\d\\.\\-_]+)\\/.*" ], - datasourceTemplate: "github-releases", - versioningTemplate: "semver", - }, + "datasourceTemplate": "github-releases", + "versioningTemplate": "semver" + } ], - packageRules: [ + "packageRules": [ { - description: "Use custom versioning for Vector", - matchDatasources: ["docker"], - matchPackageNames: ["docker.io/timberio/vector"], - versioning: "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)-(?.*)$", + "description": "Use custom versioning for Vector", + "matchDatasources": ["docker"], + "matchPackageNames": ["docker.io/timberio/vector"], + "versioning": "regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)-(?.*)$" }, { - description: "Use custom versioning for Minio", - matchDatasources: ["docker"], - versioning: "regex:^RELEASE\\.(?\\d+)-(?\\d+)-(?\\d+)T.*Z(-(?.*))?$", - matchPackageNames: ["quay.io/minio/minio"], + "description": "Use custom versioning for Minio", + "matchDatasources": ["docker"], + "versioning": "regex:^RELEASE\\.(?\\d+)-(?\\d+)-(?\\d+)T.*Z(-(?.*))?$", + "matchPackageNames": ["quay.io/minio/minio"] }, { - description: "Flux Group", - groupName: "Flux", - matchDatasources: ["docker", "github-tags"], - versioning: "semver", - group: { - commitMessageTopic: "{{{groupName}}} group", + "description": "Flux Group", + "groupName": "Flux", + "matchDatasources": ["docker", "github-tags"], + "versioning": "semver", + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, - matchPackageNames: ["/^flux/", "/^ghcr.io/fluxcd//"], + "separateMinorPatch": true, + "matchPackageNames": ["/^flux/", "/^ghcr.io/fluxcd//"] }, { - description: "Mastodon images", - groupName: "Mastodon", - matchDatasources: ["docker", "github-tags"], - versioning: "semver", - group: { - commitMessageTopic: "{{{groupName}}} group", + "description": "Mastodon images", + "groupName": "Mastodon", + "matchDatasources": ["docker", "github-tags"], + "versioning": "semver", + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, - matchPackageNames: ["/mastodon/", "/^ghcr.io/mastodon//"], + "separateMinorPatch": true, + "matchPackageNames": ["/mastodon/", "/^ghcr.io/mastodon//"] }, { - description: "1Password Connect images", - groupName: "1password-connect", - matchPackageNames: [ + "description": "1Password Connect images", + "groupName": "1password-connect", + "matchPackageNames": [ "docker.io/1password/connect-sync", - "docker.io/1password/connect-api", + "docker.io/1password/connect-api" ], - matchDatasources: ["docker"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "matchDatasources": ["docker"], + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, + "separateMinorPatch": true }, { - description: "Rook-Ceph image and chart", - groupName: "Rook Ceph", - matchDatasources: ["docker", "helm"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "description": "Rook-Ceph image and chart", + "groupName": "Rook Ceph", + "matchDatasources": ["docker", "helm"], + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, - matchPackageNames: ["/rook.ceph/"], + "separateMinorPatch": true, + "matchPackageNames": ["/rook.ceph/"] }, { - description: "Cilium image and chart", - groupName: "cilium", - matchPackageNames: [ + "description": "Cilium image and chart", + "groupName": "cilium", + "matchPackageNames": [ "quay.io/cilium/cilium", "quay.io/cilium/operator-generic", - "cilium", + "cilium" ], - matchDatasources: ["helm", "docker"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "matchDatasources": ["helm", "docker"], + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, + "separateMinorPatch": true }, { - description: "External Snapshotter charts", - groupName: "External Snapshotter", - matchPackageNames: ["snapshot-controller", "snapshot-validation-webhook"], - matchDatasources: ["helm"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "description": "External Snapshotter charts", + "groupName": "External Snapshotter", + "matchPackageNames": ["snapshot-controller", "snapshot-validation-webhook"], + "matchDatasources": ["helm"], + "group": { + "commitMessageTopic": "{{{groupName}}} group" }, - separateMinorPatch: true, + "separateMinorPatch": true }, { - description: "Thanos image and chart - versions do not match", - groupName: "Thanos", - matchDatasources: ["docker", "github-releases", "helm"], - matchUpdateTypes: ["minor", "patch"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "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/"], + "matchPackageNames": ["/quay.io/thanos/thanos/", "/thanos/"] }, { - description: "Vector image and chart - versions do not match", - groupName: "Vector", - matchDatasources: ["docker", "github-releases", "helm"], - matchUpdateTypes: ["minor", "patch"], - group: { - commitMessageTopic: "{{{groupName}}} group", + "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/"], - }, - ], + "matchPackageNames": ["/vector/"] + } + ] } -- 2.47.0