christianlempa-boilerplates/renovate.json

139 lines
4.6 KiB
JSON
Raw Normal View History

{
2024-02-23 16:09:11 +01:00
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
2024-02-23 16:12:37 +01:00
"config:base",
":dependencyDashboard",
":enableVulnerabilityAlertsWithLabel('security')",
":preserveSemverRanges",
":rebaseStalePrs",
2024-02-23 16:12:37 +01:00
"group:recommended"
],
"labels": [
"renovate"
],
2024-10-12 08:59:53 +02:00
"kubernetes": {
"fileMatch": ["(^|/)kubernetes/.+\/[^\/]+\\.ya?ml$"]
},
"packageRules": [
{
"groupName": "devDependencies (non-major)",
"matchDepTypes": [
"devDependencies",
"require-dev"
],
"matchUpdateTypes": [
"digest",
"minor",
"patch"
]
},
{
"description": "Update MariaDB or MySQL on a patch level only, bumps to major and minor versions might break compatibilty with an application",
"enabled": false,
"managers": [
"docker-compose",
"dockerfile"
],
"matchUpdateTypes": [
"major",
"minor"
],
"packagePatterns": [
"^([^/]+\\/)*(mariadb|mysql)(:.+)?$"
]
},
{
"description": "Update PostgreSQL on a minor version or patch level only, bumps to major versions might break compatibilty with an application",
"enabled": false,
"managers": [
"docker-compose",
"dockerfile"
],
"matchUpdateTypes": [
2024-05-05 14:51:54 +02:00
"major"
],
"packagePatterns": [
"^([^/]+\\/)*postgres(:.+)?$"
]
},
{
"description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
"enabled": true,
"managers": [
"docker-compose",
"dockerfile"
],
"matchFileNames": [
"docker-compose/mariadb/**",
"docker-compose/postgres/**"
],
"matchUpdateTypes": [
"major",
"minor",
"patch"
],
"packagePatterns": [
"^([^/]+\\/)*(mariadb|postgres)(:.+)?$"
]
},
{
"description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*heimdall(:.+)?$"
],
"versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$"
2024-05-31 12:06:58 +02:00
},
{
"description": "Track stable releases of Nginx only",
2024-05-31 12:06:58 +02:00
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*nginx(:.+)?$"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$"
},
{
"description": "Ignore erroneous version tags of Semaphore",
"managers": [
"docker-compose",
"dockerfile"
],
"packagePatterns": [
"^([^/]+\\/)*semaphore(:.+)?$"
],
"allowedVersions": "!/^v?2\\.19\\.10$/"
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update Longhorn images in Helm",
"fileMatch": ["(^|/)helm/longhorn/.+\\.yaml$"],
"matchStrings": [
"engine:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"manager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"ui:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"instanceManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"shareManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"backingImageManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"supportBundleKit:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"attacher:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"provisioner:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"nodeDriverRegistrar:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"resizer:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"snapshotter:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
"livenessProbe:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?"
],
"datasourceTemplate": "docker"
}
],
"separateMinorPatch": true,
"stopUpdatingLabel": "renovate/stop_updating"
2024-02-23 16:09:11 +01:00
}