You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build remote builds (remote_build = true) asynchronously to speed
up the deployment process.
local builds should not be run asynchronously to prevent running into
hardware deadlocks
Copy file name to clipboardExpand all lines: src/cli.rs
+29-7
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ use std::collections::HashMap;
7
7
use std::io::{stdin, stdout,Write};
8
8
9
9
use clap::{ArgMatches,Clap,FromArgMatches};
10
+
use futures_util::future::{join_all, try_join_all};
11
+
use tokio::try_join;
10
12
11
13
usecrateas deploy;
12
14
@@ -545,7 +547,7 @@ async fn run_deploy(
545
547
546
548
if deploy_data.merged_settings.interactive_sudo.unwrap_or(false){
547
549
warn!("Interactive sudo is enabled! Using a sudo password is less secure than correctly configured SSH keys.\nPlease use keys in production environments.");
548
-
550
+
549
551
if deploy_data.merged_settings.sudo.is_some(){
550
552
warn!("Custom sudo commands should be configured to accept password input from stdin when using the 'interactive sudo' option. Deployment may fail if the custom command ignores stdin.");
0 commit comments