diff --git a/.github/workflows/execution-performance.yaml b/.github/workflows/execution-performance.yaml index 67216ee58e3f6d..970839dca8eecc 100644 --- a/.github/workflows/execution-performance.yaml +++ b/.github/workflows/execution-performance.yaml @@ -7,4 +7,12 @@ jobs: uses: aptos-labs/aptos-core/.github/workflows/workflow-run-execution-performance.yaml@main secrets: inherit with: - GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} \ No newline at end of file + GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} + RUNNER_NAME: executor-benchmark-runner + + spot-runner-execution-performance: + uses: aptos-labs/aptos-core/.github/workflows/workflow-run-execution-performance.yaml@main + secrets: inherit + with: + GIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} + RUNNER_NAME: spot-runner \ No newline at end of file diff --git a/.github/workflows/workflow-run-execution-performance.yaml b/.github/workflows/workflow-run-execution-performance.yaml index 4e287330221476..fcb5c6f8ffb89b 100644 --- a/.github/workflows/workflow-run-execution-performance.yaml +++ b/.github/workflows/workflow-run-execution-performance.yaml @@ -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: @@ -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: @@ -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: @@ -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: