TrueChartsClone/.github/renovate.json5

198 lines
6.1 KiB
Plaintext

{
"semanticCommits": "enabled",
"extends": ["helpers:pinGitHubActionDigests"],
"dependencyDashboard": true,
"dependencyDashboardTitle": "Renovate Dashboard 🤖",
"suppressNotifications": ["prIgnoreNotification"],
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"rebaseWhen": "conflicted",
"prConcurrentLimit": 25,
"timezone":"Europe/Amsterdam",
"pinDigests": true,
"automerge": true,
"gitAuthor": "TrueCharts-Admin <bot@truecharts.org>",
"helm-values": {
"fileMatch": ["charts/.+/.*values\\.yaml$", "charts/.+/SCALE/.*_values\\.yaml$"]
},
"helmv3": {
"fileMatch": ["charts/.+/Chart\\.yaml$"]
},
"packageRules": [
// Setup datasources for dep updates
{
"datasources": ["helm"],
"matchManagers": ["helmv3"],
"commitMessageTopic": "Helm chart {{depName}}"
},
// global docker datasource settings
{
"datasources": ["docker"],
"matchManagers": ["helm-values"],
"enabled": true,
"pinDigests": true,
"automerge": true,
"commitMessageTopic": "container image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
"matchUpdateTypes": ["major", "minor", "patch", "digest"],
},
{
"datasources": ["docker"],
"enabled": true,
"pinDigests": true,
"automerge": true,
"separateMinorPatch": true,
"commitMessageTopic": "container image {{depName}}",
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
},
// Setup datasources for github actions
{
"matchManagers": ["github-actions"],
"excludePackageNames": ["stefanzweifel/git-auto-commit-action"],
"automerge": false,
},
//
// helm deps
//
{
"matchDatasources": ["helm"],
"updateTypes": ["major"],
"automerge": false,
"bumpVersion": "major",
"labels": ["update/helm/dependency/major"],
"groupName": ["helm dependency major"],
"matchPaths": ["charts/dependency/**"],
},
{
"matchDatasources": ["helm"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch"
],
"bumpVersion": "patch",
"labels": ["update/helm/dependency/non-major"],
"matchPaths": ["charts/dependency/**"],
"groupName": "helm dependency non-major",
},
//
// helm charts
//
{
"matchDatasources": ["helm"],
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["update/helm/general/major"],
"groupName": ["helm general major"],
"matchPaths": ["charts/incubator/**", "charts/SCALE/**", "charts/dev/**", "charts/enterprise/**", "charts/stable/**", "templates/app/**"],
"schedule": [
"before 10pm on tuesday"
],
},
{
"matchDatasources": ["helm"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch"
],
"bumpVersion": "patch",
"labels": ["update/helm/general/non-major"],
"groupName": "helm general non-major",
"matchPaths": ["charts/incubator/**", "charts/SCALE/**", "charts/dev/**", "charts/enterprise/**", "charts/stable/**", "templates/app/**"],
"schedule": [
"before 10pm on tuesday"
],
},
//
// Tag updates for semantic tags on enterprise Apps
//
{
"matchDatasources": ["docker"],
"updateTypes": ["major"],
"bumpVersion": "major",
"labels": ["update/docker/enterprise/major"],
"matchPaths": ["charts/enterprise/**"],
},
{
"matchDatasources": ["docker"],
"automerge": true,
"matchUpdateTypes": [
"minor",
],
"bumpVersion": "patch",
"labels": ["update/docker/enterprise/minor"],
"matchPaths": ["charts/enterprise/**"],
},
{
"matchDatasources": ["docker"],
"automerge": true,
"matchUpdateTypes": [
"patch",
"digest",
"pin",
],
"bumpVersion": "patch",
"labels": ["update/docker/enterprise/patch"],
"matchPaths": ["charts/enterprise/**"],
},
//
// Tag updates for semantic tags on all but enterprise Apps
//
{
"matchDatasources": ["docker"],
"updateTypes": ["major"],
"bumpVersion": "minor",
"labels": ["update/docker/general/major", "automerge"],
"matchPaths": ["charts/dependency/**", "charts/SCALE/**", "charts/incubator/**", "charts/dev/**", "charts/stable/**", "templates/app/**"],
},
{
"matchDatasources": ["docker"],
"automerge": true,
"matchUpdateTypes": [
"minor",
"patch",
"digest",
"pin",
],
"bumpVersion": "patch",
"labels": ["update/docker/general/non-major", "automerge"],
"matchPaths": ["charts/dependency/**", "charts/SCALE/**", "charts/incubator/**", "charts/dev/**", "charts/library/**", "charts/stable/**", "templates/app/**"],
},
//
// Tag semantic version type based on regex
//
{
"matchDatasources": ["docker"],
"versioning": "regex:^(?<major>14)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
"matchPackageNames": ["tccr.io/truecharts/postgresql"],
},
{
"matchDatasources": ["docker"],
"versioning": "regex:^v(?<major>\\d{2})(?<minor>\\d{2})(?<patch>\\d{2})$",
"matchPackageNames": ["tccr.io/truecharts/photoprism"],
},
{
"matchDatasources": ["docker"],
"versioning": "regex:^v(?<major>\\d{4})-(?<minor>\\d{2})$",
"matchPackageNames": ["tccr.io/truecharts/rss-bridge"],
},
{
"matchDatasources": ["docker"],
"versioning": "regex:^v(?<major>\\d+)-(?<minor>\\d+)$",
"matchPackagePrefixes": ["tccr.io/truecharts/jupyter-"],
},
{
"matchDatasources": ["docker"],
"versioning": "regex:^(?<major>\\d{1})(?<minor>\\d{1})(?<patch>\\d{2})$",
"matchPackagePrefixes": ["tccr.io/truecharts/jitsi-"],
},
{
"matchDatasources": ["docker"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)_\\d+$",
"matchPackagePrefixes": ["tccr.io/truecharts/immich-"],
}
]
}