未验证 提交 79e43ddb 编写于 作者: Q quicksilver 提交者: GitHub

Update pytest docker compose file (#5657)

* Update pytest docker compose file
Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>

* Update pytest docker compose file
Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>

* Update pytest docker compose file
Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 0e554745
SERVICE_IP=127.0.0.1
SERVICE_PORT=19530
IMAGE_REPO=milvusdb
IMAGE_TAG=20210331-546c8df
PRE_EXIST_NETWORK=bridge
\ No newline at end of file
IMAGE_TAG=20210331-546c8df
\ No newline at end of file
......@@ -18,5 +18,5 @@ services:
networks:
default:
external:
name: ${PRE_EXIST_NETWORK}
external: ${PRE_EXIST_NETWORK:-false}
name: ${PYTEST_NETWORK:-pytest}
......@@ -54,7 +54,8 @@ fi
pushd "${ROOT}/tests/docker"
docker-compose pull --ignore-pull-failures pytest
if [[ "${TEST_ENV:-}" =~ ^kind* ]]; then
export PRE_EXIST_NETWORK="kind"
export PRE_EXIST_NETWORK="true"
export PYTEST_NETWORK="kind"
fi
export SERVICE_IP="${SERVICE_IP:-127.0.0.1}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册