Fix github action yaml format for `CI Schedule Workflow`
Signed-off-by: Lan Liang <gcslyp@gmail.com>
This commit is contained in:
parent
f054313521
commit
cb498a869d
|
@ -3,6 +3,7 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
# Run this workflow "At 18:00 UTC on Sunday and Saturday"
|
# Run this workflow "At 18:00 UTC on Sunday and Saturday"
|
||||||
- cron: '0 18 * * 0,6'
|
- cron: '0 18 * * 0,6'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e:
|
e2e:
|
||||||
name: e2e test
|
name: e2e test
|
||||||
|
@ -42,11 +43,12 @@ jobs:
|
||||||
go-version: 1.20.11
|
go-version: 1.20.11
|
||||||
- name: setup e2e test environment
|
- name: setup e2e test environment
|
||||||
uses: nick-fields/retry@v2.9.0
|
uses: nick-fields/retry@v2.9.0
|
||||||
max_attempts: 3
|
with:
|
||||||
timeout_minutes: 20
|
max_attempts: 3
|
||||||
command: |
|
timeout_minutes: 20
|
||||||
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
|
command: |
|
||||||
hack/local-up-karmada.sh
|
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
|
||||||
|
hack/local-up-karmada.sh
|
||||||
- name: run e2e
|
- name: run e2e
|
||||||
run: |
|
run: |
|
||||||
export ARTIFACTS_PATH=${{ github.workspace }}/karmada-e2e-logs/${{ matrix.k8s }}/
|
export ARTIFACTS_PATH=${{ github.workspace }}/karmada-e2e-logs/${{ matrix.k8s }}/
|
||||||
|
|
Loading…
Reference in New Issue