-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exp(feat): enable Virtualization.framework and Rosetta #282
Conversation
All of the lint failures finally helped me fix my lint-on-save. Apparently I had to do a |
Need e2e tests and README.md change |
Added some basic e2e tests for the two new scenarios and updated the README. |
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
…osetta Signed-off-by: Justin Alvarez <[email protected]>
d0dd86c
to
5ec0d38
Compare
Signed-off-by: Justin Alvarez <[email protected]>
5ec0d38
to
8986927
Compare
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
increase test timeout Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Signed-off-by: Justin Alvarez <[email protected]>
Merging, and will investigate the Rosetta test failure as a separate issue |
Issue #, if available: *Description of changes:* - Add a new "expr" PR type to track experimental features. An "experimental" feature is something that can be used, but is not guaranteed to be stable (such as the changes made by #282). *Testing done:* - N/A - [x] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --------- Signed-off-by: Justin Alvarez <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.5.0](v0.4.1...v0.5.0) (2023-03-29) ### Features * adds support bundles ([#210](#210)) ([cc6be65](cc6be65)) ### Bug Fixes * Correctly set and pick up environment variables ([#315](#315)) ([05227ce](05227ce)) * print debug logs after newline ([#273](#273)) ([8faa7de](8faa7de)) * print debug logs when lima disk command fails ([#270](#270)) ([78a3f50](78a3f50)) ### Experimental * **feat:** enable Virtualization.framework and Rosetta ([#282](#282)) ([fd3bf19](fd3bf19)) ### Build System or External Dependencies * clean up finch-core _output directory in clean target ([#290](#290)) ([4684a95](4684a95)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.8.4 to 2.9.0 ([#265](#265)) ([7e2d49e](7e2d49e)) * **deps:** bump github.com/onsi/ginkgo/v2 from 2.9.0 to 2.9.1 ([#285](#285)) ([d741a03](d741a03)) * **deps:** Bump github.com/onsi/gomega from 1.27.3 to 1.27.5 ([#312](#312)) ([e078234](e078234)) * **deps:** bump github.com/runfinch/common-tests from 0.6.1 to 0.6.2 ([#300](#300)) ([dd626a0](dd626a0)) * **deps:** bump github.com/spf13/afero from 1.9.4 to 1.9.5 ([#263](#263)) ([a0e277f](a0e277f)) * **deps:** bump golang.org/x/crypto from 0.6.0 to 0.7.0 ([#264](#264)) ([ec1c07f](ec1c07f)) * **deps:** bump golang.org/x/tools from 0.6.0 to 0.7.0 ([#268](#268)) ([8072e39](8072e39)) * **deps:** bump k8s.io/apimachinery from 0.26.2 to 0.26.3 ([#306](#306)) ([fe392cb](fe392cb)) * **deps:** Bump lima version ([#302](#302)) ([0269743](0269743)) * **deps:** Bump submodules ([#281](#281)) ([d4fd1f6](d4fd1f6)) * **deps:** Bump submodules ([#304](#304)) ([b38af9f](b38af9f)) * **deps:** Bump submodules ([#307](#307)) ([1a914ec](1a914ec)) * **deps:** Bump submodules ([#319](#319)) ([e671224](e671224)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Issue #, if available: Closes #218
Description of changes:
Adds support for Lima's Virtualization.framework and Rosetta features, through the use of new finch.yaml configuration options (
vmType
androsetta
).vmType
also sets themountType
tovirtiofs
, since that is only available when using Virtualization.framework.To support this, a few things needed to be changed on our side:
vmType: vz
in Lima) will auto-convert persistent disks from QCOW2 to RAW when they are attempted to be used withvmType: vz
, because of the way our disks are persisted with symlinks, we also have to do thispkg/config/lima_config_applier
Currently, because lima-vm/lima#1405 is not merged yet, this PR references a specific branch of my own finch-core repo which includes the Lima change already. It also edits the Makefile to do a build of Lima from the submodule directly, and overwrite the Lima downloaded from the archive. These changes will be removed once the Lima change is merged upstream.
Testing done:
unit tests
e2e tests
local testing on Intel and Apple Silicon machines
I've reviewed the guidance in CONTRIBUTING.md
License Acceptance
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
BEGIN_COMMIT_OVERRIDE
exp(feat): enable Virtualization.framework and Rosetta (#282)
END_COMMIT_OVERRIDE