From 566dcf189595fbbf42035b0db55a95e19bd98398 Mon Sep 17 00:00:00 2001 From: "cilium-renovate[bot]" <134692979+cilium-renovate[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 10:49:37 +0000 Subject: [PATCH] chore(deps): update go to v1.24.0 Signed-off-by: cilium-renovate[bot] <134692979+cilium-renovate[bot]@users.noreply.github.com> --- .github/workflows/bpf-unit-tests.yml | 2 +- .github/workflows/build-clang-image.yaml | 2 +- .github/workflows/build-images-ci.yml | 2 +- .github/workflows/build-images-releases.yml | 2 +- .github/workflows/build-rthooks-images-releases.yml | 2 +- .github/workflows/generated-files.yaml | 2 +- .github/workflows/gotests.yml | 2 +- .github/workflows/lint-codeql.yml | 2 +- .github/workflows/podinfo-test.yaml | 2 +- .github/workflows/run-e2e-tests.yaml | 2 +- .github/workflows/static-checks.yaml | 8 ++++---- .github/workflows/tetragon-rthook-pr.yaml | 2 +- .github/workflows/vmtests.yml | 2 +- Dockerfile | 4 ++-- Dockerfile.dev | 2 +- Dockerfile.operator | 2 +- Dockerfile.rthooks | 2 +- Dockerfile.test | 2 +- Makefile.cli | 2 +- api/go.mod | 4 +--- api/vendor/modules.txt | 2 +- cmd/tetragon-metrics-docs/metricsmd/metricsmd.go | 4 ++-- contrib/tetragon-rthooks/go.mod | 4 +--- contrib/tetragon-rthooks/vendor/modules.txt | 2 +- docs/content/en/docs/reference/metrics.md | 4 ++-- go.mod | 4 +--- pkg/k8s/Makefile | 2 +- pkg/k8s/go.mod | 4 +--- vendor/modules.txt | 4 ++-- 29 files changed, 36 insertions(+), 44 deletions(-) diff --git a/.github/workflows/bpf-unit-tests.yml b/.github/workflows/bpf-unit-tests.yml index 1cf127dca2f..d0c713fe1da 100644 --- a/.github/workflows/bpf-unit-tests.yml +++ b/.github/workflows/bpf-unit-tests.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install LLVM run: | diff --git a/.github/workflows/build-clang-image.yaml b/.github/workflows/build-clang-image.yaml index 0b178723b12..df3cbddb018 100644 --- a/.github/workflows/build-clang-image.yaml +++ b/.github/workflows/build-clang-image.yaml @@ -121,7 +121,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install Bom shell: bash diff --git a/.github/workflows/build-images-ci.yml b/.github/workflows/build-images-ci.yml index 5ebdc6ff7b1..854312341b9 100644 --- a/.github/workflows/build-images-ci.yml +++ b/.github/workflows/build-images-ci.yml @@ -70,7 +70,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' # Warning: this must run before checking out the untrusted code - name: Get version diff --git a/.github/workflows/build-images-releases.yml b/.github/workflows/build-images-releases.yml index 19d76ef40c6..1510fc3e34f 100644 --- a/.github/workflows/build-images-releases.yml +++ b/.github/workflows/build-images-releases.yml @@ -91,7 +91,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install Bom if: ${{ startsWith(steps.tag.outputs.tag, 'v') }} diff --git a/.github/workflows/build-rthooks-images-releases.yml b/.github/workflows/build-rthooks-images-releases.yml index 583c234b6cf..e04d1936baa 100644 --- a/.github/workflows/build-rthooks-images-releases.yml +++ b/.github/workflows/build-rthooks-images-releases.yml @@ -81,7 +81,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install Bom if: ${{ startsWith(steps.tag.outputs.tag, 'v') }} diff --git a/.github/workflows/generated-files.yaml b/.github/workflows/generated-files.yaml index 754d0ca36b0..bb722b529ba 100644 --- a/.github/workflows/generated-files.yaml +++ b/.github/workflows/generated-files.yaml @@ -37,7 +37,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: "1.23.5" + go-version: "1.24.0" - name: Go version run: go version - name: Validate that generated files are up to date. diff --git a/.github/workflows/gotests.yml b/.github/workflows/gotests.yml index ebc2e4d7d31..5f6977e5ae7 100644 --- a/.github/workflows/gotests.yml +++ b/.github/workflows/gotests.yml @@ -26,7 +26,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install dependencies run: | diff --git a/.github/workflows/lint-codeql.yml b/.github/workflows/lint-codeql.yml index 4bb5008e9e7..e9d6ac94d85 100644 --- a/.github/workflows/lint-codeql.yml +++ b/.github/workflows/lint-codeql.yml @@ -58,7 +58,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Initialize CodeQL uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 with: diff --git a/.github/workflows/podinfo-test.yaml b/.github/workflows/podinfo-test.yaml index 0b89d64c478..edc3757257a 100644 --- a/.github/workflows/podinfo-test.yaml +++ b/.github/workflows/podinfo-test.yaml @@ -39,7 +39,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install Kind and create cluster uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 diff --git a/.github/workflows/run-e2e-tests.yaml b/.github/workflows/run-e2e-tests.yaml index b9954072ca8..85f33046a8f 100644 --- a/.github/workflows/run-e2e-tests.yaml +++ b/.github/workflows/run-e2e-tests.yaml @@ -87,7 +87,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install kubectl, kind and cilium CLI uses: alexellis/arkade-get@master diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 5325acdc677..739440e93e7 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Check if build works for every commit run: | @@ -66,7 +66,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' # using golangci-lint cache instead cache: false @@ -87,7 +87,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Check gofmt formatting run: | @@ -116,7 +116,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Check module vendoring run: | diff --git a/.github/workflows/tetragon-rthook-pr.yaml b/.github/workflows/tetragon-rthook-pr.yaml index ae35b0b1183..98a2b62a3c6 100644 --- a/.github/workflows/tetragon-rthook-pr.yaml +++ b/.github/workflows/tetragon-rthook-pr.yaml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Build env: diff --git a/.github/workflows/vmtests.yml b/.github/workflows/vmtests.yml index 7240a988ab8..9e987685fab 100644 --- a/.github/workflows/vmtests.yml +++ b/.github/workflows/vmtests.yml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 with: # renovate: datasource=golang-version depName=go - go-version: '1.23.5' + go-version: '1.24.0' - name: Install build dependencies run: | diff --git a/Dockerfile b/Dockerfile index a7c12cf07e2..60d9057b72e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,14 +18,14 @@ ARG TARGETARCH RUN make tetragon-bpf LOCAL_CLANG=1 TARGET_ARCH=$TARGETARCH # Second builder (cross-)compile tetragon and tetra -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 AS tetragon-builder +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da AS tetragon-builder WORKDIR /go/src/github.com/cilium/tetragon ARG TETRAGON_VERSION TARGETARCH COPY . . RUN make VERSION=$TETRAGON_VERSION TARGET_ARCH=$TARGETARCH tetragon tetra tetragon-oci-hook tetragon-oci-hook-setup # Third builder (cross-)compile a stripped gops -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596 AS gops +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.24.0-alpine@sha256:2d40d4fc278dad38be0777d5e2a88a2c6dee51b0b29c97a764fc6c6a11ca893c AS gops ARG TARGETARCH RUN apk add --no-cache git \ # renovate: datasource=github-releases depName=google/gops diff --git a/Dockerfile.dev b/Dockerfile.dev index e73602a1815..b1274d3bae8 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -9,7 +9,7 @@ FROM quay.io/cilium/cilium-bpftool@sha256:1832b32d118e7006ea2ce530b14ae5b28acd55 COPY . ./ -FROM docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +FROM docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da RUN apt-get update -y && \ apt-get upgrade -y && \ apt-get install -y \ diff --git a/Dockerfile.operator b/Dockerfile.operator index be7fee1a172..d41ee01dd39 100644 --- a/Dockerfile.operator +++ b/Dockerfile.operator @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=scratch -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da ARG ALPINE_IMAGE=docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c # BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit. diff --git a/Dockerfile.rthooks b/Dockerfile.rthooks index 8613a7ac83c..107156f90b4 100644 --- a/Dockerfile.rthooks +++ b/Dockerfile.rthooks @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 -ARG GOLANG_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +ARG GOLANG_IMAGE=docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da ARG BASE_IMAGE=docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c # BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit. diff --git a/Dockerfile.test b/Dockerfile.test index bdbdddb99ed..d1e6d4d2ab7 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -11,7 +11,7 @@ RUN apt-get install -y linux-libc-dev COPY . ./ RUN make tetragon-bpf && pwd -FROM docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +FROM docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da RUN apt-get update RUN apt-get install -y linux-libc-dev rpm2cpio cpio git flex bison autoconf libelf-dev bc netcat-traditional WORKDIR /go/src/github.com/cilium/tetragon diff --git a/Makefile.cli b/Makefile.cli index 5bbd12a56ee..9f0d8bfb0ed 100644 --- a/Makefile.cli +++ b/Makefile.cli @@ -3,7 +3,7 @@ CLI_GO_BUILD = CGO_ENABLED=0 $(GO) build # renovate: datasource=docker -GO_IMAGE = docker.io/library/golang:1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596 +GO_IMAGE = docker.io/library/golang:1.24.0-alpine@sha256:2d40d4fc278dad38be0777d5e2a88a2c6dee51b0b29c97a764fc6c6a11ca893c TARGET=tetra RELEASE_UID ?= $(shell id -u) diff --git a/api/go.mod b/api/go.mod index 8948b6e5128..3c2b796ec43 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,9 +1,7 @@ module github.com/cilium/tetragon/api // renovate: datasource=golang-version depName=go -go 1.23.0 - -toolchain go1.23.1 +go 1.24.0 require ( github.com/cilium/tetragon v0.0.0-00010101000000-000000000000 diff --git a/api/vendor/modules.txt b/api/vendor/modules.txt index dc7412cf91f..b93aec0bfb8 100644 --- a/api/vendor/modules.txt +++ b/api/vendor/modules.txt @@ -1,5 +1,5 @@ # github.com/cilium/tetragon v0.0.0-00010101000000-000000000000 => ../ -## explicit; go 1.23.0 +## explicit; go 1.24.0 github.com/cilium/tetragon/pkg/matchers/bytesmatcher github.com/cilium/tetragon/pkg/matchers/listmatcher github.com/cilium/tetragon/pkg/matchers/stringmatcher diff --git a/cmd/tetragon-metrics-docs/metricsmd/metricsmd.go b/cmd/tetragon-metrics-docs/metricsmd/metricsmd.go index bbb675e3322..328178fb2d8 100644 --- a/cmd/tetragon-metrics-docs/metricsmd/metricsmd.go +++ b/cmd/tetragon-metrics-docs/metricsmd/metricsmd.go @@ -23,7 +23,7 @@ func New(targets map[string]string, init initMetricsFunc) *cobra.Command { { Label: "version", // renovate: datasource=golang-version - Values: []string{"go1.22.0"}, + Values: []string{"go1.24.0"}, }, }, }, @@ -37,7 +37,7 @@ func New(targets map[string]string, init initMetricsFunc) *cobra.Command { { Label: "go_version", // renovate: datasource=golang-version - Values: []string{"go1.22.0"}, + Values: []string{"go1.24.0"}, }, { Label: "modified", diff --git a/contrib/tetragon-rthooks/go.mod b/contrib/tetragon-rthooks/go.mod index 5298d5fd237..0816b777ec1 100644 --- a/contrib/tetragon-rthooks/go.mod +++ b/contrib/tetragon-rthooks/go.mod @@ -1,9 +1,7 @@ module github.com/cilium/tetragon/contrib/rthooks/tetragon-oci-hook // renovate: datasource=golang-version depName=go -go 1.23.0 - -toolchain go1.23.1 +go 1.24.0 require ( github.com/alecthomas/kong v1.8.1 diff --git a/contrib/tetragon-rthooks/vendor/modules.txt b/contrib/tetragon-rthooks/vendor/modules.txt index de8f456f53c..b530ff20338 100644 --- a/contrib/tetragon-rthooks/vendor/modules.txt +++ b/contrib/tetragon-rthooks/vendor/modules.txt @@ -14,7 +14,7 @@ github.com/antlr4-go/antlr/v4 ## explicit; go 1.13 github.com/cilium/lumberjack/v2 # github.com/cilium/tetragon/api v0.0.0-00010101000000-000000000000 => ../../api -## explicit; go 1.23.0 +## explicit; go 1.24.0 github.com/cilium/tetragon/api/v1/tetragon # github.com/containerd/containerd v1.7.25 ## explicit; go 1.21 diff --git a/docs/content/en/docs/reference/metrics.md b/docs/content/en/docs/reference/metrics.md index df6e2d8fa1f..5b2b25e9b24 100644 --- a/docs/content/en/docs/reference/metrics.md +++ b/docs/content/en/docs/reference/metrics.md @@ -25,7 +25,7 @@ Build information about tetragon | label | values | | ----- | ------ | | `commit` | `931b70f2c9878ba985ba6b589827bea17da6ec33` | -| `go_version` | `go1.22.0` | +| `go_version` | `go1.24.0` | | `modified` | `false` | | `time ` | `2022-05-13T15:54:45Z` | | `version` | `v1.2.0` | @@ -400,7 +400,7 @@ Information about the Go environment. | label | values | | ----- | ------ | -| `version` | `go1.22.0` | +| `version` | `go1.24.0` | ### `go_memstats_alloc_bytes` diff --git a/go.mod b/go.mod index 755e6fcb9b3..a26989bf971 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,7 @@ module github.com/cilium/tetragon // renovate: datasource=golang-version depName=go -go 1.23.0 - -toolchain go1.23.1 +go 1.24.0 require ( github.com/alecthomas/kong v1.8.1 diff --git a/pkg/k8s/Makefile b/pkg/k8s/Makefile index fad12f7dc2b..111ccfbfe4c 100644 --- a/pkg/k8s/Makefile +++ b/pkg/k8s/Makefile @@ -1,5 +1,5 @@ # renovate: datasource=docker -BUILDER_IMAGE=docker.io/library/golang:1.23.5@sha256:51a6466e8dbf3e00e422eb0f7a97ac450b2d57b33617bbe8d2ee0bddcd9d0d37 +BUILDER_IMAGE=docker.io/library/golang:1.24.0@sha256:2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da GO ?= go all: generate diff --git a/pkg/k8s/go.mod b/pkg/k8s/go.mod index 7686e23f159..949ad3adea5 100644 --- a/pkg/k8s/go.mod +++ b/pkg/k8s/go.mod @@ -1,9 +1,7 @@ module github.com/cilium/tetragon/pkg/k8s // renovate: datasource=golang-version depName=go -go 1.23.0 - -toolchain go1.23.1 +go 1.24.0 require ( github.com/blang/semver/v4 v4.0.0 diff --git a/vendor/modules.txt b/vendor/modules.txt index 422d96f0e6b..b29dd9f6ed0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -96,13 +96,13 @@ github.com/cilium/little-vm-helper/pkg/step ## explicit; go 1.13 github.com/cilium/lumberjack/v2 # github.com/cilium/tetragon/api v0.0.0-00010101000000-000000000000 => ./api -## explicit; go 1.23.0 +## explicit; go 1.24.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.23.0 +## explicit; go 1.24.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