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

239 lines
5.9 KiB
Text
Raw Normal View History

2023-08-21 15:59:05 -05:00
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"platform": "gitea",
"endpoint": "https://git.hsn.dev",
"extends": [
"config:recommended",
"local>jahanson/valinor//.renovate/customManagers.json5"
2023-08-21 15:59:05 -05:00
],
"repositories": [],
"flux": {
"fileMatch": [
"kubernetes/.+\\.ya?ml$"
]
2023-08-21 15:59:05 -05:00
},
"helm-values": {
"fileMatch": [
"kubernetes/.+\\.ya?ml$"
]
2023-08-21 15:59:05 -05:00
},
"kubernetes": {
"fileMatch": [
"kubernetes/.+\\.ya?ml$"
]
2023-08-21 15:59:05 -05:00
},
"customDatasources": {
"grafana-dashboards": {
"defaultRegistryUrlTemplate": "https://grafana.com/api/dashboards/{{packageName}}",
"format": "json",
"transformTemplates": [
"{\"releases\":[{\"version\": $string(revision)}]}"
]
}
},
"regexManagers": [
2023-08-21 15:59:05 -05:00
{
"description": [
"Process CRD dependencies - Chart and Github Release are the same version"
],
"fileMatch": [
"kubernetes/.+\\.ya?ml$"
],
2023-08-21 15:59:05 -05:00
"matchStrings": [
"# renovate: registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
],
"datasourceTemplate": "helm"
},
{
"description": [
"Generic Docker image Regex manager"
],
2023-08-21 15:59:05 -05:00
"fileMatch": [
"infrastructure/.+\\.ya?ml$",
"infrastructure/.+\\.tf$"
],
"matchStrings": [
"# renovate: docker-image( versioning=(?<versioning>.*=?))?\n .*[:|=] \"?(?<depName>.*?):(?<currentValue>[^\"\n]*=?)\"?",
],
"datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"description": [
"Raw GitHub URL Regex manager"
],
2023-08-21 15:59:05 -05:00
"fileMatch": [
"infrastructure/.+\\.ya?ml$",
"kubernetes/.+\\.ya?ml$"
],
"matchStrings": [
"https:\\/\\/raw.githubusercontent.com\\/(?<depName>[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?<currentValue>[\\w\\d\\.\\-_]+)\\/.*",
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
}
],
"packageRules": [
2023-08-21 15:59:05 -05:00
{
2023-11-27 23:16:23 -06:00
"registryAliases": {
2023-11-27 23:26:01 -06:00
"ghcr.io": "hub.hsn.dev/ghcr.io",
"docker.io": "hub.hsn.dev/docker.io"
2023-11-27 23:16:23 -06:00
},
2023-08-21 15:59:05 -05:00
"description": "Use custom versioning for Vector",
"matchDatasources": [
"docker"
],
"matchPackageNames": [
"docker.io/timberio/vector"
],
2023-08-21 15:59:05 -05:00
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$"
},
{
"description": "Use custom versioning for Minio",
"matchDatasources": [
"docker"
],
2023-08-21 15:59:05 -05:00
"versioning": "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z(-(?<compatibility>.*))?$",
"matchPackageNames": [
"quay.io/minio/minio"
]
2023-08-21 15:59:05 -05:00
},
{
"description": "Flux Group",
"groupName": "Flux",
"matchPackagePatterns": [
"^flux",
"^ghcr.io/fluxcd/"
],
"matchDatasources": [
"docker",
"github-tags"
],
2023-08-21 15:59:05 -05:00
"versioning": "semver",
"group": {
"commitMessageTopic": "{{{groupName}}} group",
},
"separateMinorPatch": true,
},
{
"description": "Mastodon images",
"groupName": "Mastodon",
"matchPackagePatterns": [
"mastodon",
"^ghcr.io/mastodon/"
],
"matchDatasources": [
"docker",
"github-tags"
],
2023-08-21 15:59:05 -05:00
"versioning": "semver",
"group": {
"commitMessageTopic": "{{{groupName}}} group",
},
"separateMinorPatch": true,
},
{
"description": "1Password Connect images",
"groupName": "1password-connect",
"matchPackageNames": [
"docker.io/1password/connect-sync",
"docker.io/1password/connect-api",
],
"matchDatasources": [
"docker"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true,
},
{
"description": "Rook-Ceph image and chart",
"groupName": "Rook Ceph",
"matchPackagePatterns": [
"rook.ceph"
],
"matchDatasources": [
"docker",
"helm"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true,
},
{
"description": "Cilium image and chart",
"groupName": "cilium",
"matchPackageNames": [
"quay.io/cilium/cilium",
"quay.io/cilium/operator-generic",
"cilium",
],
"matchDatasources": [
"helm",
"docker"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"separateMinorPatch": true,
},
{
"description": "External Snapshotter charts",
"groupName": "External Snapshotter",
"matchPackageNames": [
"snapshot-controller",
"snapshot-validation-webhook"
],
"matchDatasources": [
"helm"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
"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"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
},
{
"description": "Vector image and chart - versions do not match",
"groupName": "Vector",
"matchPackagePatterns": [
"vector"
],
"matchDatasources": [
"docker",
"github-releases",
"helm"
],
"matchUpdateTypes": [
"minor",
"patch"
],
2023-08-21 15:59:05 -05:00
"group": {
"commitMessageTopic": "{{{groupName}}} group"
},
},
// Version strategies
]
}