Skip to content

Commit

Permalink
Adjusted RAM Requirements for arm64 Workflows
Browse files Browse the repository at this point in the history
Signed-off-by: fykaa <[email protected]>
  • Loading branch information
fykaa committed Dec 12, 2023
1 parent fe61388 commit 0e8b9b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/robustness-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
count: 80
testTimeout: 200m
artifactName: main-arm64
runs-on: "['actuated-arm64-8cpu-32gb']"
runs-on: "['actuated-arm64-8cpu-8gb']"
release-35:
uses: ./.github/workflows/robustness-template.yaml
with:
Expand All @@ -43,7 +43,7 @@ jobs:
count: 100
testTimeout: 200m
artifactName: release-35-arm64
runs-on: "['actuated-arm64-8cpu-32gb']"
runs-on: "['actuated-arm64-8cpu-8gb']"
release-34:
uses: ./.github/workflows/robustness-template.yaml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/robustness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
count: 12
testTimeout: 30m
artifactName: main-arm64
runs-on: "['actuated-arm64-8cpu-32gb']"
runs-on: "['actuated-arm64-8cpu-8gb']"
11 changes: 5 additions & 6 deletions .github/workflows/tests-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ on:
arch:
required: true
type: string
# runs-on:
# required: true
# type: string
runs-on:
required: true
type: string
permissions: read-all

jobs:
test:
runs-on: ${{ inputs.runs-on }}
# this is to prevent arm64 jobs from running at forked projects
if: inputs.arch == 'arm64' || github.repository == 'etcd-io/etcd'
# this is to tune memory allocation of arm64 architecture
runs-on: ${{ if inputs.arch == 'arm64' then 'actuated-arm64-8cpu-8gb' else inputs.runs-on end }}
if: inputs.arch == 'amd64' || github.repository == 'etcd-io/etcd'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ./.github/workflows/tests-template.yaml
with:
arch: arm64
runs-on: actuated-arm64-8cpu-32gb
runs-on: actuated-arm64-8cpu-8gb

0 comments on commit 0e8b9b2

Please sign in to comment.