Skip to content

Commit c1322c3

Browse files
Upgrade Vitess Dependency and default Vitess image (#306)
* feat: update golang version in tests and images Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: update vitess dependency Signed-off-by: Manan Gupta <manan@planetscale.com> * feat: update vitess/lite image Signed-off-by: Manan Gupta <manan@planetscale.com> Signed-off-by: Manan Gupta <manan@planetscale.com>
1 parent a00d17d commit c1322c3

8 files changed

Lines changed: 17 additions & 17 deletions

File tree

.buildkite/pipeline.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ steps:
77
- name: "Upgrade Test"
88
command:
99
- apk add g++ make bash curl mysql mysql-client
10-
- wget https://golang.org/dl/go1.18.4.linux-amd64.tar.gz
11-
- tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
10+
- wget https://golang.org/dl/go1.18.5.linux-amd64.tar.gz
11+
- tar -C /usr/local -xzf go1.18.5.linux-amd64.tar.gz
1212
- export PATH=$PATH:/usr/local/go/bin
13-
- rm go1.18.4.linux-amd64.tar.gz
13+
- rm go1.18.5.linux-amd64.tar.gz
1414
- make upgrade-test
1515
concurrency: 1
1616
concurrency_group: 'vtop/upgrade-downgrade-test'
@@ -25,10 +25,10 @@ steps:
2525
- name: "Backup Restore Test"
2626
command:
2727
- apk add g++ make bash curl mysql mysql-client
28-
- wget https://golang.org/dl/go1.18.4.linux-amd64.tar.gz
29-
- tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
28+
- wget https://golang.org/dl/go1.18.5.linux-amd64.tar.gz
29+
- tar -C /usr/local -xzf go1.18.5.linux-amd64.tar.gz
3030
- export PATH=$PATH:/usr/local/go/bin
31-
- rm go1.18.4.linux-amd64.tar.gz
31+
- rm go1.18.5.linux-amd64.tar.gz
3232
- make backup-restore-test
3333
concurrency: 1
3434
concurrency_group: 'vtop/backup-restore-test'
@@ -43,10 +43,10 @@ steps:
4343
- name: "VTOrc and VTAdmin Test"
4444
command:
4545
- apk add g++ make bash curl mysql mysql-client chromium
46-
- wget https://golang.org/dl/go1.18.4.linux-amd64.tar.gz
47-
- tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
46+
- wget https://golang.org/dl/go1.18.5.linux-amd64.tar.gz
47+
- tar -C /usr/local -xzf go1.18.5.linux-amd64.tar.gz
4848
- export PATH=$PATH:/usr/local/go/bin
49-
- rm go1.18.4.linux-amd64.tar.gz
49+
- rm go1.18.5.linux-amd64.tar.gz
5050
- make vtorc-vtadmin-test
5151
concurrency: 1
5252
concurrency_group: 'vtop/vtorc-vtadmin-test'

.github/workflows/integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: 1.18.4
20+
go-version: 1.18.5
2121
id: go
2222

2323
- name: Check out code into the Go module directory

.github/workflows/make-generate-and-diff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: 1.18.4
20+
go-version: 1.18.5
2121
id: go
2222

2323
- name: Check out code into the Go module directory

.github/workflows/unit-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: 1.18.4
20+
go-version: 1.18.5
2121
id: go
2222

2323
- name: Check out code into the Go module directory

build/Dockerfile.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# without messing up file permissions, since the Docker container doesn't run as
1212
# your actual user.
1313

14-
FROM golang:1.18.4 AS build
14+
FROM golang:1.18.5 AS build
1515

1616
ENV GO111MODULE=on
1717
WORKDIR /go/src/planetscale.dev/vitess-operator

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
sigs.k8s.io/controller-runtime v0.9.7
2121
sigs.k8s.io/controller-tools v0.6.2
2222
sigs.k8s.io/kustomize v2.0.3+incompatible
23-
vitess.io/vitess v0.14.1
23+
vitess.io/vitess v0.14.2
2424
)
2525

2626
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,5 +1473,5 @@ sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZa
14731473
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
14741474
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
14751475
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
1476-
vitess.io/vitess v0.14.1 h1:/dxeH41mpi01xt5dg327BDLvBz/XXH3CbKQWRinKw0o=
1477-
vitess.io/vitess v0.14.1/go.mod h1:kOA0C53JqlYY68HoXfpgFqa8WFOn69KVM9bvhWIXuLo=
1476+
vitess.io/vitess v0.14.2 h1:2VPtSer1J/mpj/lEZLG5b2OnZy76dROjI1G2Yz9ZFWg=
1477+
vitess.io/vitess v0.14.2/go.mod h1:kOA0C53JqlYY68HoXfpgFqa8WFOn69KVM9bvhWIXuLo=

pkg/apis/planetscale/v2/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const (
105105
// DefaultMysqlPortName is the name for the MySQL port.
106106
DefaultMysqlPortName = "mysql"
107107

108-
defaultVitessLiteImage = "vitess/lite:v14.0.1"
108+
defaultVitessLiteImage = "vitess/lite:v14.0.2"
109109
)
110110

111111
// DefaultImages are a set of images to use when the CRD doesn't specify.

0 commit comments

Comments
 (0)