Skip to content

Commit

Permalink
Keep comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robinschneider committed Oct 31, 2024
1 parent 026bfdb commit 6f24c9c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
],
matchStrings: [
'defaultFluxVersion = "(?<currentValue>v[0-9.]+)"',
// this matches any comment block that has 'renovate:flux-version', then
// any number of empty or comment lines, and then a substring that
// matches e.g. "Defaults to "v1.0.0".
'renovate:flux-version\\n(?:\\s*(?:\\/\\/).*\n)*.*Defaults to "(?<currentValue>v[0-9.]+)"',
// this matches any comment block that has 'renovate:flux-version', then
// any number of empty or comment lines, and then a substring that
// matches e.g. "version: v1.0.0".
'renovate:flux-version\\n(?:\\s*(?:#).*\n)*.*version: (?<currentValue>v[0-9.]+)\\s',
],
depNameTemplate: 'github.com/fluxcd/flux2/v2',
Expand Down Expand Up @@ -53,12 +59,14 @@
automerge: true,
},
{
// bump k8s, controller-runtime, and gardener go dependencies together
groupName: 'k8s and gardener packages',
groupSlug: 'k8s-gardener-go',
matchDatasources: [
'go',
],
matchPackageNames: [
// from "group:kubernetes"
'k8s.io/api{/,}**',
'k8s.io/apiextensions-apiserver{/,}**',
'k8s.io/apimachinery{/,}**',
Expand All @@ -85,11 +93,14 @@
'k8s.io/sample-apiserver{/,}**',
'k8s.io/sample-cli-plugin{/,}**',
'k8s.io/sample-controller{/,}**',
// added packages
'github.com/gardener/gardener{/,}**',
'sigs.k8s.io/controller-runtime{/,}**',
],
},
{
// we need to bump k8s and controller-runtime minor versions together with gardener
// disable minor version bumps for k8s and controller-runtime
matchDatasources: [
'go',
],
Expand All @@ -98,6 +109,7 @@
],
enabled: false,
matchPackageNames: [
// from "group:kubernetes"
'k8s.io/api{/,}**',
'k8s.io/apiextensions-apiserver{/,}**',
'k8s.io/apimachinery{/,}**',
Expand All @@ -124,6 +136,7 @@
'k8s.io/sample-apiserver{/,}**',
'k8s.io/sample-cli-plugin{/,}**',
'k8s.io/sample-controller{/,}**',
// added packages
'sigs.k8s.io/controller-runtime{/,}**',
],
},
Expand Down

0 comments on commit 6f24c9c

Please sign in to comment.