Skip to content

Commit 2efb615

Browse files
committed
revert debug script
1 parent aea7958 commit 2efb615

1 file changed

Lines changed: 35 additions & 36 deletions

File tree

.github/workflows/run_spicebench_debug_spice_cloud.yml

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,86 +5,86 @@ on:
55
workflow_dispatch:
66
inputs:
77
system_under_test:
8-
description: "System under test"
8+
description: 'System under test'
99
required: true
1010
default: spice_cloud
1111
type: choice
1212
options:
1313
- spice_cloud
1414
environment:
15-
description: "Target Spice Cloud Environment"
15+
description: 'Target Spice Cloud Environment'
1616
required: true
17-
default: "dev"
17+
default: 'dev'
1818
type: choice
1919
options:
2020
- dev
2121
- prod
2222
scenario:
23-
description: "Scenario/query set to run (e.g. tpch)"
23+
description: 'Scenario/query set to run (e.g. tpch)'
2424
required: true
25-
default: "tpch"
25+
default: 'tpch'
2626
type: string
2727
etl_type:
28-
description: "ETL type"
28+
description: 'ETL type'
2929
required: true
30-
default: "events"
30+
default: 'events'
3131
type: choice
3232
options:
3333
- events
3434
- changes
3535
scale_factor:
36-
description: "Scale Factor"
36+
description: 'Scale Factor'
3737
required: true
38-
default: "1"
38+
default: '1'
3939
type: choice
4040
options:
41-
- "0.1"
42-
- "1"
43-
- "10"
41+
- '0.1'
42+
- '1'
43+
- '10'
4444
spidapter_version:
45-
description: "Spidapter image version tag (e.g. latest, v1.0.0)"
45+
description: 'Spidapter image version tag (e.g. latest, v1.0.0)'
4646
required: false
47-
default: "latest"
47+
default: 'latest'
4848
type: string
4949
num_query_clients:
50-
description: "Number of concurrent query clients"
50+
description: 'Number of concurrent query clients'
5151
required: false
52-
default: "2"
52+
default: '2'
5353
type: string
5454
enable_module_debug_logging:
55-
description: "Enable debug logs"
55+
description: 'Enable debug logs'
5656
required: false
5757
default: false
5858
type: boolean
5959
disable_teardown:
60-
description: "Skip the teardown RPC call to the system adapter"
60+
description: 'Skip the teardown RPC call to the system adapter'
6161
required: false
6262
default: false
6363
type: boolean
6464
enable_pvc:
65-
description: "Enable PVC block storage for scheduler and executor pods (sizes are derived from scale_factor)"
65+
description: 'Enable PVC block storage for scheduler and executor pods (sizes are derived from scale_factor)'
6666
required: false
6767
default: false
6868
type: boolean
6969
executor_replicas:
70-
description: "Number of executor replicas"
70+
description: 'Number of executor replicas'
7171
required: false
72-
default: "4"
72+
default: '4'
7373
type: string
7474
app_memory_limit:
75-
description: "Memory limit for the scheduler (app) pod (e.g. 16Gi, 20Gi)"
75+
description: 'Memory limit for the scheduler (app) pod (e.g. 16Gi, 20Gi)'
7676
required: false
77-
default: "16Gi"
77+
default: '16Gi'
7878
type: string
7979
executor_memory_limit:
80-
description: "Memory limit for the executor pod (e.g. 16Gi, 62Gi)"
80+
description: 'Memory limit for the executor pod (e.g. 16Gi, 62Gi)'
8181
required: false
82-
default: "16Gi"
82+
default: '16Gi'
8383
type: string
8484
custom_image:
85-
description: "Custom runtime container image (e.g. ghcr.io/spiceai/spiceai-dev:spicebench-sf10). Overrides the default channel image. Requires the internal update channel on the target SCP environment."
85+
description: 'Custom runtime container image (e.g. ghcr.io/spiceai/spiceai-dev:spicebench-sf10). Overrides the default channel image. Requires the internal update channel on the target SCP environment.'
8686
required: false
87-
default: ""
87+
default: ''
8888
type: string
8989
jobs:
9090
run-spicebench:
@@ -155,15 +155,15 @@ jobs:
155155
SYSTEM_UNDER_TEST: ${{ github.event.inputs.system_under_test || 'spice_cloud' }}
156156
SYSTEM_ADAPTER: ${{ github.event.inputs.system_under_test || 'spice_cloud' }}
157157
NUM_QUERY_CLIENTS: ${{ github.event.inputs.num_query_clients || '2' }}
158-
ETL_BUCKET: "spicebench"
158+
ETL_BUCKET: 'spicebench'
159159
ETL_PREFIX: ${{ github.event.inputs.etl_type == 'changes' && 'data-gen-mutable' || 'data-gen' }}
160160
SCALE_FACTOR: ${{ github.event.inputs.scale_factor || '1' }}
161-
ETL_REGION: "us-east-1"
162-
ETL_SINK: "adbc"
163-
SCHEDULER_STATE_LOCATION: "s3://spiceai-testing-cluster-state/spicebench-scheduler-state-${{ github.run_id }}/"
164-
VALIDATE_CHECKPOINT_RESULTS: "true"
161+
ETL_REGION: 'us-east-1'
162+
ETL_SINK: 'adbc'
163+
SCHEDULER_STATE_LOCATION: 's3://spiceai-testing-cluster-state/spicebench-scheduler-state-${{ github.run_id }}/'
164+
VALIDATE_CHECKPOINT_RESULTS: 'true'
165165
ENABLE_MODULE_DEBUG_LOGGING: ${{ github.event.inputs.enable_module_debug_logging || 'false' }}
166-
SCRAPE_SUT_METRICS: "true"
166+
SCRAPE_SUT_METRICS: 'true'
167167
SPICEAI_BENCHMARK_METRICS_KEY: ${{ secrets.SPICEAI_BENCHMARK_METRICS_KEY }}
168168
MINIO_ENDPOINT: ${{ secrets.MINIO_ENDPOINT }}
169169
AWS_ACCESS_KEY_ID: ${{ secrets.MINIO_ACCESS_KEY_ID }}
@@ -177,7 +177,7 @@ jobs:
177177
EXECUTOR_REPLICAS: ${{ github.event.inputs.executor_replicas || '4' }}
178178
SPIDAPTER_APP_MEMORY_LIMIT: ${{ github.event.inputs.app_memory_limit || '16Gi' }}
179179
SPIDAPTER_EXECUTOR_MEMORY_LIMIT: ${{ github.event.inputs.executor_memory_limit || '16Gi' }}
180-
SPIDAPTER_ORGANIZATION_TAG: "spicehq"
180+
SPIDAPTER_ORGANIZATION_TAG: 'spicehq'
181181
CUSTOM_IMAGE: ${{ github.event.inputs.custom_image || '' }}
182182
run: |
183183
set -euo pipefail
@@ -221,7 +221,6 @@ jobs:
221221
export SPICEBENCH_ADBC_UPDATE_STRATEGY=bulk_ingest_upsert
222222
export SPICEBENCH_ADBC_FLUSH_STREAM_BEFORE_UPSERT=true
223223
export SPICEBENCH_ADBC_DELETE_BATCH_SIZE=50000
224-
export SPICEBENCH_ADBC_SINK_POOL_SIZE=1
225224
ADAPTER_CMD="docker"
226225
ADAPTER_DOCKER_OPTS="run -i -e SPIDAPTER_EXECUTOR_REPLICAS=${EXECUTOR_REPLICAS} -e SPICEAI_API_KEY -e SPICE_CLOUD_API_URL -e AWS_ACCESS_KEY_ID=${S3_AWS_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${S3_AWS_SECRET_ACCESS_KEY} -e SPIDAPTER_ICEBERG_REGION -e SPIDAPTER_ICEBERG_CATALOG_FROM -e SCHEDULER_STATE_LOCATION"
227226
@@ -246,7 +245,7 @@ jobs:
246245
SPIDAPTER_IMAGE_NAME="${IMAGE_WITHOUT_TAG#*/}"
247246
248247
echo "Custom image: registry=${SPIDAPTER_IMAGE_REGISTRY}, name=${SPIDAPTER_IMAGE_NAME}, tag=${SPIDAPTER_IMAGE_TAG}"
249-
ADAPTER_DOCKER_OPTS="${ADAPTER_DOCKER_OPTS} -e SPIDAPTER_IMAGE_REGISTRY=${SPIDAPTER_IMAGE_REGISTRY} -e SPIDAPTER_IMAGE_NAME=${SPIDAPTER_IMAGE_NAME} -e SPIDAPTER_QUERY_MEMORY_LIMIT=500Gi"
248+
ADAPTER_DOCKER_OPTS="${ADAPTER_DOCKER_OPTS} -e SPIDAPTER_IMAGE_REGISTRY=${SPIDAPTER_IMAGE_REGISTRY} -e SPIDAPTER_IMAGE_NAME=${SPIDAPTER_IMAGE_NAME}"
250249
if [ -n "${SPIDAPTER_IMAGE_TAG}" ]; then
251250
ADAPTER_DOCKER_OPTS="${ADAPTER_DOCKER_OPTS} -e SPIDAPTER_IMAGE_TAG=${SPIDAPTER_IMAGE_TAG}"
252251
fi

0 commit comments

Comments
 (0)