From 6230681b7acf01994f1846dbce5810a89cf1d08b Mon Sep 17 00:00:00 2001 From: Chris O'Neil Date: Thu, 21 Nov 2024 19:34:56 +0000 Subject: [PATCH] chore: disable upscale for uploaders The upscale is not working for EVM-based payments because the wallet secret key is missing. I'm not sure exactly how we will adapt this. --- src/upscale.rs | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/upscale.rs b/src/upscale.rs index b153722d..4d98251f 100644 --- a/src/upscale.rs +++ b/src/upscale.rs @@ -374,24 +374,24 @@ impl TestnetDeployer { node_provision_failed = true; } } - n += 1; } - if !is_bootstrap_deploy { - self.wait_for_ssh_availability_on_new_machines( - AnsibleInventoryType::Uploaders, - &options.current_inventory, - )?; - self.ansible_provisioner - .print_ansible_run_banner(n, total, "Provision Uploaders"); - self.ansible_provisioner - .provision_uploaders(&provision_options, &initial_multiaddr) - .await - .map_err(|err| { - println!("Failed to provision uploaders {err:?}"); - err - })?; - } + // TODO: Uncomment when EVM-based payments are supported for the uploader upscale. + // if !is_bootstrap_deploy { + // self.wait_for_ssh_availability_on_new_machines( + // AnsibleInventoryType::Uploaders, + // &options.current_inventory, + // )?; + // self.ansible_provisioner + // .print_ansible_run_banner(n, total, "Provision Uploaders"); + // self.ansible_provisioner + // .provision_uploaders(&provision_options, &initial_multiaddr) + // .await + // .map_err(|err| { + // println!("Failed to provision uploaders {err:?}"); + // err + // })?; + // } if node_provision_failed { println!();