Modify nightly script (#24831)

Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
nico 2023-06-14 14:08:37 +08:00 committed by GitHub
parent ee2d458da4
commit f18443447f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,25 +212,14 @@ pipeline {
e2e_timeout_seconds = 1 * 60 * 60
}
if ("${MILVUS_CLIENT}" == "pymilvus") {
if ("${MILVUS_SERVER_TYPE}" == "standalone-authentication") {
sh """
MILVUS_HELM_RELEASE_NAME="${release_name}" \
MILVUS_HELM_NAMESPACE="milvus-ci" \
MILVUS_CLUSTER_ENABLED="${clusterEnabled}" \
TEST_TIMEOUT="${e2e_timeout_seconds}" \
MQ_MODE="${mqMode}" \
./ci_e2e.sh "-n 6 --tags ${tag} testcases/test_utility.py::TestUtilityUserPassword testcases/test_utility.py::TestUtilityInvalidUserPassword"
"""
} else {
sh """
MILVUS_HELM_RELEASE_NAME="${release_name}" \
MILVUS_HELM_NAMESPACE="milvus-ci" \
MILVUS_CLUSTER_ENABLED="${clusterEnabled}" \
TEST_TIMEOUT="${e2e_timeout_seconds}" \
MQ_MODE="${mqMode}" \
./ci_e2e.sh "-n 6 --tags ${tag}"
"""
}
sh """
MILVUS_HELM_RELEASE_NAME="${release_name}" \
MILVUS_HELM_NAMESPACE="milvus-ci" \
MILVUS_CLUSTER_ENABLED="${clusterEnabled}" \
TEST_TIMEOUT="${e2e_timeout_seconds}" \
MQ_MODE="${mqMode}" \
./ci_e2e.sh "-n 6 --tags ${tag}"
"""
} else {
error "Error: Unsupported Milvus client: ${MILVUS_CLIENT}"
}