mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
139 lines
4.6 KiB
JSON
139 lines
4.6 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:base",
|
|
":dependencyDashboard",
|
|
":enableVulnerabilityAlertsWithLabel('security')",
|
|
":preserveSemverRanges",
|
|
":rebaseStalePrs",
|
|
"group:recommended"
|
|
],
|
|
"labels": [
|
|
"renovate"
|
|
],
|
|
"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": [
|
|
"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+))?$"
|
|
},
|
|
{
|
|
"description": "Track stable releases of Nginx only",
|
|
"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"
|
|
}
|