Skip to content

Commit

Permalink
Update codebase for the v20.0.0-RC3 release
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <[email protected]>
  • Loading branch information
rohit-nayak-ps committed Jun 19, 2024
1 parent daaaa72 commit 11fa166
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 81 deletions.
20 changes: 10 additions & 10 deletions examples/compose/docker-compose.beginners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- "3306"

vtctld:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15000:$WEB_PORT"
- "$GRPC_PORT"
Expand All @@ -81,7 +81,7 @@ services:
condition: service_healthy
vtgate:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15099:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -111,7 +111,7 @@ services:
condition: service_healthy

schemaload:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
command:
- sh
- -c
Expand Down Expand Up @@ -144,12 +144,12 @@ services:
environment:
- KEYSPACES=$KEYSPACE
- GRPC_PORT=15999
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script

vttablet100:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15100:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -181,7 +181,7 @@ services:
retries: 15

vttablet101:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15101:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -213,7 +213,7 @@ services:
retries: 15

vttablet102:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15102:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -245,7 +245,7 @@ services:
retries: 15

vttablet103:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15103:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -277,7 +277,7 @@ services:
retries: 15

vtorc:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
command: ["sh", "-c", "/script/vtorc-up.sh"]
depends_on:
- vtctld
Expand Down Expand Up @@ -307,7 +307,7 @@ services:
retries: 15

vreplication:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- ".:/script"
environment:
Expand Down
26 changes: 13 additions & 13 deletions examples/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
- SCHEMA_FILES=lookup_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
schemaload_test_keyspace:
Expand All @@ -101,7 +101,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
set_keyspace_durability_policy:
Expand All @@ -115,7 +115,7 @@ services:
environment:
- KEYSPACES=test_keyspace lookup_keyspace
- GRPC_PORT=15999
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
vreplication:
Expand All @@ -129,7 +129,7 @@ services:
- TOPOLOGY_FLAGS=--topo_implementation consul --topo_global_server_address consul1:8500
--topo_global_root vitess/global
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
vtctld:
Expand All @@ -143,7 +143,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15000:8080
- "15999"
Expand All @@ -160,7 +160,7 @@ services:
--normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15099:8080
- "15999"
Expand All @@ -182,7 +182,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 13000:8080
volumes:
Expand Down Expand Up @@ -217,7 +217,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15101:8080
- "15999"
Expand Down Expand Up @@ -254,7 +254,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15102:8080
- "15999"
Expand Down Expand Up @@ -291,7 +291,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15201:8080
- "15999"
Expand Down Expand Up @@ -328,7 +328,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15202:8080
- "15999"
Expand Down Expand Up @@ -365,7 +365,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15301:8080
- "15999"
Expand Down Expand Up @@ -402,7 +402,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15302:8080
- "15999"
Expand Down
26 changes: 13 additions & 13 deletions examples/compose/vtcompose/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
schemaload_unsharded_keyspace:
Expand All @@ -103,7 +103,7 @@ services:
- SCHEMA_FILES=unsharded_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
set_keyspace_durability_policy_test_keyspace:
Expand All @@ -117,7 +117,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=test_keyspace
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
set_keyspace_durability_policy_unsharded_keyspace:
Expand All @@ -130,7 +130,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=unsharded_keyspace
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
vreplication:
Expand All @@ -144,7 +144,7 @@ services:
- TOPOLOGY_FLAGS=--topo_implementation consul --topo_global_server_address consul1:8500
--topo_global_root vitess/global
- EXTERNAL_DB=0
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- .:/script
vtctld:
Expand All @@ -159,7 +159,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15000:8080
- "15999"
Expand All @@ -176,7 +176,7 @@ services:
''grpc-vtgateservice'' --normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15099:8080
- "15999"
Expand All @@ -199,7 +199,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 13000:8080
volumes:
Expand Down Expand Up @@ -234,7 +234,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15101:8080
- "15999"
Expand Down Expand Up @@ -271,7 +271,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15102:8080
- "15999"
Expand Down Expand Up @@ -308,7 +308,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15201:8080
- "15999"
Expand Down Expand Up @@ -345,7 +345,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15202:8080
- "15999"
Expand Down Expand Up @@ -382,7 +382,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- 15301:8080
- "15999"
Expand Down
16 changes: 8 additions & 8 deletions examples/compose/vtcompose/vtcompose.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ func generateExternalPrimary(
- op: add
path: /services/vttablet%[1]d
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15%[1]d:%[3]d"
- "%[4]d"
Expand Down Expand Up @@ -587,7 +587,7 @@ func generateDefaultTablet(tabAlias int, shard, role, keyspace string, dbInfo ex
- op: add
path: /services/vttablet%[1]d
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15%[1]d:%[4]d"
- "%[5]d"
Expand Down Expand Up @@ -625,7 +625,7 @@ func generateVtctld(opts vtOptions) string {
- op: add
path: /services/vtctld
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15000:%[1]d"
- "%[2]d"
Expand Down Expand Up @@ -656,7 +656,7 @@ func generateVtgate(opts vtOptions) string {
- op: add
path: /services/vtgate
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
ports:
- "15099:%[1]d"
- "%[2]d"
Expand Down Expand Up @@ -698,7 +698,7 @@ func generateVTOrc(dbInfo externalDbInfo, keyspaceInfoMap map[string]keyspaceInf
- op: add
path: /services/vtorc
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- ".:/script"
environment:
Expand All @@ -723,7 +723,7 @@ func generateVreplication(dbInfo externalDbInfo, opts vtOptions) string {
- op: add
path: /services/vreplication
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- ".:/script"
environment:
Expand Down Expand Up @@ -751,7 +751,7 @@ func generateSetKeyspaceDurabilityPolicy(
- op: add
path: /services/set_keyspace_durability_policy_%[3]s
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- ".:/script"
environment:
Expand Down Expand Up @@ -788,7 +788,7 @@ func generateSchemaload(
- op: add
path: /services/schemaload_%[7]s
value:
image: vitess/lite:${VITESS_TAG:-latest}
image: vitess/lite:v20.0.0-rc3
volumes:
- ".:/script"
environment:
Expand Down
Loading

0 comments on commit 11fa166

Please sign in to comment.