Skip to content

Commit 91ce569

Browse files
committed
Merge remote-tracking branch 'origin/fix/ci-inline-quickstart-dataset' into merge/ci-fix
2 parents 46f2ed3 + d4b59a5 commit 91ce569

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,20 @@ jobs:
159159
run: |
160160
spice init spice_qs
161161
cd spice_qs
162-
spice add spiceai/quickstart
162+
# Define the dataset inline rather than fetching spiceai/quickstart from
163+
# the Spicepod registry, which currently returns a body the CLI cannot
164+
# unpack ("Failed to extract Spicepod archive: Could not find EOCD").
165+
cat >> spicepod.yaml <<'YAML'
166+
167+
datasets:
168+
- from: s3://spiceai-demo-datasets/taxi_trips/2024/
169+
name: taxi_trips
170+
description: taxi trips in s3
171+
params:
172+
file_format: parquet
173+
acceleration:
174+
enabled: true
175+
YAML
163176
spice run &> spice.log &
164177
# time to initialize added dataset
165178
sleep 10
@@ -169,7 +182,20 @@ jobs:
169182
run: |
170183
spice init spice_qs
171184
cd spice_qs
172-
spice add spiceai/quickstart
185+
# Define the dataset inline rather than fetching spiceai/quickstart from
186+
# the Spicepod registry, which currently returns a body the CLI cannot
187+
# unpack ("Failed to extract Spicepod archive: Could not find EOCD").
188+
@'
189+
190+
datasets:
191+
- from: s3://spiceai-demo-datasets/taxi_trips/2024/
192+
name: taxi_trips
193+
description: taxi trips in s3
194+
params:
195+
file_format: parquet
196+
acceleration:
197+
enabled: true
198+
'@ | Add-Content -Path spicepod.yaml
173199
Start-Process -FilePath spice run
174200
# time to initialize added dataset
175201
Start-Sleep -Seconds 10

0 commit comments

Comments
 (0)