milvus/tests/docker/docker-compose.yml
quicksilver d23383b5c2
Add pytest pipeline for pymilvus-orm (#6278)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-07-03 14:52:28 +08:00

24 lines
580 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
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}