@@ -252,97 +252,13 @@ case "$cmd" in
252252 test|test_cmds|gke|build|gcp_auth)
253253 $cmd
254254 ;;
255- " test-kind-smoke" )
256- OVERRIDES=" telemetry.enabled=false,bot.enabled=false" \
257- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
258- ./scripts/test_k8s.sh kind src/spartan/smoke.test.ts 1-validators.yaml smoke${NAME_POSTFIX:- }
259- ;;
260- " test-kind-4epochs" )
261- # TODO(#12163) reenable bot once not conflicting with transfer
262- OVERRIDES=" bot.enabled=false" \
263- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
264- ./scripts/test_k8s.sh kind src/spartan/4epochs.test.ts ci.yaml four-epochs${NAME_POSTFIX:- }
265- ;;
266- " test-kind-4epochs-sepolia" )
267- OVERRIDES=" bot.enabled=false" \
268- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false SEPOLIA_RUN=true \
269- ./scripts/test_k8s.sh kind src/spartan/4epochs.test.ts ci-sepolia.yaml four-epochs${NAME_POSTFIX:- }
270- ;;
271- " test-kind-proving" )
272- OVERRIDES=" bot.enabled=false" \
273- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
274- ./scripts/test_k8s.sh kind src/spartan/proving.test.ts ci.yaml proving${NAME_POSTFIX:- }
275- ;;
276- " test-kind-transfer" )
277- # TODO(#12163) reenable bot once not conflicting with transfer
278- OVERRIDES=" bot.enabled=false" \
279- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
280- ./scripts/test_k8s.sh kind src/spartan/transfer.test.ts ci.yaml transfer${NAME_POSTFIX:- }
281- ;;
282- " test-kind-1tps" )
283- OVERRIDES=" bot.enabled=false" \
284- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false RESOURCES_FILE=gcloud-1tps-sim.yaml \
285- ./scripts/test_k8s.sh kind src/spartan/1tps.test.ts ci-1tps.yaml one-tps${NAME_POSTFIX:- }
286- ;;
287- " test-kind-10tps-10%-drop" )
288- OVERRIDES=" telemetry.enabled=false,bot.enabled=false,validator.p2p.dropTransactions=true,validator.p2p.dropTransactionsProbability=0.1" \
289- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
290- ./scripts/test_k8s.sh kind src/spartan/n_tps.test.ts ci-1tps.yaml ten-tps${NAME_POSTFIX:- }
291- ;;
292- " test-kind-10tps-30%-drop" )
293- OVERRIDES=" telemetry.enabled=false,bot.enabled=false,validator.p2p.dropTransactions=true,validator.p2p.dropTransactionsProbability=0.3" \
294- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
295- ./scripts/test_k8s.sh kind src/spartan/n_tps.test.ts ci-tx-drop.yaml ten-tps${NAME_POSTFIX:- }
296- ;;
297- " test-kind-10tps-50%-drop" )
298- OVERRIDES=" telemetry.enabled=false,bot.enabled=false,validator.p2p.dropTransactions=true,validator.p2p.dropTransactionsProbability=0.5" \
299- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
300- ./scripts/test_k8s.sh kind src/spartan/n_tps.test.ts ci-tx-drop.yaml ten-tps${NAME_POSTFIX:- }
301- ;;
302255 " test-kind-upgrade-rollup" )
256+ source scripts/source_network_env.sh
257+ source_network_env kind-provers
303258 OVERRIDES=" ${OVERRIDES:- bot.enabled=false} " \
304259 FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
305260 ./scripts/test_kind.sh src/spartan/upgrade_via_cli.test.ts upgrade-rollup-version${NAME_POSTFIX:- }
306261 ;;
307- " test-prod-deployment" )
308- FRESH_INSTALL=false INSTALL_METRICS=false ./scripts/test_prod_deployment.sh
309- ;;
310- " test-cli-upgrade" )
311- OVERRIDES=" telemetry.enabled=false" \
312- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
313- ./scripts/test_k8s.sh kind src/spartan/upgrade_via_cli.test.ts 1-validators.yaml upgrade-via-cli${NAME_POSTFIX:- }
314- ;;
315- " test-gke-transfer" )
316- execution_client=" $1 "
317- # TODO(#12163) reenable bot once not conflicting with transfer
318- OVERRIDES=" bot.enabled=false"
319- if [ -n " $execution_client " ]; then
320- OVERRIDES=" $OVERRIDES ,ethereum.execution.client=$execution_client "
321- fi
322- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false RESOURCES_FILE=gcloud-1tps-sim.yaml \
323- ./scripts/test_k8s.sh gke src/spartan/transfer.test.ts ci-fast-epoch.yaml ${NAMESPACE:- " transfer${NAME_POSTFIX:- } " }
324- ;;
325- " test-gke-1tps" )
326- OVERRIDES=" bot.enabled=false" \
327- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false RESOURCES_FILE=gcloud-1tps-sim.yaml \
328- ./scripts/test_k8s.sh gke src/spartan/1tps.test.ts ci-1tps.yaml ${NAMESPACE:- " one-tps${NAME_POSTFIX:- } " }
329- ;;
330- " test-gke-4epochs" )
331- # TODO(#12163) reenable bot once not conflicting with transfer
332- OVERRIDES=" bot.enabled=false" \
333- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
334- ./scripts/test_k8s.sh gke src/spartan/4epochs.test.ts ci-1tps.yaml ${NAMESPACE:- " four-epochs${NAME_POSTFIX:- } " }
335- ;;
336- " test-gke-upgrade-rollup-version" )
337- OVERRIDES=" bot.enabled=false" \
338- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
339- ./scripts/test_k8s.sh gke src/spartan/upgrade_rollup_version.test.ts ci.yaml ${NAMESPACE:- " upgrade-rollup-version${NAME_POSTFIX:- } " }
340- ;;
341- " test-gke-cli-upgrade" )
342- OVERRIDES=" telemetry.enabled=false" \
343- FRESH_INSTALL=${FRESH_INSTALL:- true} INSTALL_METRICS=false \
344- ./scripts/test_k8s.sh gke src/spartan/upgrade_via_cli.test.ts 1-validators.yaml ${NAMESPACE:- " upgrade-via-cli${NAME_POSTFIX:- } " }
345- ;;
346262 " network_teardown" )
347263 env_file=" $1 "
348264 # Sets up basic env vars like CLUSTER for gcp auth
0 commit comments