singleDevTest.groovy 1.3 KB
Newer Older
Z
zhenwu 已提交
1
timeout(time: 60, unit: 'MINUTES') {
T
add ci  
test 已提交
2 3
    dir ("tests/milvus_python_test") {
        sh 'python3 -m pip install -r requirements.txt'
4
        sh "pytest . --alluredir=\"test_out/dev/single/sqlite\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local"
T
add ci  
test 已提交
5 6
    }
    // mysql database backend test
Z
zhenwu 已提交
7
    // load "${env.WORKSPACE}/ci/jenkins/jenkinsfile/cleanupSingleDev.groovy"
Z
zhenwu 已提交
8 9 10 11 12

    // Remove mysql-version tests: 10-28

    // if (!fileExists('milvus-helm')) {
    //     dir ("milvus-helm") {
13
    //         checkout([$class: 'GitSCM', branches: [[name: "0.5.0"]], userRemoteConfigs: [[url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/0.5.0:refs/remotes/origin/0.5.0"]]])
Z
zhenwu 已提交
14 15 16 17 18 19 20 21 22 23
    //     }
    // }
    // dir ("milvus-helm") {
    //     dir ("milvus-gpu") {
    //         sh "helm install --wait --timeout 300 --set engine.image.tag=${DOCKER_VERSION} --set expose.type=clusterIP --name ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu -f ci/db_backend/mysql_values.yaml -f ci/filebeat/values.yaml --namespace milvus ."
    //     }
    // }
    // dir ("tests/milvus_python_test") {
    //     sh "pytest . --alluredir=\"test_out/dev/single/mysql\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local"
    // }
T
add ci  
test 已提交
24
}