Skip to content

Commit

Permalink
renovate: clean up configuration
Browse files Browse the repository at this point in the history
The only direct dependency in go.mod is github.com/cilium/cilium which
is updated manually before release (see
#2951).

The Go version in go.mod is already excluded from being updated by
renovate and because there are no other modules to update anymore we can
omit go.mod from being updated by renovate altogether.

Also remove some leftover configuration that no longer applies as a
result of the merge of cilium-cli into github.com/cilium/cilium.

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Feb 26, 2025
1 parent 85f9c73 commit 074d876
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
34 changes: 0 additions & 34 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,9 @@
includePaths: [
'.github/workflows/**',
'action.yaml',
'defaults/defaults.go',
'go.mod',
'go.sum',
'Dockerfile',
'Makefile',
],
postUpdateOptions: [
'gomodTidy',
],
pinDigests: true,
ignorePresets: [
':prHourlyLimit2',
Expand Down Expand Up @@ -57,25 +51,6 @@
'pinDigest',
],
},
{
// Avoid updating patch releases of golang in go.mod
enabled: 'false',
matchFileNames: [
'go.mod',
],
matchDepNames: [
'go',
],
matchDatasources: [
'golang-version',
],
matchUpdateTypes: [
'patch',
],
matchBaseBranches: [
'main',
],
},
{
// Images that directly use docker.io/library/golang for building.
groupName: 'golang-images',
Expand Down Expand Up @@ -139,14 +114,5 @@
'# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.+_VERSION = (?<currentValue>.*)\\s+.+_SHA = (?<currentDigest>sha256:[a-f0-9]+)',
],
},
{
customType: 'regex',
fileMatch: [
'^go\\.mod$',
],
matchStrings: [
'// renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+go (?<currentValue>.*)',
],
},
],
}
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module github.com/cilium/cilium-cli

// renovate: datasource=golang-version depName=go
go 1.23.0

// Replace directives from github.com/cilium/cilium. Keep in sync when updating Cilium!
Expand Down

0 comments on commit 074d876

Please sign in to comment.