|
51 | 51 | app_version: |
52 | 52 | description: 'Which app version to benchmark' |
53 | 53 | required: false |
54 | | - # FIXME: for debugging, restore 'both' before merging |
55 | | - default: 'pro_only' |
| 54 | + default: 'both' |
56 | 55 | type: choice |
57 | 56 | options: |
58 | 57 | - 'both' |
|
73 | 72 | K6_VERSION: "1.3.0" |
74 | 73 | VEGETA_VERSION: "12.13.0" |
75 | 74 | # Determine which apps to run (default is 'pro_only' for all triggers) |
76 | | - RUN_CORE: ${{ (github.event.inputs.app_version || 'pro_only') != 'pro_only' && 'true' || '' }} |
77 | | - RUN_PRO: ${{ (github.event.inputs.app_version || 'pro_only') != 'core_only' && 'true' || '' }} |
| 75 | + RUN_CORE: ${{ (github.event.inputs.app_version || 'both') != 'pro_only' && 'true' || '' }} |
| 76 | + RUN_PRO: ${{ (github.event.inputs.app_version || 'both') != 'core_only' && 'true' || '' }} |
78 | 77 | # Benchmark parameters (defaults in bench.rb unless overridden here for CI) |
79 | | - ROUTES: ${{ github.event.inputs.routes }} |
| 78 | + # FIXME: default ROUTES, TOOLS and DURATION are set to speed up tests, remove before merging |
| 79 | + ROUTES: ${{ github.event.inputs.routes || '/' }} |
80 | 80 | RATE: ${{ github.event.inputs.rate || 'max' }} |
81 | | - DURATION: ${{ github.event.inputs.duration }} |
| 81 | + DURATION: ${{ github.event.inputs.duration || '5s' }} |
82 | 82 | REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout }} |
83 | 83 | CONNECTIONS: ${{ github.event.inputs.connections }} |
84 | 84 | MAX_CONNECTIONS: ${{ github.event.inputs.connections }} |
85 | 85 | WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || 4 }} |
86 | 86 | RAILS_MAX_THREADS: ${{ github.event.inputs.rails_threads || 3 }} |
87 | 87 | RAILS_MIN_THREADS: ${{ github.event.inputs.rails_threads || 3 }} |
88 | | - TOOLS: ${{ github.event.inputs.tools }} |
| 88 | + TOOLS: ${{ github.event.inputs.tools || 'fortio' }} |
89 | 89 |
|
90 | 90 | jobs: |
91 | 91 | benchmark: |
|
0 commit comments