From e056c669e9193e991d66168a8d2dd773b77ecc74 Mon Sep 17 00:00:00 2001 From: Tao Wu Date: Fri, 8 Dec 2023 00:34:16 +0800 Subject: [PATCH] test: use standalone mode for vector demo (#13840) --- ci/scripts/notify.py | 2 +- integration_tests/vector/docker-compose.yml | 23 ++++++--------------- integration_tests/vector/vector.yaml | 2 +- 3 files changed, 8 insertions(+), 19 deletions(-) diff --git a/ci/scripts/notify.py b/ci/scripts/notify.py index 36f4acf1ff28f..54332df0ca1dc 100755 --- a/ci/scripts/notify.py +++ b/ci/scripts/notify.py @@ -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): diff --git a/integration_tests/vector/docker-compose.yml b/integration_tests/vector/docker-compose.yml index 1bc51aec64200..2179cd66542c4 100644 --- a/integration_tests/vector/docker-compose.yml +++ b/integration_tests/vector/docker-compose.yml @@ -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 @@ -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 diff --git a/integration_tests/vector/vector.yaml b/integration_tests/vector/vector.yaml index d72a04a5dd973..87174fa408937 100644 --- a/integration_tests/vector/vector.yaml +++ b/integration_tests/vector/vector.yaml @@ -9,7 +9,7 @@ sources: sinks: risingwave: type: "risingwave" - host: "frontend-node-0" + host: "risingwave-standalone" port: 4566 database: "dev" user: "root"