mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
* Increase memory limit in Jenkins CI Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com> * Add pod tolerations to slave pods * Refactor ci/scripts/build.sh * Refactor ci/scripts/build.sh * Refactor CI * Refactor CI * Refactor CI * Refactor CI * Refactor CI * Refactor CI * Refactor CI * Add timeout for whole Jenkins job * cuda yum repository temporarily disabled
20 lines
1.2 KiB
Groovy
20 lines
1.2 KiB
Groovy
dir ("tests/milvus_python_test") {
|
|
// sh 'python3 -m pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com'
|
|
sh 'python3 -m pip install -r requirements.txt'
|
|
sh "pytest . --alluredir=\"test_out/dev/single/sqlite\" --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local"
|
|
}
|
|
// mysql database backend test
|
|
load "ci/jenkins/step/cleanupSingleDev.groovy"
|
|
|
|
if (!fileExists('milvus-helm')) {
|
|
dir ("milvus-helm") {
|
|
checkout([$class: 'GitSCM', branches: [[name: "master"]], userRemoteConfigs: [[url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/master:refs/remotes/origin/master"]]])
|
|
}
|
|
}
|
|
dir ("milvus-helm") {
|
|
sh "helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
|
|
}
|
|
dir ("tests/milvus_python_test") {
|
|
sh "pytest . --alluredir=\"test_out/dev/single/mysql\" --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local"
|
|
}
|