macOS and Linux VMs on Apple Silicon to use in CI and other automations
Go to file
Fedor Korotkov 4bb248e7b4
Support wildcards in `credHelpers` (#592)
* Support wildcards in `credHelpers`

With #591 `tart pull` fails when for example you have `ecr-login` set as the default `credsStore` but you try to pull our images from `ghcr.io`.

This change reverts #591 and instead supports regex in `credHelpers`. This is not supported by Docker itself but highly demanded in https://github.com/docker/cli/issues/2928

I think it's fine to support it for Tart.

Additionally this change bumps the minimum host macOS version to Ventura in order to bring `Regex`. Yes, `Regex` only supported in Swift for macOS 13+ 🤦‍♂️I think it's fine in the light of Sonoma release and Tart 2.0.0.

* Removed Monterey mentions from docs
2023-08-28 11:37:49 -04:00
.ci Revert "Revert pkg (#462)" 2023-04-06 10:36:07 -04:00
.github Added Code Owners (#328) 2022-11-17 22:57:12 -05:00
Resources Highlight Cirrus Runners in `README.md` (#558) 2023-07-13 18:09:19 +00:00
Sources/tart Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
Tests/TartTests Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
docs Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
integration-tests Add a simple integration test for "tart run" (#587) 2023-08-16 04:04:52 -04:00
scripts UI improvements (#459) 2023-03-31 10:58:14 -04:00
.cirrus.yml Multiple bridged interfaces (#578) 2023-08-14 19:17:38 +04:00
.editorconfig Update dependencies and styles (#12) 2022-03-24 18:54:49 +03:00
.gitignore Move FAQ to documentation website (#383) 2023-01-18 11:58:21 -05:00
.goreleaser.yml Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
.swiftformat Reformat code idents and introduce the SwiftFormat linter (#339) 2022-11-29 15:56:13 +00:00
CONTRIBUTING.md Add CONTRIBUTING.md? (#575) 2023-08-03 13:10:34 -04:00
LICENSE Relicensed under Fair Source License (#415) 2023-02-28 12:22:25 -05:00
Package.resolved PIDLock: check open(2) error (#538) 2023-07-04 15:22:25 +00:00
Package.swift Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
README.md Support wildcards in `credHelpers` (#592) 2023-08-28 11:37:49 -04:00
gon.hcl Use release configuration for binaries (#453) 2023-03-29 09:58:41 -04:00
mkdocs.yml Minor docs improvements (#492) 2023-05-07 17:55:55 +00:00

README.md

Tart is a virtualization toolset to build, run and manage macOS and Linux virtual machines (VMs) on Apple Silicon. Built by CI engineers for your automation needs. Here are some highlights of Tart:

  • Tart uses Apple's own Virtualization.Framework for near-native performance.
  • Push/Pull virtual machines from any OCI-compatible container registry.
  • Use Tart Packer Plugin to automate VM creation.
  • Easily integrates with any CI system.

Tart powers Cirrus Runners service — a drop-in replacement for the standard GitHub-hosted runners, offering 2-3 times better performance for a fraction of the price.

Tart is also adopted by several other automation services:

Many more companies are using Tart in their internal setups. Here are a few of them:

Note: If your company or project is using Tart please consider adding yourself to the list above.

Usage

Try running a Tart VM on your Apple Silicon device running macOS 13.0 (Ventura) or later (will download a 25 GB image):

brew install cirruslabs/cli/tart
tart clone ghcr.io/cirruslabs/macos-ventura-base:latest ventura-base
tart run ventura-base

Please check the official documentation for more information and/or feel free to use discussions for remaining questions.