mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Templated arm64 e2e workflows for main and release-3.5.
Signed-off-by: James Blair <mail@jamesblair.net>
This commit is contained in:
parent
4ea8da7df2
commit
856790de36
19
.github/workflows/e2e-arm64-nightly.yaml
vendored
Normal file
19
.github/workflows/e2e-arm64-nightly.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
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.
|
||||
jobs:
|
||||
main-arm64:
|
||||
uses: ./.github/workflows/e2e-arm64-template.yaml
|
||||
with:
|
||||
etcdBranch: main
|
||||
e2eTestCmd: make test-e2e-release
|
||||
release-35-arm64:
|
||||
uses: ./.github/workflows/e2e-arm64-template.yaml
|
||||
with:
|
||||
etcdBranch: release-3.5
|
||||
e2eTestCmd: PASSES='build e2e' COVER='false' ./test.sh
|
@ -1,8 +1,14 @@
|
||||
---
|
||||
name: E2E-arm64
|
||||
name: Reusable Arm64 E2E Workflow
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *' # runs daily at 1am.
|
||||
workflow_call:
|
||||
inputs:
|
||||
etcdBranch:
|
||||
required: true
|
||||
type: string
|
||||
e2eTestCmd:
|
||||
required: false
|
||||
type: string
|
||||
permissions: read-all
|
||||
jobs:
|
||||
test:
|
||||
@ -20,6 +26,8 @@ jobs:
|
||||
- linux-arm64-e2e
|
||||
steps:
|
||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||
with:
|
||||
ref: "${{ inputs.etcdBranch }}"
|
||||
# https://github.com/actions/checkout/issues/1169
|
||||
- run: git config --system --add safe.directory '*'
|
||||
- id: goversion
|
||||
@ -36,7 +44,7 @@ jobs:
|
||||
echo "${TARGET}"
|
||||
case "${TARGET}" in
|
||||
linux-arm64-e2e)
|
||||
GOOS=linux GOARCH=arm64 CPU=4 EXPECT_DEBUG=true RACE=true make test-e2e-release
|
||||
GOOS=linux GOARCH=arm64 CPU=4 EXPECT_DEBUG=true RACE=true ${{ inputs.e2eTestCmd }}
|
||||
;;
|
||||
*)
|
||||
echo "Failed to find target"
|
Loading…
x
Reference in New Issue
Block a user