Support for Tart #26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Act Version
Latest Release
Feature Description
Special thanks to @earl-warren for adding support for LXC to Act. This addresses the shortcomings of Systemd under Docker containers, a development I wholeheartedly endorse.
There is now a solution called Tart. Tart is a virtualization toolkit designed for building, running, and managing macOS and Linux virtual machines (VMs) on Apple Silicon. It is constructed by CI engineers based on your automation needs. Here are some highlights of Tart:
Tart utilizes Apple's own Virtualization.Framework to achieve near-native performance.
Pull/push VMs from any OCI-compliant container registry.
Automatically create VMs using Tart Packer plugins.
Seamless integration with any CI system.
For more details, visit https://tart.run/quick-start/. Tart supports features such as mounting directories and provides functions for creating and destroying containers. Are you interested in integrating it?
Try running Tart VM on Apple Silicon devices running macOS 13.0 (Ventura) or later (25 GB image download):
SSH Access
Access via SSH:
Use regular SSH connections and the tart ip command:
Mounting Directories
To mount a directory, use the following parameter when running the VM with --dir:
Here, "project" specifies the mount name, and "~/src/project" is the path to the host directory to expose to the VM.
You can also mount directories in read-only mode by adding a third parameter:
To mount multiple directories, repeat the --dir parameter for each directory:
Could you please translate this issue in English?
關於對tart的支持to Support for Tartok
I have tried Tart, and the official support for GitLab is currently available. However, based on the commands it provides, it seems to have similar functionality to LXC or Docker. In theory, integration along the lines of LXC should be possible. Tart is very user-friendly, and the speed of starting a VM is quite fast; I have tested it on GitLab. Therefore, I believe that integrating Tart into Act would be a perfect addition.
As you have maybe seen, there is extensive end-to-end testing for act and the runner, in the https://code.forgejo.org/forgejo/end-to-end repository. Such testing is required to verify it works as expected and can only be done with Free Software building blocks, which Tart is not.
You are of course very welcome to add Tart support based on ACT. But such a change can't be merged because it can't be tested to work. I hope you understand.