2021-04-27 19:27:50 +08:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
services:
|
|
|
|
pytest:
|
2021-04-29 11:28:27 +08:00
|
|
|
image: ${IMAGE_REPO}/pytest:${IMAGE_TAG}
|
2021-04-27 19:27:50 +08:00
|
|
|
build:
|
2021-05-17 15:29:50 +08:00
|
|
|
context: ../..
|
|
|
|
dockerfile: tests/docker/Dockerfile
|
2021-04-27 19:27:50 +08:00
|
|
|
cache_from:
|
2021-08-01 16:14:25 +08:00
|
|
|
- ${IMAGE_REPO}/pytest:${LATEST_IMAGE_TAG}
|
2021-04-27 19:27:50 +08:00
|
|
|
shm_size: 2G
|
|
|
|
environment:
|
2021-07-03 14:52:28 +08:00
|
|
|
MILVUS_SERVICE_IP: ${MILVUS_SERVICE_IP}
|
|
|
|
MILVUS_SERVICE_PORT: ${MILVUS_SERVICE_PORT}
|
|
|
|
CI_LOG_PATH: ${MILVUS_PYTEST_LOG_PATH}
|
2021-04-27 19:27:50 +08:00
|
|
|
volumes:
|
2021-05-17 15:29:50 +08:00
|
|
|
- ../../:/milvus:delegated
|
2021-07-03 14:52:28 +08:00
|
|
|
working_dir: ${MILVUS_PYTEST_WORKSPACE}
|
2021-04-27 19:27:50 +08:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
2021-06-08 00:32:37 +08:00
|
|
|
external: ${PRE_EXIST_NETWORK:-false}
|
2021-06-28 13:50:14 +08:00
|
|
|
name: ${PYTEST_NETWORK:-milvus_dev}
|