Files
auricom-home-cluster/.github/renovate.json5
2023-01-02 05:14:46 +01:00

78 lines
2.4 KiB
Plaintext

{
"extends": [
"config:base",
"docker:enableMajor",
":disableRateLimiting",
":dependencyDashboard",
":semanticCommits",
":enablePreCommit",
":automergeDigest",
":automergeBranchPush",
"github>auricom/home-ops//.github/renovate/allowedVersions.json5",
"github>auricom/home-ops//.github/renovate/autoMerge.json5",
"github>auricom/home-ops//.github/renovate/commitMessage.json5",
"github>auricom/home-ops//.github/renovate/groups.json5",
"github>auricom/home-ops//.github/renovate/labels.json5"
],
"platform": "github",
"username": "feisar-bot[bot]",
"repositories": ["auricom/home-ops"],
"assignees": ["auricom"],
"onboarding": false,
"requireConfig": "optional",
"gitAuthor": "feisar-bot <feisar-bot[bot]@users.noreply.github.com>",
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"suppressNotifications": ["prIgnoreNotification"],
"rebaseWhen": "conflicted",
"commitBodyTable": true,
"commitMessagePrefix": "⬆️",
"ignorePaths": [],
"flux": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["kubernetes/.+\\.ya?ml$"]
},
"regexManagers": [
{
"description": "Process custom dependencies",
"fileMatch": [
"ansible/.+\\.ya?ml$",
"kubernetes/.+\\.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}}"
}
],
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
// setup datasources
{
"matchDatasources": ["helm"],
"ignoreDeprecated": true
},
{
"matchDatasources": ["docker"],
"matchUpdateTypes": ["major", "minor", "patch"],
"commitMessageExtra": "to {{newVersion}}"
},
// custom versioning
{
"matchDatasources": ["docker"],
"versioning": "loose",
"matchPackagePatterns": ["changedetection", "immich", "plex", "qbittorrent"]
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["ghcr.io/linuxserver/calibre"],
"versioning": "regex:^version-v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
}
]
}