Skip to content
Snippets Groups Projects
Commit 43565b2a authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Test] remove sshpass from end2end cybsec test

parent d09bfe94
No related branches found
No related tags found
No related merge requests found
...@@ -213,22 +213,9 @@ echo %s | sudo -S python3.6 validate-unsw-nb15.py --batchsize=10 --limit_batches ...@@ -213,22 +213,9 @@ echo %s | sudo -S python3.6 validate-unsw-nb15.py --batchsize=10 --limit_batches
build_env["ip"], build_env["ip"],
build_env["target_dir"], build_env["target_dir"],
) )
rsync_res = subprocess.run( rsync_res = subprocess.run(["rsync", "-avz", deploy_dir, remote_target])
[
"sshpass",
"-p",
build_env["password"],
"rsync",
"-avz",
deploy_dir,
remote_target,
]
)
assert rsync_res.returncode == 0 assert rsync_res.returncode == 0
remote_verif_cmd = [ remote_verif_cmd = [
"sshpass",
"-p",
build_env["password"],
"ssh", "ssh",
"%s@%s" % (build_env["username"], build_env["ip"]), "%s@%s" % (build_env["username"], build_env["ip"]),
"sh", "sh",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment