|
5 | 5 | workflow_dispatch: |
6 | 6 | inputs: |
7 | 7 | scenario: |
8 | | - description: 'Scenario/query set to run (e.g. tpch)' |
| 8 | + description: "Scenario/query set to run (e.g. tpch)" |
9 | 9 | required: true |
10 | | - default: 'tpch' |
| 10 | + default: "tpch" |
11 | 11 | type: string |
12 | 12 | run_data_generation: |
13 | | - description: 'Run data-generation before spicebench' |
| 13 | + description: "Run data-generation before spicebench" |
14 | 14 | required: false |
15 | 15 | default: false |
16 | 16 | type: boolean |
17 | 17 | data_generation_runner_type: |
18 | | - description: 'Runner label for data-generation job' |
| 18 | + description: "Runner label for data-generation job" |
19 | 19 | required: false |
20 | | - default: 'ubuntu-latest' |
| 20 | + default: "ubuntu-latest" |
21 | 21 | type: string |
22 | 22 | data_generation_scale_factor: |
23 | | - description: 'Data-generation scale factor' |
| 23 | + description: "Data-generation scale factor" |
24 | 24 | required: false |
25 | | - default: '1.0' |
| 25 | + default: "1.0" |
26 | 26 | type: string |
27 | 27 | data_generation_bucket: |
28 | | - description: 'S3 bucket for generated data (required if run_data_generation=true)' |
| 28 | + description: "S3 bucket for generated data (required if run_data_generation=true)" |
29 | 29 | required: false |
30 | 30 | type: string |
31 | 31 | data_generation_prefix: |
32 | | - description: 'Base S3 prefix for generated data (scenario appended automatically)' |
| 32 | + description: "Base S3 prefix for generated data (scenario appended automatically)" |
33 | 33 | required: false |
34 | | - default: 'data-gen' |
| 34 | + default: "data-gen" |
35 | 35 | type: string |
36 | 36 | data_generation_max_concurrency: |
37 | | - description: 'Data-generation max concurrent S3 writes' |
| 37 | + description: "Data-generation max concurrent S3 writes" |
38 | 38 | required: false |
39 | | - default: '8' |
| 39 | + default: "8" |
40 | 40 | type: string |
41 | 41 | data_generation_region: |
42 | | - description: 'AWS region for data-generation' |
| 42 | + description: "AWS region for data-generation" |
43 | 43 | required: false |
44 | | - default: 'us-east-1' |
| 44 | + default: "us-east-1" |
45 | 45 | type: string |
46 | 46 | data_generation_skip_initial: |
47 | | - description: 'Skip data-generation initial ingest' |
| 47 | + description: "Skip data-generation initial ingest" |
48 | 48 | required: false |
49 | 49 | default: false |
50 | 50 | type: boolean |
@@ -96,17 +96,15 @@ jobs: |
96 | 96 | curl -LsSf https://dbc.columnar.tech/install.sh | sh |
97 | 97 | dbc install flightsql |
98 | 98 |
|
99 | | -
|
100 | 99 | - name: Run spicebench |
101 | 100 | env: |
102 | 101 | SPICEAI_API_KEY: ${{ env.SPICEAI_API_KEY }} |
103 | 102 | SPICE_CLOUD_API_URL: https://dev-api.spice.ai |
104 | 103 | SPICEAI_BENCHMARK_METRICS_KEY: ${{ secrets.SPICEAI_BENCHMARK_METRICS_KEY }} |
105 | | - RUSTFLAGS: '-A warnings' |
106 | 104 | SCENARIO: ${{ github.event.inputs.scenario || 'tpch' }} |
107 | 105 | run: | |
108 | 106 | ~/.spice/bin/spicebench \ |
109 | 107 | --concurrency 2 \ |
110 | | - --query-set "${SCENARIO}" \ |
| 108 | + --scenario "${SCENARIO}" \ |
111 | 109 | --system-adapter-stdio-cmd docker \ |
112 | 110 | --system-adapter-stdio-args "run -i -e SPICEAI_API_KEY -e SPICE_CLOUD_API_URL ghcr.io/spiceai/spidapter:latest stdio --verbose" |
0 commit comments