docker-compose.yml 900 字节
Newer Older
G
godchen 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
version: '3.5'

services:
  regression:
    image: ${TARGET_REPO}/pytest:${TARGET_TAG}
    build:
      context: ../../../
      dockerfile: build/docker/test/Dockerfile
      cache_from:
        - ${SOURCE_REPO}/pytest:${SOURCE_TAG}
    volumes:
      - ../../..:/milvus-distributed:delegated
    working_dir: "/milvus-distributed/tests/python"
    command: >
15
      /bin/bash -c "pytest --ip proxyservice -n 4"
G
godchen 已提交
16 17 18
    networks:
      - milvus

19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
  regression_0331:
    image: ${TARGET_REPO}/pytest:${TARGET_TAG}
    build:
      context: ../../../
      dockerfile: build/docker/test/Dockerfile
      cache_from:
        - ${SOURCE_REPO}/pytest:${SOURCE_TAG}
    volumes:
      - ../../..:/milvus-distributed:delegated
    working_dir: "/milvus-distributed/tests/python_test"
    command: >
      /bin/bash -c "pytest --tags=0331 --ip proxyservice -n 4"
    networks:
      - milvus

G
godchen 已提交
34 35
networks:
  milvus: