Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
chore(renovate): polish kubectl
Browse files Browse the repository at this point in the history
Try to override depName label for kubectl. As we use kubernetes as source to detect version, we need to rename it.
  • Loading branch information
o-orand committed Dec 27, 2023
1 parent d19878b commit 29fa8d7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@
'k3s-io/k3s',
],
separateMinorPatch: true,
versioning: "semver"
// separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective
versioning: "semver",
//separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective
},
{
description: "Add common labels",
matchDepPatterns: ["*"],
addLabels: [
// See full list of fields available at https://docs.renovatebot.com/templates/#other-available-fields
Expand All @@ -50,6 +51,17 @@
"target/{{baseBranch}}", // To easily filter PR on base branch, like all PR related to k3s 1.25
]
},
{
description: 'Kubectl: Get distinct branches for each minor, e.g. 1.22.x and 1.23.x. See https://docs.renovatebot.com/presets-default/#separatepatchreleases and https://docs.renovatebot.com/faq/#separate-patch-releases-from-minor-releases',
matchPackageNames: [
'kubernetes/kubernetes',
],
separateMinorPatch: true,
addLabels: [
"depName/kubernetes-kubectl", //override common labels for kubectl, as we have to scan kubernetes releases
]
//separateMultipleMinor: true, // Pending merge of https://github.com/renovatebot/renovate/pull/24538 to be effective
}
],
regexManagers: [
{
Expand Down

0 comments on commit 29fa8d7

Please sign in to comment.