This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 8d5f0c6316 ci: require integration test workflows (#6597) (#7407)
8d5f0c6316 is described below
commit 8d5f0c631691c31aa844a83b19dd8d507fa445f4
Author: JerryčAI <[email protected]>
AuthorDate: Fri Oct 2 20:17:27 2026 +0800
ci: require integration test workflows (#6597) (#7407)
---
.asf.yaml | 2 ++
.github/workflows/integrated-test-k8s-ingress.yml | 40 +++++++++++------------
.github/workflows/integrated-test.yml | 40 +++++++++++------------
3 files changed, 40 insertions(+), 42 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 4370f5a67b..999e5acced 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -38,6 +38,8 @@ github:
- check-license-header
- build
- e2e
+ - it
+ - it-k8s
required_pull_request_reviews:
dismiss_stale_reviews: true
required_approving_review_count: 1
diff --git a/.github/workflows/integrated-test-k8s-ingress.yml
b/.github/workflows/integrated-test-k8s-ingress.yml
index a079b62125..0e145b092d 100644
--- a/.github/workflows/integrated-test-k8s-ingress.yml
+++ b/.github/workflows/integrated-test-k8s-ingress.yml
@@ -17,27 +17,6 @@ name: it-k8s
on:
pull_request:
- paths-ignore:
- - '**.md'
- - '**.txt'
- - '**.png'
- - '**.jpg'
- - '**.jpeg'
- - '**.gif'
- - '**.svg'
- - '**.ico'
- - '**.pdf'
- - '**.doc'
- - '**.docx'
- - 'LICENSE'
- - 'NOTICE'
- - 'DISCLAIMER'
- - '.asf.yaml'
- - '.gitignore'
- - '.licenserc.yaml'
- - '.github/ISSUE_TEMPLATE/**'
- - '.github/PULL_REQUEST_TEMPLATE'
- - '**/resources/static/**'
push:
branches:
- master
@@ -235,3 +214,22 @@ jobs:
echo "Test Successful"
exit 0
fi
+
+ requirement:
+ name: it-k8s
+ if: github.repository == 'apache/shenyu' && always()
+ needs:
+ - changes
+ - build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check Kubernetes integration test status
+ env:
+ CHANGES_RESULT: ${{ needs.changes.result }}
+ RUN_K8S_INGRESS: ${{ needs.changes.outputs.k8s_ingress }}
+ BUILD_RESULT: ${{ needs.build.result }}
+ run: |
+ [[ "$CHANGES_RESULT" == "success" ]] || exit 1
+ if [[ "$RUN_K8S_INGRESS" == "true" ]]; then
+ [[ "$BUILD_RESULT" == "success" ]] || exit 1
+ fi
diff --git a/.github/workflows/integrated-test.yml
b/.github/workflows/integrated-test.yml
index 5d8ab63ebe..e46c9a4175 100644
--- a/.github/workflows/integrated-test.yml
+++ b/.github/workflows/integrated-test.yml
@@ -17,27 +17,6 @@ name: it
on:
pull_request:
- paths-ignore:
- - '**.md'
- - '**.txt'
- - '**.png'
- - '**.jpg'
- - '**.jpeg'
- - '**.gif'
- - '**.svg'
- - '**.ico'
- - '**.pdf'
- - '**.doc'
- - '**.docx'
- - 'LICENSE'
- - 'NOTICE'
- - 'DISCLAIMER'
- - '.asf.yaml'
- - '.gitignore'
- - '.licenserc.yaml'
- - '.github/ISSUE_TEMPLATE/**'
- - '.github/PULL_REQUEST_TEMPLATE'
- - '**/resources/static/**'
push:
branches:
- master
@@ -225,3 +204,22 @@ jobs:
echo "Test Successful"
exit 0
fi
+
+ requirement:
+ name: it
+ if: github.repository == 'apache/shenyu' && always()
+ needs:
+ - changes
+ - build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Check integration test status
+ env:
+ CHANGES_RESULT: ${{ needs.changes.result }}
+ RUN_INTEGRATION: ${{ needs.changes.outputs.run_integration }}
+ BUILD_RESULT: ${{ needs.build.result }}
+ run: |
+ [[ "$CHANGES_RESULT" == "success" ]] || exit 1
+ if [[ "$RUN_INTEGRATION" == "true" ]]; then
+ [[ "$BUILD_RESULT" == "success" ]] || exit 1
+ fi