debian-bootc-base-images/renovate.json
Miguel Martín c3f9ccde05
Configure renovate custom regex manager to update compose references
Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-05-21 15:11:41 +02:00

74 lines
2 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>platform-engineering-org/.github"
],
"dependencyDashboard": true,
"tekton": {
"additionalBranchPrefix": "",
"includePaths": [
".tekton/**"
],
"fileMatch": [
"\\.yaml$",
"\\.yml$"
],
"packageRules": [
{
"matchPackageNames": [
"/^quay.io/bootc-devel/tekton-catalog//"
],
"enabled": true,
"groupName": "Konflux references",
"branchPrefix": "konflux/references/",
"group": {
"branchTopic": "{{{baseBranch}}}",
"commitMessageTopic": "{{{groupName}}}"
},
"commitMessageTopic": "Konflux references",
"prBodyColumns": [
"Package",
"Change",
"Notes"
],
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{configDescription}}}{{{controls}}}{{{footer}}}",
"recreateWhen": "always",
"rebaseWhen": "behind-base-branch"
}
]
},
"customManagers": [
{
"customType": "regex",
"description": [
"Update 'REPOS_IMAGE' and 'BUILDER_IMAGE' in tekton files"
],
"baseBranches": [
"main"
],
"fileMatch": [
".tekton/.*\\.yaml$",
".tekton/.*\\.yml$"
],
"matchStrings": [
"REPOS_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n",
"BUILDER_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n"
],
"versioningTemplate": "regex:(?<compatibility>.*)-(?<minor>\\d{8})(\\.n)?\\.(?<build>\\d)",
"datasourceTemplate": "docker"
}
],
"baseBranches": ["main", "f40", "f41"],
"packageRules": [
{
"matchPackageNames": ["quay.io/fedora/fedora"],
"allowedVersions": "=40",
"matchBaseBranches": ["f40"]
},
{
"matchPackageNames": ["quay.io/fedora/fedora"],
"allowedVersions": "=41",
"matchBaseBranches": ["f41"]
}
]
}