forked from CCCHH/ansible-infra
The benefit of digest pinning isn't that great for this project really and it comes at the cost of more issues and additional renovate noise, so just don't anymore. Adjust renovate config accordingly as well.
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
// Parts from config:best-practices:
|
|
// https://docs.renovatebot.com/presets-config/#configbest-practices
|
|
":configMigration",
|
|
"abandonments:recommended",
|
|
"security:minimumReleaseAgeNpm",
|
|
|
|
":ignoreUnstable",
|
|
":disableRateLimiting",
|
|
":rebaseStalePrs",
|
|
":label(renovate)",
|
|
],
|
|
"semanticCommits": "disabled",
|
|
"packageRules": [
|
|
// Create a package rule for grouping all stable non-major dependency updates together.
|
|
// A combination of/inspired by:
|
|
// https://docs.renovatebot.com/presets-group/#groupallnonmajor
|
|
// https://docs.renovatebot.com/presets-default/#automergestablenonmajor
|
|
{
|
|
"groupName": "all stable non-major dependencies",
|
|
"groupSlug": "all-stable-minor-patch",
|
|
"matchCurrentVersion": "!/^0/",
|
|
"matchUpdateTypes": [
|
|
"minor",
|
|
"patch"
|
|
]
|
|
},
|
|
{
|
|
"matchDatasources": ["docker"],
|
|
"matchPackageNames": ["docker.io/pretix/standalone"],
|
|
"versioning": "regex:^(?<major>\\d+\\.\\d+)(?:\\.(?<minor>\\d+))$"
|
|
}
|
|
],
|
|
"customManagers": [
|
|
// Custom manager using regex for letting Renovate find dependencies in inventory variables.
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/^inventories/.*?_vars/.*?\\.ya?ml$/"
|
|
],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) depName=(?<depName>[^\\s]+?)(?: packageName=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?\\s*.+?\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
|
|
]
|
|
}
|
|
],
|
|
"docker-compose": {
|
|
"managerFilePatterns": [
|
|
"/(^|/)(?:docker-)?compose[^/]*\\.ya?ml.j2$/"
|
|
]
|
|
}
|
|
}
|