Skip to content

Commit

Permalink
RHOAIENG-18401, RHOAIENG-18402: chore(.github/renovate.json5): config…
Browse files Browse the repository at this point in the history
…ure Renovate for ODH-io/kubeflow repository
  • Loading branch information
jiridanek committed Feb 26, 2025
1 parent aef4bb9 commit 83ef2ce
Showing 1 changed file with 122 additions and 0 deletions.
122 changes: 122 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
// This file is ignored if `.github/renovate.json` is also present,
// see https://docs.renovatebot.com/configuration-options/#configuration-options and https://json5.org.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": [
"https://raw.githubusercontent.com/red-hat-data-services/kubeflow/refs/heads/main/.github/renovate.json",
"https://konflux.pages.redhat.com/docs/users/mintmaker/user.html",
"https://github.com/konflux-ci/mintmaker/blob/main/config/renovate/renovate.json"
],
"extends": ["config:recommended"],
"branchPrefix": "renovate/",
"baseBranches": ["main"],
"ignoreTests": true,
"automergeType": "pr",
"automerge": false,
"enabledManagers": ["dockerfile", "tekton", "rpm"],
"packageRules": [
{
"matchManagers": ["dockerfile"],
"matchBaseBranches": ["main"],
"matchUpdateTypes": ["digest"],
"matchFileNames": ["Dockerfile"],
"enabled": true,
"ignoreTests": true,
"automergeType": "pr",
"automerge": false,
"groupName": "Dockerfile Digest Updates",
"branchPrefix": "renovate/docker-main/",
"semanticCommits": "enabled"
},
{
"matchManagers": ["tekton"],
"matchBaseBranches": ["main"],
"matchUpdateTypes": ["digest"],
"enabled": true,
"groupName": "Tekton Updates",
"branchPrefix": "renovate/tekton-main/",
"semanticCommits": "enabled",
"prFooter": "To execute skipped test pipelines write comment `/ok-to-test`",
"matchPackageNames": [
"/^quay.io/redhat-appstudio-tekton-catalog//",
"/^quay.io/konflux-ci/tekton-catalog//"
]
},
{
"matchManagers": ["rpm"],
"matchBaseBranches": ["main"],
"groupName": "RPM Updates",
"commitMessageTopic": "RPM updates",
"enabled": true,
"schedule": ["at any time"],
"branchPrefix": "renovate/rpm/",
"semanticCommits": "enabled"
}
],
"dockerfile": {
"enabled": true,
"schedule": ["at any time"],
"additionalBranchPrefix": "{{baseBranch}}/",
"branchPrefix": "konflux/mintmaker/",
"ignoreTests": true,
"automergeType": "pr",
"automerge": false,
"packageRules": [
{
"matchUpdateTypes": [
"major",
"minor",
"pin",
"pinDigest",
"patch",
"bump"
],
"enabled": false
}
],
"pinDigests": true
},
"tekton": {
"enabled": true,
"schedule": ["at any time"],
"fileMatch": ["\\.yaml$", "\\.yml$"],
"includePaths": [".tekton/**"],
"packageRules": [
{
"matchUpdateTypes": [
"major",
"minor",
"pin",
"pinDigest",
"patch",
"bump"
],
"enabled": false
},
{
"matchUpdateTypes": ["digest"],
"enabled": true,
"groupName": "Konflux references",
"branchPrefix": "konflux/references/",
"semanticCommits": "enabled",
"prFooter": "To execute skipped test pipelines write comment `/ok-to-test`",
"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}}}{{{controls}}}{{{footer}}}",
"recreateWhen": "always",
"rebaseWhen": "behind-base-branch",
"matchPackageNames": [
"/^quay.io/redhat-appstudio-tekton-catalog//",
"/^quay.io/konflux-ci/tekton-catalog//"
]
}
]
},
"rpm": {
"enabled": true,
"schedule": ["at any time"]
},
"prHourlyLimit": 0
}

0 comments on commit 83ef2ce

Please sign in to comment.