Merge pull request #4116 from jwcesign/fix-schedule-wf-fail
ci: fix schedule ci workflow failure
This commit is contained in:
commit
59b05ae1aa
|
@ -11,6 +11,9 @@ jobs:
|
||||||
if: ${{ github.repository == 'karmada-io/karmada' }}
|
if: ${{ github.repository == 'karmada-io/karmada' }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
|
# max-parallel limits the max number of jobs running at the same time.
|
||||||
|
# We set it to 5 to avoid too many jobs running at the same time, causing the CI to fail because of resource limitations.
|
||||||
|
max-parallel: 5
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
kubeapiserver-version: [ v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0, v1.29.0 ]
|
kubeapiserver-version: [ v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0, v1.29.0 ]
|
||||||
|
@ -51,8 +54,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
- name: setup e2e test environment
|
- name: setup e2e test environment
|
||||||
run: |
|
uses: nick-fields/retry@v2.9.0
|
||||||
hack/local-up-karmada.sh
|
with:
|
||||||
|
max_attempts: 3
|
||||||
|
timeout_minutes: 20
|
||||||
|
command: |
|
||||||
|
hack/local-up-karmada.sh
|
||||||
- name: change kube-apiserver and kube-controller-manager version
|
- name: change kube-apiserver and kube-controller-manager version
|
||||||
run: |
|
run: |
|
||||||
# Update images
|
# Update images
|
||||||
|
|
|
@ -10,6 +10,9 @@ jobs:
|
||||||
if: ${{ github.repository == 'karmada-io/karmada' }}
|
if: ${{ github.repository == 'karmada-io/karmada' }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
|
# max-parallel limits the max number of jobs running at the same time.
|
||||||
|
# We set it to 5 to avoid too many jobs running at the same time, causing the CI to fail because of resource limitations.
|
||||||
|
max-parallel: 5
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [ v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0, v1.29.0 ]
|
k8s: [ v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0, v1.29.0 ]
|
||||||
|
@ -38,7 +41,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: 1.20.11
|
go-version: 1.20.11
|
||||||
- name: setup e2e test environment
|
- name: setup e2e test environment
|
||||||
run: |
|
uses: nick-fields/retry@v2.9.0
|
||||||
|
max_attempts: 3
|
||||||
|
timeout_minutes: 20
|
||||||
|
command: |
|
||||||
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
|
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
|
||||||
hack/local-up-karmada.sh
|
hack/local-up-karmada.sh
|
||||||
- name: run e2e
|
- name: run e2e
|
||||||
|
|
Loading…
Reference in New Issue