mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
eff75c7701
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
24 lines
593 B
YAML
24 lines
593 B
YAML
version: '3.5'
|
|
|
|
services:
|
|
pytest:
|
|
image: ${IMAGE_REPO}/pytest:${IMAGE_TAG}
|
|
build:
|
|
context: ../..
|
|
dockerfile: tests/docker/Dockerfile
|
|
cache_from:
|
|
- ${IMAGE_REPO}/pytest:${LATEST_IMAGE_TAG}
|
|
shm_size: 2G
|
|
environment:
|
|
MILVUS_SERVICE_IP: ${MILVUS_SERVICE_IP}
|
|
MILVUS_SERVICE_PORT: ${MILVUS_SERVICE_PORT}
|
|
CI_LOG_PATH: ${MILVUS_PYTEST_LOG_PATH}
|
|
volumes:
|
|
- ../../:/milvus:delegated
|
|
working_dir: ${MILVUS_PYTEST_WORKSPACE}
|
|
|
|
networks:
|
|
default:
|
|
external: ${PRE_EXIST_NETWORK:-false}
|
|
name: ${PYTEST_NETWORK:-milvus_dev}
|