From 566c3cbcf6d3db73de7fd02695ef7e3937642f47 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Sat, 21 Sep 2024 07:02:30 +0300 Subject: [PATCH] Disable rosetta for testing on github actions We need rosetta only for complex setup, for testing drenv it is not needed. This require building arm64 images for the example deployment. Signed-off-by: Nir Soffer --- test/drenv/providers/lima/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/drenv/providers/lima/__init__.py b/test/drenv/providers/lima/__init__.py index 1540d371c..889663050 100644 --- a/test/drenv/providers/lima/__init__.py +++ b/test/drenv/providers/lima/__init__.py @@ -181,7 +181,9 @@ def _write_config(profile, path): # The "vz" type is required to support amd64 images on arm64, needed for # OCM, and also provide the best performance. config["vmType"] = "vz" - config["rosetta"] = {"enabled": True, "binfmt": True} + + # XXX Disabled for testing in github actions. + # config["rosetta"] = {"enabled": True, "binfmt": True} # We always use socket_vmnet to get shared network. config["networks"] = [{"socket": "/var/run/socket_vmnet"}]