mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip e2e]Fix scheduled github action cant't get input (#16064)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
ffdad82b9c
commit
2047209d9e
7
.github/workflows/pod-kill-chaos-test.yaml
vendored
7
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -23,8 +23,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set env param
|
- name: Set env param
|
||||||
|
env:
|
||||||
|
DEFAULT_IMAGE_TAG: master-latest
|
||||||
run: |
|
run: |
|
||||||
echo "RELEASE=test-${{ matrix.pod }}-pod-kill" >> $GITHUB_ENV
|
echo "RELEASE=test-${{ matrix.pod }}-pod-kill" >> $GITHUB_ENV
|
||||||
|
echo "IMAGE_TAG=${{ github.event.inputs.image_tag || env.DEFAULT_IMAGE_TAG}}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Creating kind cluster
|
- name: Creating kind cluster
|
||||||
uses: helm/kind-action@v1.2.0
|
uses: helm/kind-action@v1.2.0
|
||||||
@ -73,8 +76,8 @@ jobs:
|
|||||||
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus-dev -t master-latest -f master- -F -L -q
|
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus-dev -t master-latest -f master- -F -L -q
|
||||||
helm repo add milvus https://milvus-io.github.io/milvus-helm
|
helm repo add milvus https://milvus-io.github.io/milvus-helm
|
||||||
helm repo update
|
helm repo update
|
||||||
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.tag=${{ github.event.inputs.image_tag }} -f cluster-values.yaml -n=chaos-testing; fi
|
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.tag=${{ env.IMAGE_TAG }} -f cluster-values.yaml -n=chaos-testing; fi
|
||||||
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.tag=${{ github.event.inputs.image_tag }} -f standalone-values.yaml -n=chaos-testing; fi
|
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.tag=${{ env.IMAGE_TAG }} -f standalone-values.yaml -n=chaos-testing; fi
|
||||||
kubectl get pods -n chaos-testing
|
kubectl get pods -n chaos-testing
|
||||||
sleep 20s
|
sleep 20s
|
||||||
kubectl get pods -n chaos-testing
|
kubectl get pods -n chaos-testing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user