Skip to content

Commit 4b2d802

Browse files
committed
renovate: try to group dependency updates
Don't separate updates and remove grouping for golang-images. This should hopefully lead to a single PR per Go update (as was the intention in commit fd4c98b ("Makefile: fix renovate depname for GO_IMAGE_* updates"). Also revert the referenced commit since it caused the Go version in the Makefile no longer being updated: Renovate failed to look up the following dependencies: Failed to look up docker package go. Files affected: Makefile It should now be covered by to Go group. Signed-off-by: Tobias Klauser <tobias@cilium.io>
1 parent fd9c317 commit 4b2d802

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/renovate.json5

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
ignorePresets: [
1919
':prHourlyLimit2',
2020
],
21-
separateMajorMinor: true,
21+
// We don't want to separate major and minor upgrades in separate PRs since
22+
// we can upgrade them together in a single PR.
23+
separateMajorMinor: false,
24+
// We don't want to separate minor patch upgrades in separate PRs since
25+
// we can upgrade them together in a single PR.
26+
separateMinorPatch: false,
2227
separateMultipleMajor: true,
23-
separateMinorPatch: true,
2428
pruneStaleBranches: true,
2529
baseBranches: [
2630
'main',
@@ -51,14 +55,6 @@
5155
'pinDigest',
5256
],
5357
},
54-
{
55-
// Images that directly use docker.io/library/golang for building.
56-
groupName: 'golang-images',
57-
matchFileNames: [
58-
'Dockerfile',
59-
'Makefile',
60-
],
61-
},
6258
{
6359
groupName: 'Go',
6460
matchDepNames: [

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ TEST_TIMEOUT ?= 5s
1919
RELEASE_UID ?= $(shell id -u)
2020
RELEASE_GID ?= $(shell id -g)
2121

22-
# renovate: datasource=docker depName=go
22+
# renovate: datasource=docker depName=golang
2323
GO_IMAGE_VERSION = 1.25.3-alpine3.21
2424
GO_IMAGE_SHA = sha256:0c9f3e09a50a6c11714dbc37a6134fd0c474690030ed07d23a61755afd3a812f
2525

0 commit comments

Comments
 (0)