mirror of
https://github.com/auricom/home-cluster.git
synced 2025-12-29 09:45:23 +01:00
124 lines
4.0 KiB
Plaintext
124 lines
4.0 KiB
Plaintext
{
|
|
extends: [
|
|
":enableRenovate",
|
|
"config:base",
|
|
":disableRateLimiting",
|
|
":dependencyDashboard",
|
|
":semanticCommits",
|
|
":separatePatchReleases",
|
|
"docker:enableMajor",
|
|
":enablePreCommit",
|
|
"github>auricom/home-ops//.github/renovate/autoMerge",
|
|
"github>auricom/home-ops//.github/renovate/groups",
|
|
"github>auricom/home-ops//.github/renovate/labels",
|
|
"github>auricom/home-ops//.github/renovate/semanticCommits",
|
|
],
|
|
platform: "github",
|
|
username: "feisar-bot[bot]",
|
|
repositories: ["auricom/home-ops"],
|
|
assignees: ["auricom"],
|
|
onboarding: false,
|
|
requireConfig: false,
|
|
gitAuthor: "feisar-bot <feisar-bot[bot]@users.noreply.github.com>",
|
|
dependencyDashboardTitle: "Renovate Dashboard 🤖",
|
|
suppressNotifications: ["prIgnoreNotification"],
|
|
rebaseWhen: "conflicted",
|
|
ignorePaths: [
|
|
"cluster/base/",
|
|
"**/backup-job.yaml",
|
|
"**/trash-updater-job.yaml",
|
|
"**/travelstories/**",
|
|
],
|
|
// set up renovate managers
|
|
"docker-compose": {
|
|
fileMatch: [
|
|
"(^|/)docker-compose.*.ya?ml$",
|
|
"(^|/)docker-compose.*.ya?ml.j2$",
|
|
],
|
|
},
|
|
"helm-values": {
|
|
fileMatch: ["cluster/.+/helm-release\\.yaml$"],
|
|
},
|
|
helmv3: {
|
|
fileMatch: ["charts/.+/Chart\\.yaml$"],
|
|
},
|
|
kubernetes: {
|
|
fileMatch: ["cluster/.+\\.yaml$"],
|
|
},
|
|
flux: {
|
|
fileMatch: ["cluster/.+\\.yaml$"],
|
|
},
|
|
regexManagers: [
|
|
{
|
|
description: "Process CRD dependencies",
|
|
fileMatch: ["cluster/configuration/crds/.+\\.ya?ml$"],
|
|
matchStrings: [
|
|
// GitRepository where 'Git release/tag' matches 'Helm' version
|
|
"registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
|
|
// Kustomization where 'GitHub release artifact URL' matches 'Docker image' version
|
|
"datasource=(?<datasource>\\S+) image=(?<depName>\\S+)\n.*?-\\s(.*?)/(?<currentValue>[^/]+)/[^/]+\n",
|
|
],
|
|
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}",
|
|
},
|
|
{
|
|
description: "Process various dependencies",
|
|
fileMatch: ["ansible/.+\\.ya?ml$", "cluster/.+\\.ya?ml$"],
|
|
matchStrings: [
|
|
'datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?"(?<currentValue>.*)"\n',
|
|
],
|
|
datasourceTemplate: "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
|
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
|
|
},
|
|
{
|
|
description: "Process raw GitHub URLs",
|
|
fileMatch: ["cluster/.+\\.ya?ml$"],
|
|
matchStrings: [
|
|
"https:\\/\\/raw.githubusercontent.com\\/(?<depName>[\\w\\d\\-_]+\\/[\\w\\d\\-_]+)\\/(?<currentValue>[\\w\\d\\.\\-_]+)\\/.*",
|
|
],
|
|
datasourceTemplate: "github-releases",
|
|
versioningTemplate: "semver",
|
|
},
|
|
],
|
|
packageRules: [
|
|
// setup datasources
|
|
{
|
|
matchDatasources: ["helm"],
|
|
ignoreDeprecated: true,
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
commitMessageExtra: "to {{newVersion}}",
|
|
},
|
|
// custom versioning
|
|
{
|
|
matchDatasources: ["docker"],
|
|
versioning: "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$",
|
|
matchPackageNames: ["blakeblackshear/frigate"],
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
versioning: "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z(-(?<compatibility>.*))?$",
|
|
matchPackageNames: ["quay.io/minio/minio"],
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
versioning: "loose",
|
|
matchPackageNames: ["ghcr.io/k8s-at-home/qbittorrent"],
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
versioning: "regex:^version-v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
|
matchPackageNames: [
|
|
"ghcr.io/linuxserver/bookstack",
|
|
"ghcr.io/linuxserver/calibre",
|
|
"ghcr.io/linuxserver/healthchecks",
|
|
],
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
versioning: "regex:^version-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
|
matchPackageNames: ["ghcr.io/linuxserver/resilio-sync"],
|
|
},
|
|
],
|
|
}
|