-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 1.02 KB
/
run_spicebench.yml
File metadata and controls
37 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run spicebench
on:
workflow_dispatch:
jobs:
run-spicebench:
name: Run spicebench
runs-on: ubuntu-latest
timeout-minutes: 600
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/management-login
with:
client-id: ${{ secrets.SPICE_MANAGEMENT_CLIENT_ID }}
client-secret: ${{ secrets.SPICE_MANAGEMENT_CLIENT_SECRET }}
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run spicebench
run: |
docker run \
-e SPICEAI_API_KEY \
-v ${{ github.workspace }}/test/spicepods:/spicepods \
ghcr.io/spiceai/spidapter:latest \
run load \
--spiced-start-api-url https://dev-api.spice.ai \
--concurrency 2 \
--query-set tpch \
--spiced-start-mode spice-cloud \
-p /spicepods/s3-public\[parquet\].yaml