From 47c36d28bf98321069e0532e23522fad0ed83f6f Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Tue, 16 Jul 2024 14:00:42 -0400 Subject: [PATCH] Upgrade go version everywhere Signed-off-by: Matt Lord --- .buildkite/pipeline.yml | 18 +++++++++--------- .github/workflows/integration-test.yaml | 2 +- .github/workflows/make-generate-and-diff.yaml | 2 +- .github/workflows/unit-test.yaml | 2 +- .../workflows/upgrade-vitess-dependency.yaml | 2 +- build/Dockerfile.release | 2 +- go.mod | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ade86458..79179bcb 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -7,10 +7,10 @@ steps: - name: "Upgrade Test" command: - apk add g++ make bash gcompat curl mysql mysql-client libc6-compat - - wget https://golang.org/dl/go1.20.2.linux-amd64.tar.gz - - tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz + - wget https://golang.org/dl/go1.21.10.linux-amd64.tar.gz + - tar -C /usr/local -xzf go1.21.10.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin - - rm go1.20.2.linux-amd64.tar.gz + - rm go1.21.10.linux-amd64.tar.gz - ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 - make upgrade-test concurrency: 1 @@ -26,10 +26,10 @@ steps: - name: "Backup Restore Test" command: - apk add g++ make bash gcompat curl mysql mysql-client libc6-compat - - wget https://golang.org/dl/go1.20.2.linux-amd64.tar.gz - - tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz + - wget https://golang.org/dl/go1.21.10.linux-amd64.tar.gz + - tar -C /usr/local -xzf go1.21.10.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin - - rm go1.20.2.linux-amd64.tar.gz + - rm go1.21.10.linux-amd64.tar.gz - ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 - make backup-restore-test concurrency: 1 @@ -45,10 +45,10 @@ steps: - name: "VTOrc and VTAdmin Test" command: - apk add g++ make bash gcompat curl mysql mysql-client libc6-compat chromium - - wget https://golang.org/dl/go1.20.2.linux-amd64.tar.gz - - tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz + - wget https://golang.org/dl/go1.21.10.linux-amd64.tar.gz + - tar -C /usr/local -xzf go1.21.10.linux-amd64.tar.gz - export PATH=$PATH:/usr/local/go/bin - - rm go1.20.2.linux-amd64.tar.gz + - rm go1.21.10.linux-amd64.tar.gz - ln -s /lib/libc.so.6 /usr/lib/libresolv.so.2 - make vtorc-vtadmin-test concurrency: 1 diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index a559e06a..7dcc859a 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20.2 + go-version: 1.21.10 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/make-generate-and-diff.yaml b/.github/workflows/make-generate-and-diff.yaml index 6fcadf5c..ddb0120d 100644 --- a/.github/workflows/make-generate-and-diff.yaml +++ b/.github/workflows/make-generate-and-diff.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20.2 + go-version: 1.21.10 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 2b3ffe0a..6b3c35bb 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20.2 + go-version: 1.21.10 id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/upgrade-vitess-dependency.yaml b/.github/workflows/upgrade-vitess-dependency.yaml index 96f93d21..8595e4d8 100644 --- a/.github/workflows/upgrade-vitess-dependency.yaml +++ b/.github/workflows/upgrade-vitess-dependency.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20.2 + go-version: 1.21.10 - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/build/Dockerfile.release b/build/Dockerfile.release index 77187f1d..9f0b36a9 100644 --- a/build/Dockerfile.release +++ b/build/Dockerfile.release @@ -11,7 +11,7 @@ # without messing up file permissions, since the Docker container doesn't run as # your actual user. -FROM golang:1.20.2 AS build +FROM golang:1.21.10 AS build ENV GO111MODULE=on WORKDIR /go/src/planetscale.dev/vitess-operator diff --git a/go.mod b/go.mod index d913b5b9..a40813ef 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module planetscale.dev/vitess-operator go 1.21.10 -toolchain go1.22.5 +toolchain go1.21.10 require ( github.com/ahmetb/gen-crd-api-reference-docs v0.1.5-0.20190629210212-52e137b8d003