Skip to content

Commit 92f3ae0

Browse files
committed
Merge remote-tracking branch 'origin/alternation-engine' into alternation-engine
2 parents ca27893 + 252e449 commit 92f3ae0

File tree

14 files changed

+4905
-4800
lines changed

14 files changed

+4905
-4800
lines changed

.github/workflows/release-feature-branch.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
- shard: int:gel
8383
dbs: [gel]
8484
- shard: int:singlestore-core
85-
dbs: [singlestore]
85+
dbs: [singlestore-many]
8686
- shard: int:singlestore-proxy
87-
dbs: [singlestore]
87+
dbs: [singlestore-many]
8888
- shard: int:singlestore-prefixed
8989
dbs: [singlestore]
9090
- shard: int:singlestore-custom
@@ -148,6 +148,7 @@ jobs:
148148
postgres-vector) compose_files+=("-f" "compose/postgres-vector.yml") ;;
149149
mysql) compose_files+=("-f" "compose/mysql.yml") ;;
150150
singlestore) compose_files+=("-f" "compose/singlestore.yml") ;;
151+
singlestore-many) compose_files+=("-f" "compose/singlestore-many.yml") ;;
151152
mssql) compose_files+=("-f" "compose/mssql.yml") ;;
152153
cockroach) compose_files+=("-f" "compose/cockroach.yml") ;;
153154
gel) compose_files+=("-f" "compose/gel.yml") ;;
@@ -283,6 +284,7 @@ jobs:
283284
postgres-postgis) docker compose -f compose/postgres-postgis.yml up -d ;;
284285
mysql) docker compose -f compose/mysql.yml down -v ;;
285286
singlestore) docker compose -f compose/singlestore.yml down -v ;;
287+
singlestore-many) docker compose -f compose/singlestore-many.yml down -v ;;
286288
mssql) docker compose -f compose/mssql.yml down -v ;;
287289
cockroach) docker compose -f compose/cockroach.yml down -v ;;
288290
esac

compose/singlestore-many.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
services:
2+
singlestore0:
3+
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
4+
environment:
5+
ROOT_PASSWORD: singlestore
6+
TZ: UTC
7+
ports:
8+
- "3308:3306"
9+
healthcheck:
10+
test: ["CMD", "bash", "-lc", "nc -z 127.0.0.1 3306"]
11+
interval: 2s
12+
timeout: 3s
13+
retries: 60
14+
15+
singlestore1:
16+
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
17+
environment:
18+
ROOT_PASSWORD: singlestore
19+
TZ: UTC
20+
ports:
21+
- "3309:3306"
22+
healthcheck:
23+
test: ["CMD", "bash", "-lc", "nc -z 127.0.0.1 3306"]
24+
interval: 2s
25+
timeout: 3s
26+
retries: 60
27+
28+
singlestore2:
29+
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
30+
environment:
31+
ROOT_PASSWORD: singlestore
32+
TZ: UTC
33+
ports:
34+
- "3310:3306"
35+
healthcheck:
36+
test: ["CMD", "bash", "-lc", "nc -z 127.0.0.1 3306"]
37+
interval: 2s
38+
timeout: 3s
39+
retries: 60
40+
41+
singlestore3:
42+
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
43+
environment:
44+
ROOT_PASSWORD: singlestore
45+
TZ: UTC
46+
ports:
47+
- "3311:3306"
48+
healthcheck:
49+
test: ["CMD", "bash", "-lc", "nc -z 127.0.0.1 3306"]
50+
interval: 2s
51+
timeout: 3s
52+
retries: 60
53+
54+
singlestore4:
55+
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
56+
environment:
57+
ROOT_PASSWORD: singlestore
58+
TZ: UTC
59+
ports:
60+
- "3312:3306"
61+
healthcheck:
62+
test: ["CMD", "bash", "-lc", "nc -z 127.0.0.1 3306"]
63+
interval: 2s
64+
timeout: 3s
65+
retries: 60

compose/wait.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ for db in "$@"; do
2020
postgres-postgis) wait_tcp 127.0.0.1 54322 "postgres" ;;
2121
mysql) wait_tcp 127.0.0.1 3306 "mysql" ;;
2222
singlestore) wait_tcp 127.0.0.1 33307 "singlestore" ;;
23+
singlestore-many)
24+
# loop through 5 ports (33307–33311)
25+
for i in $(seq 3308 3312); do
26+
wait_tcp 127.0.0.1 "$i" "singlestore-$((i-3308))"
27+
done
28+
;;
2329
mssql) wait_tcp 127.0.0.1 1433 "mssql" ;;
2430
cockroach) wait_tcp 127.0.0.1 26257 "cockroach" ;;
2531
neon) wait_tcp 127.0.0.1 5446 "neon-serverless" ;;

0 commit comments

Comments
 (0)