performance test for runner test sut StarScream workload load service star-scream tool k6 #618
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Run performance test | |
run-name: performance test for runner ${{ github.event.inputs.runner }} sut ${{ github.event.inputs.systemUnderTest }} workload ${{ github.event.inputs.workload }} service ${{ github.event.inputs.service }} tool ${{ github.event.inputs.tool }} | |
on: | |
workflow_dispatch: | |
# Inputs the workflow accepts. | |
inputs: | |
systemUnderTest: | |
description: 'System Under Test' | |
required: true | |
default: 'OptimusPrime' | |
type: choice | |
options: | |
- OptimusPrime | |
- JetFire | |
- BumbleBee | |
- StarScream | |
workload: | |
description: 'Workload' | |
required: true | |
default: 'load' | |
type: choice | |
options: | |
- load | |
- stress | |
service: | |
description: 'Service name' | |
required: true | |
default: 'optimus-prime' | |
type: choice | |
options: | |
- optimus-prime | |
- jet-fire | |
- bumble-bee | |
- star-scream | |
tool: | |
description: 'Load test tool' | |
required: true | |
default: 'gatling' | |
type: choice | |
options: | |
- gatling | |
- gatling-docker | |
- jmeter | |
- k6 | |
- locust | |
- neoload | |
annotations: | |
description: 'Test run annotation' | |
type: string | |
required: false | |
runner: | |
description: 'Runner environment' | |
default: 'demo' | |
type: choice | |
options: | |
- acme | |
- acme-0 | |
- test | |
jobs: | |
performance-test-gatling: | |
uses: perfana/afterburner/.github/workflows/run-gatling-test.yml@main | |
if: inputs.tool == 'gatling' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |
runner: ${{ inputs.runner }} | |
performance-test-gatling-docker: | |
uses: perfana/afterburner/.github/workflows/run-gatling-docker-test.yml@main | |
if: inputs.tool == 'gatling-docker' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |
runner: ${{ inputs.runner }} | |
performance-test-k6: | |
uses: perfana/afterburner/.github/workflows/run-k6-test.yml@main | |
if: inputs.tool == 'k6' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |
runner: ${{ inputs.runner }} | |
performance-test-jmeter: | |
uses: perfana/afterburner/.github/workflows/run-jmeter-test.yml@main | |
if: inputs.tool == 'jmeter' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |
runner: ${{ inputs.runner }} | |
performance-test-locust: | |
uses: perfana/afterburner/.github/workflows/run-locust-test.yml@main | |
if: inputs.tool == 'locust' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |
performance-test-neoload: | |
uses: perfana/afterburner/.github/workflows/run-neoload-test.yml@main | |
if: inputs.tool == 'neoload' | |
secrets: inherit | |
with: | |
systemUnderTest: ${{ inputs.systemUnderTest }} | |
workload: ${{ inputs.workload }} | |
service: ${{ inputs.service }} | |
annotations: ${{ inputs.annotations }} | |