diff --git a/.asf.yaml b/.asf.yaml index 1a8f27e5e0..556a0c2658 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -46,6 +46,7 @@ github: - E2E - Docs - Frontend Build + - "E2E-K8S-Result" - "Mergeable: milestone-label-check" - "Title Validator" required_pull_request_reviews: diff --git a/.github/workflows/e2e-k8s.yml b/.github/workflows/e2e-k8s.yml index 9074d97a8c..653ae36edf 100644 --- a/.github/workflows/e2e-k8s.yml +++ b/.github/workflows/e2e-k8s.yml @@ -147,3 +147,20 @@ jobs: done done done + result: + name: E2E-K8S-Result + runs-on: ubuntu-latest + timeout-minutes: 30 + needs: [ e2e-k8s, paths-filter ] + if: always() + steps: + - name: Status + run: | + if [[ ${{ needs.paths-filter.outputs.not-ignore }} == 'false' && ${{ github.event_name }} == 'pull_request' ]]; then + echo "Skip E2E-K8S!" + exit 0 + fi + if [[ ${{ needs.e2e-k8s.result }} != 'success' ]]; then + echo "E2E-K8S Failed!" + exit -1 + fi