3232 required : false
3333 default : ' 100'
3434 type : string
35- runner_type :
36- required : false
37- default : ' ubuntu-latest'
38- type : string
3935 secrets :
40- AWS_ACCESS_KEY_ID :
36+ MINIO_ENDPOINT :
37+ required : true
38+ MINIO_ACCESS_KEY_ID :
4139 required : true
42- AWS_SECRET_ACCESS_KEY :
40+ MINIO_SECRET_ACCESS_KEY :
4341 required : true
4442 workflow_dispatch :
4543 inputs :
4846 required : true
4947 default : ' tpch'
5048 type : string
51- runner_type :
52- description : ' GitHub runner label to execute on'
53- required : false
54- default : ' spiceai-macos'
55- type : string
5649 scale_factor :
5750 description : ' TPC-H scale factor'
5851 required : true
8780jobs :
8881 run-data-generation :
8982 name : Run data generation
90- runs-on : ${{ inputs.runner_type || github.event.inputs.runner_type || 'ubuntu-latest' }}
83+ runs-on : spiceai-dev-runners
9184 timeout-minutes : 600
9285 steps :
9386 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
@@ -123,8 +116,9 @@ jobs:
123116 PREFIX : ${{ inputs.prefix || github.event.inputs.prefix || 'data-gen' }}
124117 REGION : ${{ inputs.region || github.event.inputs.region || 'us-east-1' }}
125118 NUM_STEPS : ${{ inputs.num_steps || github.event.inputs.num_steps || '25' }}
126- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
127- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
119+ MINIO_ENDPOINT : ${{ secrets.MINIO_ENDPOINT }}
120+ AWS_ACCESS_KEY_ID : ${{ secrets.MINIO_ACCESS_KEY_ID }}
121+ AWS_SECRET_ACCESS_KEY : ${{ secrets.MINIO_SECRET_ACCESS_KEY }}
128122 RUST_LOG : info
129123 run : |
130124 ARGS="--dataset ${SCENARIO}"
@@ -134,6 +128,7 @@ jobs:
134128 ARGS="${ARGS} --prefix ${PREFIX}"
135129 ARGS="${ARGS} --region ${REGION}"
136130 ARGS="${ARGS} --num-steps ${NUM_STEPS}"
131+ ARGS="${ARGS} --endpoint ${MINIO_ENDPOINT}"
137132
138133 echo "Running: data-generation run ${ARGS}"
139134 ~/.spice/bin/data-generation run ${ARGS}
@@ -162,8 +157,9 @@ jobs:
162157 PREFIX : ${{ inputs.prefix || github.event.inputs.prefix || 'data-gen' }}
163158 REGION : ${{ inputs.region || github.event.inputs.region || 'us-east-1' }}
164159 CHECKPOINT_INTERVAL_STEPS : ${{ inputs.checkpoint_interval_steps || github.event.inputs.checkpoint_interval_steps || '100' }}
165- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
166- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
160+ MINIO_ENDPOINT : ${{ secrets.MINIO_ENDPOINT }}
161+ AWS_ACCESS_KEY_ID : ${{ secrets.MINIO_ACCESS_KEY_ID }}
162+ AWS_SECRET_ACCESS_KEY : ${{ secrets.MINIO_SECRET_ACCESS_KEY }}
167163 RUST_LOG : info
168164 run : |
169165 VERSION=$(python3 - <<'PY'
@@ -191,6 +187,7 @@ jobs:
191187 fi
192188
193189 ARGS="${ARGS} --checkpoint-interval-steps ${CHECKPOINT_INTERVAL_STEPS}"
190+ ARGS="${ARGS} --endpoint ${MINIO_ENDPOINT}"
194191
195192 echo "Running: checkpointer ${ARGS}"
196193 ~/.spice/bin/checkpointer ${ARGS}
0 commit comments