mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 19:39:21 +08:00
Add regression docker compose file
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
7dd531d159
commit
846f801d29
@ -48,7 +48,7 @@ timeout(time: 60, unit: 'MINUTES') {
|
||||
container('test-env') {
|
||||
try {
|
||||
dir ('tests/python_test') {
|
||||
sh "python3 -m pip install --no-cache-dir pymilvus-distributed==${env.PYMILVUS_VERSION}"
|
||||
sh "python3 -m pip install --no-cache-dir -r requirements.txt"
|
||||
sh "pytest --tags=0331 --ip ${env.HELM_RELEASE_NAME}-milvus-ha.${env.HELM_RELEASE_NAMESPACE}.svc.cluster.local"
|
||||
}
|
||||
} catch (exc) {
|
||||
|
1
build/ci/jenkins/Jenkinsfile
vendored
1
build/ci/jenkins/Jenkinsfile
vendored
@ -84,7 +84,6 @@ pipeline {
|
||||
}
|
||||
environment {
|
||||
HELM_BRANCH = "main"
|
||||
PYMILVUS_VERSION = "0.0.42"
|
||||
HELM_RELEASE_NAMESPACE = "dev"
|
||||
HELM_RELEASE_NAME = "${PROJECT_NAME}-${SEMVER}-${env.BUILD_NUMBER}-${REGRESSION_SERVICE_TYPE}".replaceAll("\\.", "-").replaceAll("_", "-").toLowerCase()
|
||||
DEV_TEST_ARTIFACTS_PATH = "artifacts"
|
||||
|
15
tests/python_test/docker-compose.yml
Normal file
15
tests/python_test/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: '3.5'
|
||||
|
||||
services:
|
||||
regression:
|
||||
image: milvusdb/pytest:latest
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../..:/milvus-distributed:delegated
|
||||
working_dir: "/milvus-distributed/tests/python_test"
|
||||
networks:
|
||||
- milvus
|
||||
|
||||
networks:
|
||||
milvus:
|
@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$1" = 'start' ]; then
|
||||
tail -f /dev/null
|
||||
fi
|
||||
|
||||
exec "$@"
|
@ -10,5 +10,6 @@ allure-pytest==2.7.0
|
||||
pytest-print==0.2.1
|
||||
pytest-level==0.1.1
|
||||
pytest-xdist==2.2.1
|
||||
pymilvus-distributed==0.0.42
|
||||
pytest-rerunfailures==9.1.1
|
||||
git+https://gitee.com/quicksilver/pytest-tags.git
|
||||
|
Loading…
Reference in New Issue
Block a user