Skip to content

Commit

Permalink
Remove IGVM PARSER REPO for Cloud-Hypervisor testsuite (#3121)
Browse files Browse the repository at this point in the history
We dont need to clone the IGVM PARSER repo now for
MS CLH as it is getting handled with crates dependencies
within CLH.

Signed-off-by: Smit Gardhariya <[email protected]>
  • Loading branch information
smit-gardhariya authored Dec 27, 2023
1 parent e886d97 commit 2c2c5c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions microsoft/testsuites/cloud_hypervisor/ch_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ def _set_ms_clh_param(self, variables: Dict[str, Any]) -> None:
# Get URL for MS CLH repo
ms_clh_repo = variables.get("ms_clh_repo", None)

# Get URL for igvm-parser repo
ms_igvm_parser_repo = variables.get("ms_igvm_parser_repo", None)

# Get GUEST VM type, set default to NON-CVM
clh_guest_vm_type = variables.get("clh_guest_vm_type", "NON-CVM")

Expand All @@ -194,13 +191,10 @@ def _set_ms_clh_param(self, variables: Dict[str, Any]) -> None:
raise SkippedException("Access Token is needed while using MS-CLH")
if not ms_clh_repo:
raise SkippedException("CLH URL is needed while using MS-CLH")
if not ms_igvm_parser_repo:
raise SkippedException("IGVM-Parser URL is needed while using MS-CLH")

CloudHypervisorTests.use_ms_clh_repo = True
CloudHypervisorTests.ms_access_token = ms_access_token
CloudHypervisorTests.ms_clh_repo = ms_clh_repo
CloudHypervisorTests.ms_igvm_parser_repo = ms_igvm_parser_repo
CloudHypervisorTests.clh_guest_vm_type = clh_guest_vm_type
if use_ms_guest_kernel == "YES":
CloudHypervisorTests.use_ms_guest_kernel = use_ms_guest_kernel
Expand Down
6 changes: 0 additions & 6 deletions microsoft/testsuites/cloud_hypervisor/ch_tests_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class CloudHypervisorTests(Tool):
}

ms_clh_repo = ""
ms_igvm_parser_repo = ""
use_ms_clh_repo = False
ms_access_token = ""
clh_guest_vm_type = ""
Expand Down Expand Up @@ -224,11 +223,6 @@ def _install(self) -> bool:
clone_path,
auth_token=self.ms_access_token,
)
git.clone(
self.ms_igvm_parser_repo,
clone_path,
auth_token=self.ms_access_token,
)
self.env_vars["GUEST_VM_TYPE"] = self.clh_guest_vm_type
if self.use_ms_guest_kernel:
self.env_vars["USE_MS_GUEST_KERNEL"] = self.use_ms_guest_kernel
Expand Down

0 comments on commit 2c2c5c9

Please sign in to comment.