From b0cab3e38dedfa211af247a4f601124e06b9089a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 05:58:52 +0000 Subject: [PATCH] chore(deps): update go to v1.21.9 Signed-off-by: cilium-renovate[bot] <134692979+cilium-renovate[bot]@users.noreply.github.com> --- .github/renovate.json5 | 2 +- .github/workflows/generated-files.yaml | 2 +- .github/workflows/gotests.yml | 2 +- .github/workflows/podinfo-test.yaml | 2 +- .github/workflows/run-e2e-tests.yaml | 2 +- .github/workflows/static-checks.yaml | 6 +++--- .github/workflows/vmtests.yml | 2 +- Dockerfile | 4 ++-- Dockerfile.dev | 2 +- Dockerfile.operator | 2 +- Dockerfile.test | 2 +- Makefile.cli | 2 +- api/go.mod | 2 +- api/vendor/modules.txt | 2 +- go.mod | 2 +- pkg/k8s/go.mod | 2 +- vendor/modules.txt | 2 +- 17 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 13b46310526..ac7ace6ee5b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -247,7 +247,7 @@ // cases it might not be preinstalled, see: // https://github.com/renovatebot/renovate/discussions/23485 // renovate: datasource=golang-version depName=go - "commands": ["install-tool golang 1.21.1", "go mod vendor"], + "commands": ["install-tool golang 1.21.9", "go mod vendor"], "fileFilters": ["**/**"], "executionMode": "branch" }, diff --git a/.github/workflows/generated-files.yaml b/.github/workflows/generated-files.yaml index 99a1d280f68..4cc89d2ec2f 100644 --- a/.github/workflows/generated-files.yaml +++ b/.github/workflows/generated-files.yaml @@ -19,7 +19,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Validate that generated files are up to date. run: | make generate diff --git a/.github/workflows/gotests.yml b/.github/workflows/gotests.yml index b5ff5a8f9d7..82501b4b924 100644 --- a/.github/workflows/gotests.yml +++ b/.github/workflows/gotests.yml @@ -26,7 +26,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Install dependencies run: | diff --git a/.github/workflows/podinfo-test.yaml b/.github/workflows/podinfo-test.yaml index 4576256c5b3..d5ec0a8a3bd 100644 --- a/.github/workflows/podinfo-test.yaml +++ b/.github/workflows/podinfo-test.yaml @@ -39,7 +39,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Install Kind and create cluster uses: helm/kind-action@v1.5.0 diff --git a/.github/workflows/run-e2e-tests.yaml b/.github/workflows/run-e2e-tests.yaml index 7163a3e1474..9a9f095662a 100644 --- a/.github/workflows/run-e2e-tests.yaml +++ b/.github/workflows/run-e2e-tests.yaml @@ -34,7 +34,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Set Up Job Variables id: vars diff --git a/.github/workflows/static-checks.yaml b/.github/workflows/static-checks.yaml index 0ff720afd75..23a33cdab8c 100644 --- a/.github/workflows/static-checks.yaml +++ b/.github/workflows/static-checks.yaml @@ -27,7 +27,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' # using golangci-lint cache instead cache: false @@ -48,7 +48,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Check gofmt formatting run: | @@ -78,7 +78,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Check module vendoring run: | diff --git a/.github/workflows/vmtests.yml b/.github/workflows/vmtests.yml index b25610ea4bf..b8255e68821 100644 --- a/.github/workflows/vmtests.yml +++ b/.github/workflows/vmtests.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 with: # renovate: datasource=golang-version depName=go - go-version: '1.21.1' + go-version: '1.21.9' - name: Checkout code uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 diff --git a/Dockerfile b/Dockerfile index dfa5fdc9f42..2678ccd1291 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN make tetragon-bpf LOCAL_CLANG=1 TARGET_ARCH=$TARGETARCH # Second builder (cross-)compile: # - tetragon (pkg/bpf uses CGO, so a gcc cross compiler is needed) # - tetra -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.1@sha256:19600fdcae402165dcdab18cb9649540bde6be7274dedb5d205b2f84029fe909 as tetragon-builder +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.9@sha256:7d0dcbe5807b1ad7272a598fbf9d7af15b5e2bed4fd6c4c2b5b3684df0b317dd as tetragon-builder WORKDIR /go/src/github.com/cilium/tetragon ARG TETRAGON_VERSION TARGETARCH BUILDARCH RUN apt-get update @@ -33,7 +33,7 @@ RUN if [ $BUILDARCH != $TARGETARCH ]; \ else make tetragon-image LOCAL_CLANG=1 VERSION=$TETRAGON_VERSION TARGET_ARCH=$TARGETARCH; fi # Third builder (cross-)compile a stripped gops -FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.1-alpine@sha256:ec31b7fbaf32583af4f4f8c9e0cabc651247624bf962adbb7fa1b54c9c03d5e4 as gops +FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21.9-alpine@sha256:ed8ce6c22dd111631c062218989d17ab4b46b503cbe9a9cfce1517836e65298a as gops ARG TARGETARCH RUN apk add --no-cache binutils git \ && git clone https://github.com/google/gops /go/src/github.com/google/gops \ diff --git a/Dockerfile.dev b/Dockerfile.dev index 40fe5dd1f2b..f954f421d4f 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.21.1@sha256:19600fdcae402165dcdab18cb9649540bde6be7274dedb5d205b2f84029fe909 +FROM docker.io/library/golang:1.21.9@sha256:7d0dcbe5807b1ad7272a598fbf9d7af15b5e2bed4fd6c4c2b5b3684df0b317dd RUN apt-get update -y && \ apt-get upgrade -y && \ apt-get install -y \ diff --git a/Dockerfile.operator b/Dockerfile.operator index 7ff94e21915..11461393ddd 100644 --- a/Dockerfile.operator +++ b/Dockerfile.operator @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=scratch -ARG GOLANG_IMAGE=docker.io/library/golang:1.21.1@sha256:19600fdcae402165dcdab18cb9649540bde6be7274dedb5d205b2f84029fe909 +ARG GOLANG_IMAGE=docker.io/library/golang:1.21.9@sha256:7d0dcbe5807b1ad7272a598fbf9d7af15b5e2bed4fd6c4c2b5b3684df0b317dd ARG ALPINE_IMAGE=docker.io/library/alpine:3.18.3@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a # BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit. diff --git a/Dockerfile.test b/Dockerfile.test index 813356a88e8..b9a4cfcabb9 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.21.1@sha256:19600fdcae402165dcdab18cb9649540bde6be7274dedb5d205b2f84029fe909 +FROM docker.io/library/golang:1.21.9@sha256:7d0dcbe5807b1ad7272a598fbf9d7af15b5e2bed4fd6c4c2b5b3684df0b317dd 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 36a2565edfc..bce8137ffee 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.21.1-alpine +GO_IMAGE = docker.io/library/golang:1.21.9-alpine TARGET=tetra RELEASE_UID ?= $(shell id -u) diff --git a/api/go.mod b/api/go.mod index a156debb77f..df0255d704f 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,6 +1,6 @@ module github.com/cilium/tetragon/api -go 1.21 +go 1.21.9 require ( github.com/cilium/tetragon v0.0.0-00010101000000-000000000000 diff --git a/api/vendor/modules.txt b/api/vendor/modules.txt index 877041ca141..ac171cdfdb9 100644 --- a/api/vendor/modules.txt +++ b/api/vendor/modules.txt @@ -1,5 +1,5 @@ # github.com/cilium/tetragon v0.0.0-00010101000000-000000000000 => ../../tetragon -## explicit; go 1.21 +## explicit; go 1.21.9 github.com/cilium/tetragon/pkg/matchers/bytesmatcher github.com/cilium/tetragon/pkg/matchers/listmatcher github.com/cilium/tetragon/pkg/matchers/stringmatcher diff --git a/go.mod b/go.mod index 48b2f9bfa64..9030cbf172b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cilium/tetragon -go 1.21 +go 1.21.9 require ( github.com/bombsimon/logrusr/v4 v4.0.0 diff --git a/pkg/k8s/go.mod b/pkg/k8s/go.mod index 1f31009c0f2..e660b8286da 100644 --- a/pkg/k8s/go.mod +++ b/pkg/k8s/go.mod @@ -1,6 +1,6 @@ module github.com/cilium/tetragon/pkg/k8s -go 1.21 +go 1.21.9 require ( github.com/blang/semver/v4 v4.0.0 diff --git a/vendor/modules.txt b/vendor/modules.txt index 4ca6c7f85d2..50c70e48b95 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -225,7 +225,7 @@ 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 +## explicit; go 1.21.9 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