diff --git a/build/ci/jenkins/DeployTest.groovy b/build/ci/jenkins/DeployTest.groovy index bc3464dd8f..bdd324b05c 100644 --- a/build/ci/jenkins/DeployTest.groovy +++ b/build/ci/jenkins/DeployTest.groovy @@ -215,16 +215,16 @@ pipeline { } steps { container('main') { - dir ('tests/python_client/deploy/scripts') { + dir ('tests/python_client/deploy') { script { def host = sh(returnStdout: true, script: "kubectl get svc/${env.RELEASE_NAME}-milvus -o jsonpath=\"{.spec.clusterIP}\"").trim() if ("${params.deploy_task}" == "reinstall") { - sh "python3 action_before_reinstall.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_before_reinstall.py --host ${host} --data_size ${params.data_size}" } if ("${params.deploy_task}" == "upgrade") { - sh "python3 action_before_upgrade.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_before_upgrade.py --host ${host} --data_size ${params.data_size}" } } } @@ -329,16 +329,16 @@ pipeline { } steps { container('main') { - dir ('tests/python_client/deploy/scripts') { + dir ('tests/python_client/deploy') { script { sh "sleep 60s" // wait loading data for the second deployment to be ready def host = sh(returnStdout: true, script: "kubectl get svc/${env.RELEASE_NAME}-milvus -o jsonpath=\"{.spec.clusterIP}\"").trim() if ("${params.deploy_task}" == "reinstall") { - sh "python3 action_after_reinstall.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_after_reinstall.py --host ${host} --data_size ${params.data_size}" } if ("${params.deploy_task}" == "upgrade") { - sh "python3 action_after_upgrade.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_after_upgrade.py --host ${host} --data_size ${params.data_size}" } } } diff --git a/build/ci/jenkins/DeployTestKafkaMQ.groovy b/build/ci/jenkins/DeployTestKafkaMQ.groovy index 8eb7035f09..1b957cbc37 100644 --- a/build/ci/jenkins/DeployTestKafkaMQ.groovy +++ b/build/ci/jenkins/DeployTestKafkaMQ.groovy @@ -216,16 +216,16 @@ pipeline { } steps { container('main') { - dir ('tests/python_client/deploy/scripts') { + dir ('tests/python_client/deploy') { script { def host = sh(returnStdout: true, script: "kubectl get svc/${env.RELEASE_NAME}-milvus -o jsonpath=\"{.spec.clusterIP}\"").trim() if ("${params.deploy_task}" == "reinstall") { - sh "python3 action_before_reinstall.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_before_reinstall.py --host ${host} --data_size ${params.data_size}" } if ("${params.deploy_task}" == "upgrade") { - sh "python3 action_before_upgrade.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_before_upgrade.py --host ${host} --data_size ${params.data_size}" } } } @@ -331,16 +331,16 @@ pipeline { } steps { container('main') { - dir ('tests/python_client/deploy/scripts') { + dir ('tests/python_client/deploy') { script { sh "sleep 60s" // wait loading data for the second deployment to be ready def host = sh(returnStdout: true, script: "kubectl get svc/${env.RELEASE_NAME}-milvus -o jsonpath=\"{.spec.clusterIP}\"").trim() if ("${params.deploy_task}" == "reinstall") { - sh "python3 action_after_reinstall.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_after_reinstall.py --host ${host} --data_size ${params.data_size}" } if ("${params.deploy_task}" == "upgrade") { - sh "python3 action_after_upgrade.py --host ${host} --data_size ${params.data_size}" + sh "python3 scripts/action_after_upgrade.py --host ${host} --data_size ${params.data_size}" } } }