Skip to content

Commit 3c830c4

Browse files
committed
fix ui tests
Signed-off-by: Alexander Onnikov <[email protected]>
1 parent 273e3fe commit 3c830c4

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

tests/docker-compose.override.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ services:
4646
- STREAM_URL=http://localhost:1081/recording
4747
- DB_URL=${DB_PG_URL}
4848
- BUCKETS=blobs,eu|http://minio:9000?accessKey=minioadmin&secretKey=minioadmin
49+
- QUEUE_CONFIG=${QUEUE_CONFIG}
4950
restart: unless-stopped

tests/tool.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
export MODEL_VERSION=$(node ../common/scripts/show_version.js)
4-
export STORAGE_CONFIG="minio|minio?accessKey=minioadmin&secretKey=minioadmin"
4+
export STORAGE_CONFIG="minio|localhost:9002?accessKey=minioadmin&secretKey=minioadmin"
55
export ACCOUNTS_URL=http://localhost:3003
66
export TRANSACTOR_URL=ws://localhost:3334
77
export ACCOUNT_DB_URL=mongodb://localhost:27018

ws-tests/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
STORAGE_CONFIG="minio|minio?accessKey=minioadmin&secretKey=minioadmin"
1+
STORAGE_CONFIG="datalake|http://huly.local:4031"
22
BACKUP_STORAGE_CONFIG="minio|minio?accessKey=minioadmin&secretKey=minioadmin"
33
BACKUP_BUCKET_NAME=ws-dev-backups
44
DB_URL=mongodb://huly.local:27018

ws-tests/docker-compose.yaml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ services:
55
extra_hosts:
66
- 'huly.local:host-gateway'
77
environment:
8-
- STREAM_ENDPOINT_URL=s3://huly.local:9000
8+
- STREAM_ENDPOINT_URL=datalake://huly.local:4031
99
- STREAM_INSECURE=true
1010
- STREAM_SERVER_SECRET=secret
11-
- AWS_ACCESS_KEY_ID=minioadmin
12-
- AWS_SECRET_ACCESS_KEY=minioadmin
1311
ports:
1412
- 1081:1080
1513
restart: unless-stopped
@@ -100,6 +98,33 @@ services:
10098
ports:
10199
- 9002:9000
102100
- 9003:9001
101+
healthcheck:
102+
test: ['CMD', 'mc', 'ready', 'local']
103+
interval: 5s
104+
retries: 10
105+
datalake:
106+
image: hardcoreeng/datalake
107+
depends_on:
108+
minio:
109+
condition: service_healthy
110+
cockroach:
111+
condition: service_started
112+
stats:
113+
condition: service_started
114+
account:
115+
condition: service_started
116+
ports:
117+
- 4031:4031
118+
environment:
119+
- PORT=4031
120+
- SECRET=secret
121+
- ACCOUNTS_URL=http://account:3003
122+
- STATS_URL=http://stats:4901
123+
- STREAM_URL=http://localhost:1081/recording
124+
- DB_URL=${DB_EU_URL}
125+
- BUCKETS=blobs,eu|http://minio:9002?accessKey=minioadmin&secretKey=minioadmin
126+
- QUEUE_CONFIG=${QUEUE_CONFIG}
127+
restart: unless-stopped
103128
elastic:
104129
image: 'elasticsearch:7.14.2'
105130
expose:

0 commit comments

Comments
 (0)