Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["dockerfile", "tekton"],
"commitMessagePrefix": "UPSTREAM: <carry>: ",
"packageRules": [
{
"description": "Disable all Dockerfile updates by default. Only specific files will get targeted.",
"matchManagers": ["dockerfile"],
"enabled": false
},
{
"description": "Enable Docker image updates for Red Hat UBI images on major version 8",
"matchManagers": ["dockerfile"],
"matchFileNames": [
"Containerfile.externaldns"
],
"matchDatasources": ["docker"],
"matchPackageNames": [
"registry.access.redhat.com/ubi8/ubi-minimal"
],
"enabled": true,
"versioning": "redhat",
"schedule": [
"after 5am on tuesday"
]
},
{
"description": "Keep Go toolset on minor version 1.25",
"matchManagers": ["dockerfile"],
"matchFileNames": [
"Containerfile.externaldns"
],
"matchDatasources": ["docker"],
"matchPackageNames": [
"registry.access.redhat.com/ubi8/go-toolset"
],
"enabled": true,
"versioning": "redhat",
"allowedVersions": "/^1\\.25(\\.|$)/",
"schedule": [
"after 5am on tuesday"
]
}
],
"tekton": {
"managerFilePatterns": [
"/\\.yaml$/",
"/\\.yml$/"
],
"includePaths": [
".tekton/**"
],
"packageRules": [
{
"matchPackageNames": [
"/^quay.io/redhat-appstudio-tekton-catalog//",
"/^quay.io/konflux-ci/tekton-catalog//",
"/^quay.io/konflux-ci/konflux-vanguard//"
],
"enabled": true,
"groupName": "Konflux references",
"branchPrefix": "konflux/references/",
"additionalBranchPrefix": "",
"group": {
"branchTopic": "{{{baseBranch}}}",
"commitMessageTopic": "{{{groupName}}}"
},
"commitMessageTopic": "Konflux references",
"prBodyColumns": [
"Package",
"Change",
"Notes"
],
"prBodyDefinitions": {
"Notes": "{{#if (or (containsString updateType 'minor') (containsString updateType 'major'))}}:warning:[migration](https://github.com/redhat-appstudio/build-definitions/blob/main/task/{{{replace '^quay.io/(redhat-appstudio-tekton-catalog|konflux-ci/tekton-catalog)/task-' '' packageName}}}/{{{newVersion}}}/MIGRATION.md):warning:{{/if}}"
},
"prBodyTemplate": "{{{header}}}{{{table}}}{{{notes}}}{{{changelogs}}}{{{configDescription}}}{{{controls}}}{{{footer}}}",
"recreateWhen": "always",
"rebaseWhen": "behind-base-branch"
}
],
"schedule": [
"after 5am on tuesday"
],
"postUpgradeTasks": {
"commands": [
"pipeline-migration-tool migrate -f \"$RENOVATE_POST_UPGRADE_COMMAND_DATA_FILE\""
],
"executionMode": "branch",
"dataFileTemplate": "[{{#each upgrades}}{\"depName\": \"{{{depName}}}\", \"currentValue\": \"{{{currentValue}}}\", \"currentDigest\": \"{{{currentDigest}}}\", \"newValue\": \"{{{newValue}}}\", \"newDigest\": \"{{{newDigest}}}\", \"packageFile\": \"{{{packageFile}}}\", \"parentDir\": \"{{{parentDir}}}\", \"depTypes\": [{{#each depTypes}}\"{{{this}}}\"{{#unless @last}},{{\/unless}}{{\/each}}]}{{#unless @last}},{{\/unless}}{{\/each}}]"
}
}
}