From e8240ee37937d9cb3dd4fcd2b9d7e61d24cda3a6 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Thu, 9 Dec 2021 14:15:41 +0800 Subject: [PATCH] [skip ci]Fix release name in chaos test action (#13038) Signed-off-by: zhuwenxing --- .github/workflows/pod-failure-chaos-test.yaml | 2 +- .github/workflows/pod-kill-chaos-test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pod-failure-chaos-test.yaml b/.github/workflows/pod-failure-chaos-test.yaml index 745b455eee..5e3f7d3fe4 100644 --- a/.github/workflows/pod-failure-chaos-test.yaml +++ b/.github/workflows/pod-failure-chaos-test.yaml @@ -129,7 +129,7 @@ jobs: #in this step, verify whether pod has been killed by pod's age kubectl get po -n chaos-testing # export k8s log for chaos mesh and milvus - bash ../../scripts/export_log_k8s.sh chaos-testing milvus-chaos + bash ../../scripts/export_log_k8s.sh chaos-testing ${{ env.RELEASE }} bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon - name: Upload logs diff --git a/.github/workflows/pod-kill-chaos-test.yaml b/.github/workflows/pod-kill-chaos-test.yaml index 89e75b6788..77b2d70c8c 100644 --- a/.github/workflows/pod-kill-chaos-test.yaml +++ b/.github/workflows/pod-kill-chaos-test.yaml @@ -118,7 +118,7 @@ jobs: working-directory: tests/python_client/chaos run: | kubectl config set-context --current --namespace=chaos-testing - bash scripts/uninstall_milvus.sh + bash scripts/uninstall_milvus.sh ${{ env.RELEASE }} if [ ${{ matrix.pod }} != "standalone" ]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f cluster-values.yaml -n=chaos-testing; fi if [ ${{ matrix.pod }} == "standalone" ]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set cluster.enabled=false --set etcd.replicaCount=1 --set minio.mode=standalone --set pulsar.enabled=false -n=chaos-testing; fi kubectl get pods -n chaos-testing