Skip to content

Commit

Permalink
Merge pull request #1368 from ty-dc/add-k8s-test
Browse files Browse the repository at this point in the history
CI: Added compatibility test for K8s 1.30
  • Loading branch information
weizhoublue authored May 30, 2024
2 parents d36cf29 + 38b8ceb commit 942130b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/codespell-ignorewords
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ afterall
pullrequest
keypair
shouldnot
controller
controller
NotIn
22 changes: 21 additions & 1 deletion .github/workflows/auto-nightly-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,29 @@ jobs:
ipfamily: dual
justE2E: 'true'

call_ci_v1_29:
# it races to upload images and artifacts when all jobs running , so just call_ci_latest build image
needs: [call_ci_latest]
uses: ./.github/workflows/auto-pr-ci.yaml
secrets: inherit
with:
kindNodeImage: kindest/node:v1.29.4
ipfamily: dual
justE2E: 'true'

call_ci_v1_30:
# it races to upload images and artifacts when all jobs running , so just call_ci_latest build image
needs: [call_ci_latest]
uses: ./.github/workflows/auto-pr-ci.yaml
secrets: inherit
with:
kindNodeImage: kindest/node:v1.30.0
ipfamily: dual
justE2E: 'true'

creat_issue:
runs-on: ubuntu-latest
needs: [call_ci_latest, call_ci_v1_22, call_ci_v1_23, call_ci_v1_24, call_ci_v1_25, call_ci_v1_26, call_ci_v1_27, call_ci_v1_28]
needs: [call_ci_latest, call_ci_v1_22, call_ci_v1_23, call_ci_v1_24, call_ci_v1_25, call_ci_v1_26, call_ci_v1_27, call_ci_v1_28, call_ci_v1_29, call_ci_v1_30]
# https://docs.github.com/en/actions/learn-github-actions/contexts#jobs-context
if: ${{ always() && ( needs.call_ci_latest.result == 'failure' || needs.call_ci_v1_22.result == 'failure' || needs.call_ci_v1_23.result == 'failure' || needs.call_ci_v1_24.result == 'failure' || needs.call_ci_v1_25.result == 'failure' || needs.call_ci_v1_26.result == 'failure' || needs.call_ci_v1_27.result == 'failure' || needs.call_ci_v1_28.result == 'failure') }}
steps:
Expand Down

0 comments on commit 942130b

Please sign in to comment.