Skip to content

Commit

Permalink
Run robustness tests on arm64.
Browse files Browse the repository at this point in the history
Signed-off-by: James Blair <mail@jamesblair.net>
  • Loading branch information
jmhbnz committed May 12, 2023
1 parent 2a0c989 commit a40a040
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
test:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [Linux, ARM64]
runs-on: [self-hosted, Linux, ARM64]
needs: goversion
strategy:
fail-fast: true
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/robustness-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:
count: 100
testTimeout: 200m
artifactName: main
main-arm64:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: main
count: 100
testTimeout: 200m
artifactName: main-arm64
runs-on: "['self-hosted', 'Linux', 'ARM64']"
release-35:
uses: ./.github/workflows/robustness-template.yaml
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/robustness-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ on:
artifactName:
required: true
type: string
runs-on:
required: false
type: string
default: "['ubuntu-latest']"
permissions: read-all
jobs:
goversion:
uses: ./.github/workflows/go-version.yaml
test:
timeout-minutes: 210
runs-on: ubuntu-latest
runs-on: ${{ fromJson(inputs.runs-on) }}
needs: goversion
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/robustness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ jobs:
count: 15
testTimeout: 30m
artifactName: main
main-arm64:
uses: ./.github/workflows/robustness-template.yaml
with:
etcdBranch: main
count: 15
testTimeout: 30m
artifactName: main-arm64
runs-on: "['self-hosted', 'Linux', 'ARM64']"
2 changes: 1 addition & 1 deletion .github/workflows/tests-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [Linux, ARM64]
runs-on: [self-hosted, Linux, ARM64]
needs: goversion
strategy:
fail-fast: false
Expand Down

0 comments on commit a40a040

Please sign in to comment.