Skip to content

Commit

Permalink
Disable rosetta for testing on github actions
Browse files Browse the repository at this point in the history
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 <nsoffer@redhat.com>
  • Loading branch information
nirs committed Sep 21, 2024
1 parent c408523 commit 566c3cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/drenv/providers/lima/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
Expand Down

0 comments on commit 566c3cb

Please sign in to comment.