Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable upscale for uploaders #232

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading