Remove SSH config use

This commit is contained in:
abejgonzalez 2023-05-29 22:37:39 -07:00
parent 9e2a859b9c
commit 85ba086827
6 changed files with 4 additions and 10 deletions

View File

@ -17,5 +17,4 @@ def build_vitis_driver():
run("make PLATFORM=vitis vitis")
if __name__ == "__main__":
env.use_ssh_config = True
execute(build_vitis_driver, hosts=["localhost"])

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import sys
from fabric.api import env, prefix, run, settings, execute # type: ignore
from fabric.api import prefix, run, settings, execute # type: ignore
from ci_variables import ci_env
@ -24,5 +24,4 @@ def run_docs_generated_components_check():
run(f"diff config_runtime.yaml ../{path}")
if __name__ == "__main__":
env.use_ssh_config = True
execute(run_docs_generated_components_check, hosts=["localhost"])

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python3
import sys
from fabric.api import env, prefix, run, settings, execute # type: ignore
from fabric.api import prefix, run, settings, execute # type: ignore
from ci_variables import ci_env
from utils import search_match_in_last_workloads_output_file
@ -67,5 +67,4 @@ def run_linux_poweroff_vitis():
run_w_timeout(f"{ci_env['GITHUB_WORKSPACE']}/deploy/workloads/ci/vitis", "linux-poweroff-singlenode", "30m", 1)
if __name__ == "__main__":
env.use_ssh_config = True
execute(run_linux_poweroff_vitis, hosts=["localhost"])

View File

@ -3,7 +3,7 @@
import sys
from pathlib import Path
from fabric.api import env, prefix, run, settings, execute # type: ignore
from fabric.api import prefix, run, settings, execute # type: ignore
from ci_variables import ci_env
@ -61,5 +61,4 @@ def run_parallel_metasim():
run_w_timeout(f"{ci_env['REMOTE_WORK_DIR']}/deploy/workloads/ci/hello-world-localhost-vcs-metasim.yaml", "45m")
if __name__ == "__main__":
env.use_ssh_config = True
execute(run_parallel_metasim, hosts=["localhost"])

View File

@ -2,7 +2,7 @@
import sys
from pathlib import Path
from fabric.api import env, prefix, run, settings, execute # type: ignore
from fabric.api import prefix, run, settings, execute # type: ignore
import os
from github import Github
import base64
@ -185,5 +185,4 @@ def run_xclbin_buildbitstream():
run(f"cp -f {sample_hwdb_filename} {ci_env['GITHUB_WORKSPACE']}/{relative_hwdb_path}")
if __name__ == "__main__":
env.use_ssh_config = True
execute(run_xclbin_buildbitstream, hosts=["localhost"])

View File

@ -443,7 +443,6 @@ def main(args: argparse.Namespace) -> None:
# we elastically spin instances up/down. we can easily get re-used IPs with
# different keys. also, probably won't get MITM'd
env.disable_known_hosts = True
env.use_ssh_config = True
rootLogger.info("FireSim Manager. Docs: https://docs.fires.im\nRunning: %s\n", str(args.task))