Skip to content

Commit

Permalink
Merge pull request #531 from planetscale/create-pull-request/patch
Browse files Browse the repository at this point in the history
Upgrade Vitess Dependency to Latest
  • Loading branch information
GuptaManan100 authored Feb 13, 2024
2 parents 31c020a + 83f6d37 commit 4cfa840
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 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.21.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
- wget https://golang.org/dl/go1.22.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- rm go1.21.0.linux-amd64.tar.gz
- rm go1.22.0.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.21.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
- wget https://golang.org/dl/go1.22.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- rm go1.21.0.linux-amd64.tar.gz
- rm go1.22.0.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.21.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
- wget https://golang.org/dl/go1.22.0.linux-amd64.tar.gz
- tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- rm go1.21.0.linux-amd64.tar.gz
- rm go1.22.0.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.21.1
go-version: 1.22.0
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.21.1
go-version: 1.22.0
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.21.1
go-version: 1.22.0
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.21.1
go-version: 1.22.0

- 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.21.1 AS build
FROM golang:1.22.0 AS build

ENV GO111MODULE=on
WORKDIR /go/src/planetscale.dev/vitess-operator
Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module planetscale.dev/vitess-operator

go 1.21.1
go 1.22

toolchain go1.22.0

require (
github.com/ahmetb/gen-crd-api-reference-docs v0.1.5-0.20190629210212-52e137b8d003
Expand All @@ -21,7 +23,7 @@ require (
sigs.k8s.io/controller-runtime v0.16.3
sigs.k8s.io/controller-tools v0.11.3
sigs.k8s.io/kustomize v2.0.3+incompatible
vitess.io/vitess v0.10.3-0.20240202215425-940919536a78
vitess.io/vitess v0.10.3-0.20240210050533-ea62cee2c58f
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -825,5 +825,5 @@ sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ih
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
vitess.io/vitess v0.10.3-0.20240202215425-940919536a78 h1:KS67e4NT+3/u2AY8DUXaiy/nEuRRGHoHDM5UW/6TGLc=
vitess.io/vitess v0.10.3-0.20240202215425-940919536a78/go.mod h1:OS9UMLc0y9zfPUUGvHqpcURCatpDEgq3U0OzHMyYjr8=
vitess.io/vitess v0.10.3-0.20240210050533-ea62cee2c58f h1:1Mv8c2FKLginLNCTIPM1ncc09v++rsdZqOuxSE/bBaE=
vitess.io/vitess v0.10.3-0.20240210050533-ea62cee2c58f/go.mod h1:l74+JJWVrSIuiazQWdg5yNW8Nffv8+uAB4b5wn52iuI=

0 comments on commit 4cfa840

Please sign in to comment.