Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid requiring the latest Go toolchain patch version to build #1748

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,30 @@
]
},
// ignore deps section
{
// Avoid updating patch releases of golang in go.mod
"enabled": false,
// could use "**/go.mod" but /docs has a go.mod
"matchFileNames": [
"go.mod",
"api/go.mod",
"pkg/k8s/go.mod",
"contrib/rthooks/tetragon-oci-hook/go.mod",
],
"matchDepNames": [
"go"
],
"matchDatasources": [
"golang-version"
],
"matchUpdateTypes": [
"patch"
],
matchBaseBranches: [
"main",
"v1.0"
]
},
{
// do not allow any updates for major.minor for LVH, they will be done by maintainers
"enabled": false,
Expand Down
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/cilium/tetragon/api

// renovate: datasource=golang-version depName=go
go 1.21.4
go 1.21.0

require (
github.com/cilium/tetragon v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion api/vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# github.com/cilium/tetragon v0.0.0-00010101000000-000000000000 => ../
## explicit; go 1.21.4
## explicit; go 1.21.0
github.com/cilium/tetragon/pkg/matchers/bytesmatcher
github.com/cilium/tetragon/pkg/matchers/listmatcher
github.com/cilium/tetragon/pkg/matchers/stringmatcher
Expand Down
2 changes: 1 addition & 1 deletion contrib/rthooks/tetragon-oci-hook/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/cilium/tetragon/contrib/rthooks/tetragon-oci-hook

// renovate: datasource=golang-version depName=go
go 1.21.4
go 1.21.0

require (
github.com/cilium/lumberjack/v2 v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion contrib/rthooks/tetragon-oci-hook/vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ github.com/cilium/ebpf/link
## explicit; go 1.13
github.com/cilium/lumberjack/v2
# github.com/cilium/tetragon/api v0.0.0-00010101000000-000000000000 => ../../../api
## explicit; go 1.21.4
## explicit; go 1.21.0
github.com/cilium/tetragon/api/v1/tetragon
# github.com/coreos/go-systemd/v22 v22.3.2
## explicit; go 1.12
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/cilium/tetragon

// renovate: datasource=golang-version depName=go
go 1.21.4
go 1.21.0

require (
github.com/bombsimon/logrusr/v4 v4.1.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/cilium/tetragon/pkg/k8s

// renovate: datasource=golang-version depName=go
go 1.21.4
go 1.21.0

require (
github.com/blang/semver/v4 v4.0.0
Expand Down
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,13 @@ github.com/cilium/proxy/go/envoy/type/tracing/v3
github.com/cilium/proxy/go/envoy/type/v3
github.com/cilium/proxy/pkg/policy/api/kafka
# github.com/cilium/tetragon/api v0.0.0-00010101000000-000000000000 => ./api
## explicit; go 1.21.4
## explicit; go 1.21.0
github.com/cilium/tetragon/api/v1/tetragon
github.com/cilium/tetragon/api/v1/tetragon/codegen/eventchecker
github.com/cilium/tetragon/api/v1/tetragon/codegen/eventchecker/yaml
github.com/cilium/tetragon/api/v1/tetragon/codegen/helpers
# github.com/cilium/tetragon/pkg/k8s v0.0.0-00010101000000-000000000000 => ./pkg/k8s
## explicit; go 1.21.4
## explicit; go 1.21.0
github.com/cilium/tetragon/pkg/k8s/apis/cilium.io
github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client
github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1
Expand Down
Loading