ansible-infra/renovate.json
June a11ccaf16c
Some checks failed
/ Ansible Lint (push) Failing after 1m59s
disable digest pinning for our images, since Forgejo cleans them up
Since Forgejo seems to clean up older tag versions, so older digests,
disable digest pinning for our images.
While generally resulting in undeployable config, with ansible-pull the
breakage is especially noticeable.
2025-10-30 05:50:42 +01:00

56 lines
1.9 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended", // Included in config:best-practices anyway, but added for clarity.
"config:best-practices",
":ignoreUnstable",
":disableRateLimiting",
":rebaseStalePrs",
":label(renovate)",
"group:allDigest"
],
"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+))$"
},
// Since Forgejo seems to clean up older tag versions, so older digests, disable digest pinning for our images.
{
"matchDatasources": ["docker"],
"matchPackageNames": ["git.hamburg.ccc.de/*"],
"pinDigests": false
}
],
"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$/"
]
}
}