From 64b27027f1b1b68aad97907e5c2123315b44ccd7 Mon Sep 17 00:00:00 2001 From: Andres Taylor Date: Wed, 7 Feb 2024 15:29:00 +0100 Subject: [PATCH] Update test code to use proper image Signed-off-by: Andres Taylor --- pkg/apis/planetscale/v2/defaults.go | 2 +- test/endtoend/operator/101_initial_cluster.yaml | 10 +++++----- .../operator/101_initial_cluster_backup.yaml | 12 ++++++------ .../operator/101_initial_cluster_vtorc_vtadmin.yaml | 12 ++++++------ test/endtoend/operator/102_keyspace_teardown.yaml | 12 ++++++------ test/endtoend/operator/201_customer_tablets.yaml | 10 +++++----- test/endtoend/operator/302_new_shards.yaml | 10 +++++----- test/endtoend/operator/306_down_shard_0.yaml | 10 +++++----- test/endtoend/operator/cluster_upgrade.yaml | 10 +++++----- 9 files changed, 44 insertions(+), 44 deletions(-) diff --git a/pkg/apis/planetscale/v2/defaults.go b/pkg/apis/planetscale/v2/defaults.go index 6903b7d7..465f1f49 100644 --- a/pkg/apis/planetscale/v2/defaults.go +++ b/pkg/apis/planetscale/v2/defaults.go @@ -102,7 +102,7 @@ const ( // DefaultMysqlPortName is the name for the MySQL port. DefaultMysqlPortName = "mysql" - defaultVitessLiteImage = "vitess/lite:latest" + defaultVitessLiteImage = "vitess/lite:v19.0.0-rc1" DefaultInitCPURequestMillis = 100 DefaultInitMemoryRequestBytes = 32 * (1 << 20) // 32 MiB diff --git a/test/endtoend/operator/101_initial_cluster.yaml b/test/endtoend/operator/101_initial_cluster.yaml index 196c54fc..cf275e09 100644 --- a/test/endtoend/operator/101_initial_cluster.yaml +++ b/test/endtoend/operator/101_initial_cluster.yaml @@ -8,11 +8,11 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v18.0.0 - vtgate: vitess/lite:v18.0.0 - vttablet: vitess/lite:v18.0.0 - vtorc: vitess/lite:v18.0.0 - vtbackup: vitess/lite:v18.0.0 + vtctld: vitess/lite:v18.0.3 + vtgate: vitess/lite:v18.0.3 + vttablet: vitess/lite:v18.0.3 + vtorc: vitess/lite:v18.0.3 + vtbackup: vitess/lite:v18.0.3 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/test/endtoend/operator/101_initial_cluster_backup.yaml b/test/endtoend/operator/101_initial_cluster_backup.yaml index cb9f3c80..e89d1792 100644 --- a/test/endtoend/operator/101_initial_cluster_backup.yaml +++ b/test/endtoend/operator/101_initial_cluster_backup.yaml @@ -15,13 +15,13 @@ spec: path: /backup type: Directory images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: - mysql56Compatible: vitess/lite:latest + mysql56Compatible: vitess/lite:v19.0.0-rc1 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml b/test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml index e6ba0c5c..837a9290 100644 --- a/test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml +++ b/test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml @@ -8,12 +8,12 @@ metadata: name: example spec: images: - vtctld: vitess/lite:latest - vtadmin: vitess/vtadmin:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtbackup: vitess/lite:latest - vtorc: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtadmin: vitess/vtadmin:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/test/endtoend/operator/102_keyspace_teardown.yaml b/test/endtoend/operator/102_keyspace_teardown.yaml index 1efa71e7..1e485426 100644 --- a/test/endtoend/operator/102_keyspace_teardown.yaml +++ b/test/endtoend/operator/102_keyspace_teardown.yaml @@ -15,13 +15,13 @@ spec: path: /backup type: Directory images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: - mysql56Compatible: vitess/lite:latest + mysql56Compatible: vitess/lite:v19.0.0-rc1 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/test/endtoend/operator/201_customer_tablets.yaml b/test/endtoend/operator/201_customer_tablets.yaml index bd9145f4..5b5254b6 100644 --- a/test/endtoend/operator/201_customer_tablets.yaml +++ b/test/endtoend/operator/201_customer_tablets.yaml @@ -4,11 +4,11 @@ metadata: name: example spec: images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/test/endtoend/operator/302_new_shards.yaml b/test/endtoend/operator/302_new_shards.yaml index f6f62788..0d0f1761 100644 --- a/test/endtoend/operator/302_new_shards.yaml +++ b/test/endtoend/operator/302_new_shards.yaml @@ -4,11 +4,11 @@ metadata: name: example spec: images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/test/endtoend/operator/306_down_shard_0.yaml b/test/endtoend/operator/306_down_shard_0.yaml index ca620841..5836dfb1 100644 --- a/test/endtoend/operator/306_down_shard_0.yaml +++ b/test/endtoend/operator/306_down_shard_0.yaml @@ -4,11 +4,11 @@ metadata: name: example spec: images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/test/endtoend/operator/cluster_upgrade.yaml b/test/endtoend/operator/cluster_upgrade.yaml index 2aa0e229..02fe8582 100644 --- a/test/endtoend/operator/cluster_upgrade.yaml +++ b/test/endtoend/operator/cluster_upgrade.yaml @@ -8,11 +8,11 @@ metadata: name: example spec: images: - vtctld: vitess/lite:latest - vtgate: vitess/lite:latest - vttablet: vitess/lite:latest - vtorc: vitess/lite:latest - vtbackup: vitess/lite:latest + vtctld: vitess/lite:v19.0.0-rc1 + vtgate: vitess/lite:v19.0.0-rc1 + vttablet: vitess/lite:v19.0.0-rc1 + vtorc: vitess/lite:v19.0.0-rc1 + vtbackup: vitess/lite:v19.0.0-rc1 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0