Skip to content

Commit

Permalink
test: use standalone mode for vector demo (#13840)
Browse files Browse the repository at this point in the history
  • Loading branch information
neverchanje authored Dec 7, 2023
1 parent 7fd2a0e commit e056c66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"elasticsearch-sink-json": ["xinhao"],
"redis-sink-json": ["xinhao"],
"big-query-sink-json": ["xinhao"],
"vector-json": ["bohan"],
"vector-json": ["tao"],
}

def get_failed_tests(get_test_status, test_map):
Expand Down
23 changes: 6 additions & 17 deletions integration_tests/vector/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,18 @@
---
version: "3"
services:
compactor-0:
risingwave-standalone:
extends:
file: ../../docker/docker-compose-distributed.yml
service: compactor-0
compute-node-0:
extends:
file: ../../docker/docker-compose-distributed.yml
service: compute-node-0
file: ../../docker/docker-compose.yml
service: risingwave-standalone
etcd-0:
extends:
file: ../../docker/docker-compose-distributed.yml
service: etcd-0
frontend-node-0:
extends:
file: ../../docker/docker-compose-distributed.yml
service: frontend-node-0
grafana-0:
extends:
file: ../../docker/docker-compose-distributed.yml
service: grafana-0
meta-node-0:
extends:
file: ../../docker/docker-compose-distributed.yml
service: meta-node-0
minio-0:
extends:
file: ../../docker/docker-compose-distributed.yml
Expand All @@ -39,11 +27,12 @@ services:
volumes:
- "./vector.yaml:/etc/vector/vector.yaml:ro"
depends_on:
- "frontend-node-0"
- "risingwave-standalone"
container_name: vector
restart: always

volumes:
compute-node-0:
risingwave-standalone:
external: false
etcd-0:
external: false
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/vector/vector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sources:
sinks:
risingwave:
type: "risingwave"
host: "frontend-node-0"
host: "risingwave-standalone"
port: 4566
database: "dev"
user: "root"
Expand Down

0 comments on commit e056c66

Please sign in to comment.