mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-02-23 05:50:47 +01:00
143 lines
4.7 KiB
JSON
143 lines
4.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
":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,
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"major",
|
|
"minor"
|
|
],
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*(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,
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"major"
|
|
],
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*postgres(:.+)?$/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
|
|
"enabled": true,
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"matchFileNames": [
|
|
"docker-compose/mariadb/**",
|
|
"docker-compose/postgres/**"
|
|
],
|
|
"matchUpdateTypes": [
|
|
"major",
|
|
"minor",
|
|
"patch"
|
|
],
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*(mariadb|postgres)(:.+)?$/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$",
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*heimdall(:.+)?$/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Track stable releases of Nginx only",
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$",
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*nginx(:.+)?$/"
|
|
]
|
|
},
|
|
{
|
|
"description": "Ignore erroneous version tags of Semaphore",
|
|
"matchManagers": [
|
|
"docker-compose",
|
|
"dockerfile"
|
|
],
|
|
"allowedVersions": "!/^v?2\\.19\\.10$/",
|
|
"matchPackageNames": [
|
|
"/^([^/]+\\/)*semaphore(:.+)?$/"
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|