Loading ci/jenkins/Jenkinsfile +1 −1 Original line number Diff line number Diff line #!/usr/bin/env groovy String cron_timezone = "TZ=Asia/Shanghai" String cron_string = BRANCH_NAME == "0.9.0" ? "H 0 * * * " : "" String cron_string = BRANCH_NAME == "0.9.0" ? "50 16 * * * " : "" pipeline { agent none Loading ci/jenkins/step/shardsDevNightlyTest.groovy +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ timeout(time: 180, unit: 'MINUTES') { checkout([$class: 'GitSCM', branches: [[name: "nightly"]], userRemoteConfigs: [[url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/nightly:refs/remotes/origin/nightly"]]]) retry(3) { try { sh "helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --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 --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ." sh "helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --set image.repository=registry.zilliz.com/milvus/engine --set mishards.imag.tag=0.9.0-rc --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ." } catch (exc) { def helmStatusCMD = "helm get manifest --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \ kubectl logs --namespace milvus -l \"app=milvus,release=${env.SHARDS_HELM_RELEASE_NAME}\" -c milvus && \ Loading tests/milvus_python_test/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -607,7 +607,7 @@ def get_search_param(index_type): elif index_type == IndexType.HNSW: return {"ef": 64} elif index_type == IndexType.RNSG: return {"search_length": 50} return {"search_length": 100} elif index_type == IndexType.ANNOY: return {"search_k": 100} Loading Loading
ci/jenkins/Jenkinsfile +1 −1 Original line number Diff line number Diff line #!/usr/bin/env groovy String cron_timezone = "TZ=Asia/Shanghai" String cron_string = BRANCH_NAME == "0.9.0" ? "H 0 * * * " : "" String cron_string = BRANCH_NAME == "0.9.0" ? "50 16 * * * " : "" pipeline { agent none Loading
ci/jenkins/step/shardsDevNightlyTest.groovy +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ timeout(time: 180, unit: 'MINUTES') { checkout([$class: 'GitSCM', branches: [[name: "nightly"]], userRemoteConfigs: [[url: "https://github.com/milvus-io/milvus-helm.git", name: 'origin', refspec: "+refs/heads/nightly:refs/remotes/origin/nightly"]]]) retry(3) { try { sh "helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --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 --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ." sh "helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --set image.repository=registry.zilliz.com/milvus/engine --set mishards.imag.tag=0.9.0-rc --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ." } catch (exc) { def helmStatusCMD = "helm get manifest --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \ kubectl logs --namespace milvus -l \"app=milvus,release=${env.SHARDS_HELM_RELEASE_NAME}\" -c milvus && \ Loading
tests/milvus_python_test/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -607,7 +607,7 @@ def get_search_param(index_type): elif index_type == IndexType.HNSW: return {"ef": 64} elif index_type == IndexType.RNSG: return {"search_length": 50} return {"search_length": 100} elif index_type == IndexType.ANNOY: return {"search_k": 100} Loading