Skip to content
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

MacOS VM CI/CD #261

Open
7 tasks done
trinitronx opened this issue Oct 2, 2024 · 1 comment
Open
7 tasks done

MacOS VM CI/CD #261

trinitronx opened this issue Oct 2, 2024 · 1 comment
Assignees
Labels
bug dependencies Pull requests that update a dependency file enhancement Hacktoberfest Hacktoberfest issues

Comments

@trinitronx
Copy link
Collaborator

trinitronx commented Oct 2, 2024

Migrated from LPSPRIG-1

The need for MacOS Virtual Machines & a working Test-Kitchen setup has plagued this project from the beginning. A solution utilizing Test Kitchen, Vagrant, Libvirt, QEMU, and OSX-KVM has been proven possible as proof-of-concept. Tools were rather complicated to set up but worked from late 2021 to early 2022.

Additionally, a remote Linux host accessed over SSH was possible to launch VMs remotely on a Linux server from another macOS workstation. This seems to be the holy grail of macOS VM CI/CD testing for this project!

Proof-of-concept is still working on the Linux server host side. However, the macOS workstation tools broke due to the complicated dependencies of Vagrant, vagrant-libvirt, ruby-libvirt, and other moving parts.

For this task:

@trinitronx trinitronx self-assigned this Oct 2, 2024
@trinitronx trinitronx added this to the macOS Monterey 12.7.1 milestone Oct 2, 2024
@trinitronx trinitronx added bug enhancement dependencies Pull requests that update a dependency file Hacktoberfest Hacktoberfest issues labels Oct 2, 2024
@trinitronx
Copy link
Collaborator Author

Tested re-install of vagrant-libvirt with latest libvirt (10.8.0), vagrant (2.4.1), and qemu (9.1.0) from Homebrew:

$ vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
Successfully uninstalled diffy-3.4.2
Successfully uninstalled fog-core-2.3.0
Successfully uninstalled fog-json-1.2.0
Successfully uninstalled fog-libvirt-0.11.0
Successfully uninstalled fog-xml-0.1.4
Successfully uninstalled formatador-1.1.0
Removing nokogiri
Successfully uninstalled nokogiri-1.15.4-x86_64-darwin
Successfully uninstalled ruby-libvirt-0.8.0
Removing stackprof-flamegraph.pl
Removing stackprof-gprof2dot.py
Successfully uninstalled vagrant-libvirt-0.12.2
Successfully uninstalled xml-simple-1.1.9

$ vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Fetching xml-simple-1.1.9.gem
Fetching nokogiri-1.16.7-x86_64-darwin.gem
Fetching ruby-libvirt-0.8.4.gem
Building native extensions. This could take a while...
Fetching formatador-1.1.0.gem
Fetching fog-core-2.5.0.gem
Fetching fog-xml-0.1.4.gem
Fetching fog-json-1.2.0.gem
Fetching fog-libvirt-0.12.2.gem
Fetching diffy-3.4.2.gem
Fetching vagrant-libvirt-0.12.2.gem
Installed the plugin 'vagrant-libvirt (0.12.2)'!

$ ls -1 ~/.vagrant.d/gems/3.1.4/gems/
diffy-3.4.2
fog-core-2.5.0
fog-json-1.2.0
fog-libvirt-0.12.2
fog-xml-0.1.4
formatador-1.1.0
nokogiri-1.16.7-x86_64-darwin
ruby-libvirt-0.8.4
vagrant-libvirt-0.12.2
vagrant-vmware-desktop-3.0.4
xml-simple-1.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file enhancement Hacktoberfest Hacktoberfest issues
Projects
Status: In Progress
Development

No branches or pull requests

1 participant