Migrate renovate config #884
1 changed files with 105 additions and 105 deletions
210
renovate.json5
210
renovate.json5
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
extends: [
|
"extends": [
|
||||||
"config:recommended",
|
"config:recommended",
|
||||||
"local>jahanson/theshire//.renovate/autoMerge.json5",
|
"local>jahanson/theshire//.renovate/autoMerge.json5",
|
||||||
"local>jahanson/theshire//.renovate/commitMessage.json5",
|
"local>jahanson/theshire//.renovate/commitMessage.json5",
|
||||||
|
@ -8,155 +8,155 @@
|
||||||
"local>jahanson/theshire//.renovate/grafanaDashboards.json5",
|
"local>jahanson/theshire//.renovate/grafanaDashboards.json5",
|
||||||
"local>jahanson/theshire//.renovate/groups.json5",
|
"local>jahanson/theshire//.renovate/groups.json5",
|
||||||
"local>jahanson/theshire//.renovate/labels.json5",
|
"local>jahanson/theshire//.renovate/labels.json5",
|
||||||
"local>jahanson/theshire//.renovate/packageRules.json5",
|
"local>jahanson/theshire//.renovate/packageRules.json5"
|
||||||
],
|
],
|
||||||
ignorePaths: ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
"ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"],
|
||||||
flux: {
|
"flux": {
|
||||||
fileMatch: ["kubernetes/.+\\.ya?ml$"],
|
"fileMatch": ["kubernetes/.+\\.ya?ml$"]
|
||||||
},
|
},
|
||||||
"helm-values": {
|
"helm-values": {
|
||||||
fileMatch: ["kubernetes/.+\\.ya?ml$"],
|
"fileMatch": ["kubernetes/.+\\.ya?ml$"]
|
||||||
},
|
},
|
||||||
kubernetes: {
|
"kubernetes": {
|
||||||
fileMatch: [
|
"fileMatch": [
|
||||||
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$",
|
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$",
|
||||||
"(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$",
|
"(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$"
|
||||||
],
|
]
|
||||||
},
|
},
|
||||||
customManagers: [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
customType: "regex",
|
"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"
|
||||||
],
|
],
|
||||||
fileMatch: ["kubernetes/.+\\.ya?ml$"],
|
"fileMatch": ["kubernetes/.+\\.ya?ml$"],
|
||||||
matchStrings: [
|
"matchStrings": [
|
||||||
"# renovate: registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
|
"# renovate: registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n"
|
||||||
],
|
],
|
||||||
datasourceTemplate: "helm",
|
"datasourceTemplate": "helm"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
customType: "regex",
|
"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",
|
"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": [
|
||||||
"https:\\/\\/raw.githubusercontent.com\\/(?<depName>[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?<currentValue>[\\w\\d\\.\\-_]+)\\/.*",
|
"https:\\/\\/raw.githubusercontent.com\\/(?<depName>[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?<currentValue>[\\w\\d\\.\\-_]+)\\/.*"
|
||||||
],
|
],
|
||||||
datasourceTemplate: "github-releases",
|
"datasourceTemplate": "github-releases",
|
||||||
versioningTemplate: "semver",
|
"versioningTemplate": "semver"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
packageRules: [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
description: "Use custom versioning for Vector",
|
"description": "Use custom versioning for Vector",
|
||||||
matchDatasources: ["docker"],
|
"matchDatasources": ["docker"],
|
||||||
matchPackageNames: ["docker.io/timberio/vector"],
|
"matchPackageNames": ["docker.io/timberio/vector"],
|
||||||
versioning: "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$",
|
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Use custom versioning for Minio",
|
"description": "Use custom versioning for Minio",
|
||||||
matchDatasources: ["docker"],
|
"matchDatasources": ["docker"],
|
||||||
versioning: "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z(-(?<compatibility>.*))?$",
|
"versioning": "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z(-(?<compatibility>.*))?$",
|
||||||
matchPackageNames: ["quay.io/minio/minio"],
|
"matchPackageNames": ["quay.io/minio/minio"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Flux Group",
|
"description": "Flux Group",
|
||||||
groupName: "Flux",
|
"groupName": "Flux",
|
||||||
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//"],
|
"matchPackageNames": ["/^flux/", "/^ghcr.io/fluxcd//"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Mastodon images",
|
"description": "Mastodon images",
|
||||||
groupName: "Mastodon",
|
"groupName": "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//"],
|
"matchPackageNames": ["/mastodon/", "/^ghcr.io/mastodon//"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "1Password Connect images",
|
"description": "1Password Connect images",
|
||||||
groupName: "1password-connect",
|
"groupName": "1password-connect",
|
||||||
matchPackageNames: [
|
"matchPackageNames": [
|
||||||
"docker.io/1password/connect-sync",
|
"docker.io/1password/connect-sync",
|
||||||
"docker.io/1password/connect-api",
|
"docker.io/1password/connect-api"
|
||||||
],
|
],
|
||||||
matchDatasources: ["docker"],
|
"matchDatasources": ["docker"],
|
||||||
group: {
|
"group": {
|
||||||
commitMessageTopic: "{{{groupName}}} group",
|
"commitMessageTopic": "{{{groupName}}} group"
|
||||||
},
|
},
|
||||||
separateMinorPatch: true,
|
"separateMinorPatch": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Rook-Ceph image and chart",
|
"description": "Rook-Ceph image and chart",
|
||||||
groupName: "Rook Ceph",
|
"groupName": "Rook Ceph",
|
||||||
matchDatasources: ["docker", "helm"],
|
"matchDatasources": ["docker", "helm"],
|
||||||
group: {
|
"group": {
|
||||||
commitMessageTopic: "{{{groupName}}} group",
|
"commitMessageTopic": "{{{groupName}}} group"
|
||||||
},
|
},
|
||||||
separateMinorPatch: true,
|
"separateMinorPatch": true,
|
||||||
matchPackageNames: ["/rook.ceph/"],
|
"matchPackageNames": ["/rook.ceph/"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Cilium image and chart",
|
"description": "Cilium image and chart",
|
||||||
groupName: "cilium",
|
"groupName": "cilium",
|
||||||
matchPackageNames: [
|
"matchPackageNames": [
|
||||||
"quay.io/cilium/cilium",
|
"quay.io/cilium/cilium",
|
||||||
"quay.io/cilium/operator-generic",
|
"quay.io/cilium/operator-generic",
|
||||||
"cilium",
|
"cilium"
|
||||||
],
|
],
|
||||||
matchDatasources: ["helm", "docker"],
|
"matchDatasources": ["helm", "docker"],
|
||||||
group: {
|
"group": {
|
||||||
commitMessageTopic: "{{{groupName}}} group",
|
"commitMessageTopic": "{{{groupName}}} group"
|
||||||
},
|
},
|
||||||
separateMinorPatch: true,
|
"separateMinorPatch": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "External Snapshotter charts",
|
"description": "External Snapshotter charts",
|
||||||
groupName: "External Snapshotter",
|
"groupName": "External Snapshotter",
|
||||||
matchPackageNames: ["snapshot-controller", "snapshot-validation-webhook"],
|
"matchPackageNames": ["snapshot-controller", "snapshot-validation-webhook"],
|
||||||
matchDatasources: ["helm"],
|
"matchDatasources": ["helm"],
|
||||||
group: {
|
"group": {
|
||||||
commitMessageTopic: "{{{groupName}}} group",
|
"commitMessageTopic": "{{{groupName}}} group"
|
||||||
},
|
},
|
||||||
separateMinorPatch: true,
|
"separateMinorPatch": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "Thanos image and chart - versions do not match",
|
"description": "Thanos image and chart - versions do not match",
|
||||||
groupName: "Thanos",
|
"groupName": "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/"],
|
"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",
|
||||||
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/"],
|
"matchPackageNames": ["/vector/"]
|
||||||
},
|
}
|
||||||
],
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue