mirror of https://github.com/milvus-io/milvus.git
[skip ci] update nightly cron (#2324)
* [skip ci] update nightly cron Signed-off-by: zw <zw@milvus.io> * update cron Signed-off-by: zw <zw@milvus.io> Co-authored-by: zw <zw@milvus.io>pull/2325/head
parent
9a29317b91
commit
d21ceeaf12
|
@ -1,7 +1,7 @@
|
|||
#!/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
|
||||
|
|
|
@ -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 && \
|
||||
|
|
|
@ -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…
Reference in New Issue