Skip to content

Commit

Permalink
Release commit for 2.10.4
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 721cab1 commit 55cd541
Show file tree
Hide file tree
Showing 19 changed files with 68 additions and 70 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
2 changes: 1 addition & 1 deletion pkg/apis/planetscale/v2/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const (
// DefaultMysqlPortName is the name for the MySQL port.
DefaultMysqlPortName = "mysql"

defaultVitessLiteImage = "vitess/lite:v17.0.3"
defaultVitessLiteImage = "vitess/lite:v17.0.7"

DefaultInitCPURequestMillis = 100
DefaultInitMemoryRequestBytes = 32 * (1 << 20) // 32 MiB
Expand Down
2 changes: 1 addition & 1 deletion test/endtoend/backup_restore_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ killall kubectl
setupKubectlAccessForCI

get_started "operator-latest.yaml" "101_initial_cluster_backup.yaml"
verifyVtGateVersion "17.0.3"
verifyVtGateVersion "17.0.7"
checkSemiSyncSetup
takeBackup "commerce/-"
verifyListBackupsOutput
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/101_initial_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v16.0.5
vtgate: vitess/lite:v16.0.5
vttablet: vitess/lite:v16.0.5
vtorc: vitess/lite:v16.0.5
vtbackup: vitess/lite:v16.0.5
vtctld: vitess/lite:v16.0.7
vtgate: vitess/lite:v16.0.7
vttablet: vitess/lite:v16.0.7
vtorc: vitess/lite:v16.0.7
vtbackup: vitess/lite:v16.0.7
mysqld:
mysql80Compatible: vitess/lite:v16.0.5
mysql80Compatible: vitess/lite:v16.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/101_initial_cluster_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ spec:
path: /backup
type: Directory
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql56Compatible: vitess/lite:v17.0.3
mysql56Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
14 changes: 7 additions & 7 deletions test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v17.0.3
vtadmin: vitess/vtadmin:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtadmin: vitess/vtadmin:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
mysqld:
mysql80Compatible: vitess/lite:v17.0.3
mysql80Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/102_keyspace_teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ spec:
path: /backup
type: Directory
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql56Compatible: vitess/lite:v17.0.3
mysql56Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/201_customer_tablets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql80Compatible: vitess/lite:v17.0.3
mysql80Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/302_new_shards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql80Compatible: vitess/lite:v17.0.3
mysql80Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/306_down_shard_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql80Compatible: vitess/lite:v17.0.3
mysql80Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
12 changes: 6 additions & 6 deletions test/endtoend/operator/cluster_upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v17.0.3
vtgate: vitess/lite:v17.0.3
vttablet: vitess/lite:v17.0.3
vtorc: vitess/lite:v17.0.3
vtbackup: vitess/lite:v17.0.3
vtctld: vitess/lite:v17.0.7
vtgate: vitess/lite:v17.0.7
vttablet: vitess/lite:v17.0.7
vtorc: vitess/lite:v17.0.7
vtbackup: vitess/lite:v17.0.7
mysqld:
mysql80Compatible: vitess/lite:v17.0.3
mysql80Compatible: vitess/lite:v17.0.7
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/upgrade_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ killall kubectl
setupKubectlAccessForCI

get_started "operator.yaml" "101_initial_cluster.yaml"
verifyVtGateVersion "16.0.5"
verifyVtGateVersion "16.0.7"
checkSemiSyncSetup
# Initially too durability policy should be specified
verifyDurabilityPolicy "commerce" "semi_sync"
upgradeToLatest
verifyVtGateVersion "17.0.3"
verifyVtGateVersion "17.0.7"
checkSemiSyncSetup
# After upgrading, we verify that the durability policy is still semi_sync
verifyDurabilityPolicy "commerce" "semi_sync"
Expand Down
2 changes: 1 addition & 1 deletion test/endtoend/vtorc_vtadmin_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ killall kubectl
setupKubectlAccessForCI

get_started_vtorc_vtadmin
verifyVtGateVersion "17.0.3"
verifyVtGateVersion "17.0.7"
checkSemiSyncSetup

# Check Vtadmin is setup
Expand Down

0 comments on commit 55cd541

Please sign in to comment.