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:
Benjamin Wang
2023-11-24 09:54:25 +00:00
committed by GitHub
2 changed files with 2 additions and 30 deletions

View File

@ -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

View File

@ -1,11 +1,6 @@
---
name: Reusable Arm64 E2E Workflow
on:
workflow_call:
inputs:
etcdBranch:
required: true
type: string
name: E2E-Arm64
on: [push, pull_request]
permissions: read-all
jobs:
test:
@ -19,8 +14,6 @@ jobs:
- linux-arm64-e2e
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: "${{ inputs.etcdBranch }}"
- id: goversion
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0