debian-bootc-base-images/renovate.json
Miguel Martín b06288518c
Use patch/build instead of minor/patch in 'versioningTemplate'
According to the documentation 'build' can be used after 'major', 'minor'
and 'patch' have been already used and a fourth version part is needed.

On the other hand, it's only mandatory to use at least one of 'major',
'minor' or 'patch'.

We are using 'patch' and 'build' in compose-images so this change is
to make the versioning consistent among both projects.

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-06-04 10:46:16 +02:00

87 lines
2.1 KiB
JSON

{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>platform-engineering-org/.github"
],
"dependencyDashboard": true,
"tekton": {
"additionalBranchPrefix": "",
"includePaths": [
".tekton/**"
],
"managerFilePatterns": [
"/\\.ya?ml$/"
],
"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"
],
"managerFilePatterns": [
"/.tekton/.*\\.ya?ml$/"
],
"matchStrings": [
"REPOS_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n",
"BUILDER_IMAGE=(?<depName>.*):(?<currentValue>.*)@(?<currentDigest>.*)\\n"
],
"versioningTemplate": "regex:(?<compatibility>.*)-(?<patch>\\d{8})(\\.n)?\\.(?<build>\\d)",
"datasourceTemplate": "docker"
}
],
"baseBranches": [
"main",
"f40",
"f41"
],
"packageRules": [
{
"matchPackageNames": [
"quay.io/bootc-devel/.*-compose"
],
"automerge": true
},
{
"matchPackageNames": [
"quay.io/fedora/fedora"
],
"allowedVersions": "=40",
"matchBaseBranches": [
"f40"
]
},
{
"matchPackageNames": [
"quay.io/fedora/fedora"
],
"allowedVersions": "=41",
"matchBaseBranches": [
"f41"
]
}
]
}