Skip to content

Commit

Permalink
chore: disable upscale for uploaders
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jacderida committed Nov 21, 2024
1 parent bf2a0b2 commit ec09b04
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/upscale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!();
Expand Down

0 comments on commit ec09b04

Please sign in to comment.