|
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' |
|
68 | 67 | K6_VERSION: "1.3.0" |
69 | 68 | VEGETA_VERSION: "12.13.0" |
70 | 69 | # Determine which apps to run (default is 'pro_only' for all triggers) |
71 | | - RUN_CORE: ${{ (github.event.inputs.app_version || 'pro_only') != 'pro_only' && 'true' || '' }} |
72 | | - RUN_PRO: ${{ (github.event.inputs.app_version || 'pro_only') != 'core_only' && 'true' || '' }} |
| 70 | + RUN_CORE: ${{ (github.event.inputs.app_version || 'both') != 'pro_only' && 'true' || '' }} |
| 71 | + RUN_PRO: ${{ (github.event.inputs.app_version || 'both') != 'core_only' && 'true' || '' }} |
73 | 72 | # Benchmark parameters (defaults in bench.rb unless overridden here for CI) |
74 | | - ROUTES: ${{ github.event.inputs.routes }} |
| 73 | + # FIXME: default ROUTES, TOOLS and DURATION are set to speed up tests, remove before merging |
| 74 | + ROUTES: ${{ github.event.inputs.routes || '/' }} |
75 | 75 | RATE: ${{ github.event.inputs.rate || 'max' }} |
76 | | - DURATION: ${{ github.event.inputs.duration }} |
| 76 | + DURATION: ${{ github.event.inputs.duration || '5s' }} |
77 | 77 | REQUEST_TIMEOUT: ${{ github.event.inputs.request_timeout }} |
78 | 78 | CONNECTIONS: ${{ github.event.inputs.connections }} |
79 | 79 | MAX_CONNECTIONS: ${{ github.event.inputs.connections }} |
80 | 80 | WEB_CONCURRENCY: ${{ github.event.inputs.web_concurrency || 4 }} |
81 | 81 | RAILS_MAX_THREADS: ${{ github.event.inputs.rails_threads || 3 }} |
82 | 82 | RAILS_MIN_THREADS: ${{ github.event.inputs.rails_threads || 3 }} |
83 | | - TOOLS: ${{ github.event.inputs.tools }} |
| 83 | + TOOLS: ${{ github.event.inputs.tools || 'fortio' }} |
84 | 84 |
|
85 | 85 | jobs: |
86 | 86 | benchmark: |
|
0 commit comments