Merge pull request #16950 from mingli103/e2e-test-arm64
etcd-e2d-test:rename e2e-arm64 file and runs it on every pull request…
This commit is contained in:
21
.github/workflows/e2e-arm64-nightly.yaml
vendored
21
.github/workflows/e2e-arm64-nightly.yaml
vendored
@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
name: E2E Arm64 Nightly
|
|
||||||
permissions: read-all
|
|
||||||
on:
|
|
||||||
# schedules always run against the main branch, hence we have to create separate jobs
|
|
||||||
# with individual checkout actions for each of the active release branches
|
|
||||||
schedule:
|
|
||||||
- cron: '30 1 * * *' # runs daily at 1:30 am.
|
|
||||||
|
|
||||||
# workflow_dispatch enables manual testing of this job by maintainers
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
main-arm64:
|
|
||||||
uses: ./.github/workflows/e2e-arm64-template.yaml
|
|
||||||
with:
|
|
||||||
etcdBranch: main
|
|
||||||
release-35-arm64:
|
|
||||||
uses: ./.github/workflows/e2e-arm64-template.yaml
|
|
||||||
with:
|
|
||||||
etcdBranch: release-3.5
|
|
@ -1,11 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Reusable Arm64 E2E Workflow
|
name: E2E-Arm64
|
||||||
on:
|
on: [push, pull_request]
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
etcdBranch:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -19,8 +14,6 @@ jobs:
|
|||||||
- linux-arm64-e2e
|
- linux-arm64-e2e
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
|
||||||
ref: "${{ inputs.etcdBranch }}"
|
|
||||||
- id: goversion
|
- id: goversion
|
||||||
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||||
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
|
Reference in New Issue
Block a user