Trigger Load Tests #894
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: Trigger Load Tests | |
on: | |
workflow_dispatch: | |
inputs: | |
tests: | |
description: > | |
List of test names. This needs to be filled only if you want to run a specific set of tests. Example: foo,bar | |
required: false | |
clusterName: | |
description: 'Cluster name' | |
default: 'udp-perf-cluster-test' | |
required: false | |
branch: | |
description: 'Branch of the given repository' | |
default: '' | |
required: false | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
call_stdlib_trigger_load_test_workflow: | |
name: Run StdLib Load Test Workflow | |
if: ${{ github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository_owner == 'ballerina-platform') }} | |
uses: ballerina-platform/ballerina-library/.github/workflows/trigger-load-tests-template.yml@main | |
with: | |
repo_name: 'module-ballerina-udp' | |
runtime_artifacts_url: 'https://api.github.com/repos/ballerina-platform/module-ballerina-udp/actions/artifacts' | |
dispatch_type: 'udp-load-test' | |
cluster_name: ${{ inputs.clusterName }} | |
tests: ${{ inputs.tests }} | |
branch: ${{ inputs.branch }} | |
secrets: | |
ballerina_bot_token: ${{ secrets.BALLERINA_BOT_TOKEN }} |