tuned memory allocation for arm64 workflows of e2e and tests-template yaml file

Signed-off-by: fykaa <faeka6@gmail.com>
This commit is contained in:
fykaa
2023-12-11 22:22:45 +05:30
parent a49a867960
commit fe61388dcf
2 changed files with 7 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ jobs:
test:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: actuated-arm64-8cpu-32gb
runs-on: actuated-arm64-8cpu-8gb
strategy:
fail-fast: false
matrix:

View File

@@ -6,16 +6,17 @@ 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 == 'amd64' || github.repository == 'etcd-io/etcd'
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 }}
strategy:
fail-fast: false
matrix: