mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
[skip e2e]Set the log to be exported when the job is not successful (#17533)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
731137d4d8
commit
47881e7a59
4
.github/workflows/deploy-test.yaml
vendored
4
.github/workflows/deploy-test.yaml
vendored
@ -175,7 +175,7 @@ jobs:
|
|||||||
from: GitHub Actions
|
from: GitHub Actions
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: ${{ failure() }}
|
if: ${{ ! success() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: docker-compose-logs-${{ matrix.mode }}-${{ matrix.task }}
|
name: docker-compose-logs-${{ matrix.mode }}-${{ matrix.task }}
|
||||||
@ -340,7 +340,7 @@ jobs:
|
|||||||
bash ../../scripts/export_log_k8s.sh default deploy-testing k8s_logs/second_deploy
|
bash ../../scripts/export_log_k8s.sh default deploy-testing k8s_logs/second_deploy
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: ${{ failure() }}
|
if: ${{ ! success() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: helm-log-${{ matrix.mode }}-${{ matrix.task }}
|
name: helm-log-${{ matrix.mode }}-${{ matrix.task }}
|
||||||
|
@ -185,7 +185,7 @@ jobs:
|
|||||||
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon
|
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: ${{ always() }}
|
if: ${{ ! success() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.pod }}-${{ matrix.chaos_type }}
|
name: logs-${{ matrix.pod }}-${{ matrix.chaos_type }}
|
||||||
|
@ -222,7 +222,7 @@ jobs:
|
|||||||
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon k8s_logs/chaos-mesh-daemon
|
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon k8s_logs/chaos-mesh-daemon
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: ${{ always() }}
|
if: ${{ ! success() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.pod }}
|
name: logs-${{ matrix.pod }}
|
||||||
|
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -222,7 +222,7 @@ jobs:
|
|||||||
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon k8s_logs/chaos-mesh-daemon
|
bash ../../scripts/export_log_k8s.sh chaos-testing chaos-daemon k8s_logs/chaos-mesh-daemon
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: ${{ failure() }}
|
if: ${{ ! success() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.pod }}
|
name: logs-${{ matrix.pod }}
|
||||||
|
Loading…
Reference in New Issue
Block a user