Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHA] Use spot VM for executor-performance #8677

Merged
merged 4 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/execution-performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ on:

jobs:
execution-performance:
uses: aptos-labs/aptos-core/.github/workflows/workflow-run-execution-performance.yaml@main
uses: ./.github/workflows/workflow-run-execution-performance.yaml
secrets: inherit
with:
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
RUNNER_NAME: executor-benchmark-runner

spot-runner-execution-performance:
uses: ./.github/workflows/workflow-run-execution-performance.yaml
secrets: inherit
with:
GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
RUNNER_NAME: spot-runner
18 changes: 15 additions & 3 deletions .github/workflows/workflow-run-execution-performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
required: true
type: string
description: The git SHA1 to test.
RUNNER_NAME:
required: false
default: executor-benchmark-runner
type: string
# This allows the workflow to be triggered manually from the Github UI or CLI
# NOTE: because the "number" type is not supported, we default to 720 minute timeout
workflow_dispatch:
Expand All @@ -16,11 +20,19 @@ on:
required: true
type: string
description: The git SHA1 to test.
RUNNER_NAME:
required: false
default: executor-benchmark-runner
type: choice
options:
- spot-runner
- executor-benchmark-runner
description: The name of the runner to use for the test.

jobs:
sequential-execution-performance:
timeout-minutes: 30
runs-on: executor-benchmark-runner
runs-on: ${{ inputs.RUNNER_NAME }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
Expand All @@ -36,7 +48,7 @@ jobs:

parallel-execution-performance:
timeout-minutes: 60
runs-on: executor-benchmark-runner
runs-on: ${{ inputs.RUNNER_NAME }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
Expand All @@ -52,7 +64,7 @@ jobs:

single-node-performance:
timeout-minutes: 60
runs-on: executor-benchmark-runner
runs-on: ${{ inputs.RUNNER_NAME }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
with:
Expand Down