File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,14 +16,22 @@ jobs:
1616 client-id : ${{ secrets.SPICE_MANAGEMENT_CLIENT_ID }}
1717 client-secret : ${{ secrets.SPICE_MANAGEMENT_CLIENT_SECRET }}
1818
19- - name : Setup Rust toolchain
20- uses : actions-rust-lang/setup-rust-toolchain@v1
19+ - name : Log in to GHCR
20+ uses : docker/login-action@v3
2121 with :
22- toolchain : 1.91
22+ registry : ghcr.io
23+ username : ${{ github.actor }}
24+ password : ${{ secrets.GITHUB_TOKEN }}
2325
2426 - name : Run spicebench
2527 run : |
26- cargo run -p spicebench -- \
27- --system-adapter-http-url http://localhost:8080/rpc \
28- --system-adapter-execution-mode direct-query \
29- --query-set tpch
28+ docker run \
29+ -e SPICEAI_API_KEY \
30+ -v ${{ github.workspace }}/test/spicepods:/spicepods \
31+ ghcr.io/spiceai/spidapter:latest \
32+ run load \
33+ --spiced-start-api-url https://dev-api.spice.ai \
34+ --concurrency 2 \
35+ --query-set tpch \
36+ --spiced-start-mode spice-cloud \
37+ -p /spicepods/s3-public\[parquet\].yaml
Original file line number Diff line number Diff line change 1+ version : v1
2+ kind : Spicepod
3+ name : s3-public[parquet]-federated
4+ datasets :
5+ - from : s3://spiceai-public-datasets/tpch/customer/customer.parquet
6+ name : customer
7+ params : &s3_params
8+ file_format : parquet
9+ s3_auth : public
10+ - from : s3://spiceai-public-datasets/tpch/lineitem/lineitem.parquet
11+ name : lineitem
12+ params : *s3_params
13+ - from : s3://spiceai-public-datasets/tpch/nation/nation.parquet
14+ name : nation
15+ params : *s3_params
16+ - from : s3://spiceai-public-datasets/tpch/orders/orders.parquet
17+ name : orders
18+ params : *s3_params
19+ - from : s3://spiceai-public-datasets/tpch/part/part.parquet
20+ name : part
21+ params : *s3_params
22+ - from : s3://spiceai-public-datasets/tpch/partsupp/partsupp.parquet
23+ name : partsupp
24+ params : *s3_params
25+ - from : s3://spiceai-public-datasets/tpch/region/region.parquet
26+ name : region
27+ params : *s3_params
28+ - from : s3://spiceai-public-datasets/tpch/supplier/supplier.parquet
29+ name : supplier
30+ params : *s3_params
You can’t perform that action at this time.
0 commit comments