Skip to content

Commit

Permalink
Upgrade go version everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Jul 16, 2024
1 parent 587990c commit dfc8682
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 16 deletions.
18 changes: 9 additions & 9 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make-generate-and-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-vitess-dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module planetscale.dev/vitess-operator

go 1.21.10

toolchain go1.22.5

require (
github.com/ahmetb/gen-crd-api-reference-docs v0.1.5-0.20190629210212-52e137b8d003
github.com/google/uuid v1.3.1
Expand Down

0 comments on commit dfc8682

Please sign in to comment.