Skip to content

Run GitLab Runner jobs with macOS virtualization for Apple Silicon

Notifications You must be signed in to change notification settings

Conntac/gitlab-runner-tart

Repository files navigation

🚨 Maintainance notice 🚨

This project has been replaced by a more official implementation of cirruslabs at https://github.com/cirruslabs/gitlab-tart-executor and will not be maintained anymore.

Run GitLab Runner jobs with macOS virtualization for Apple Silicon

What is this?

A set of configuration files which allows gitlab-runner to make use of the macOS virtualization framework. Under the hood, these scripts use the tart commandline tool to provision VMs for jobs. The macOS virtualization framework allows running two macOS virtual machines in parallel.

Installation

Clone this repository onto your build machine and register a custom gitlab-runner to your instance. You need to adjust the paths in prepare_exec, run_exec and cleanup_exec which can also be found in gitlab-runner-example-config.toml.

Install dependencies: brew install gitlab-runner daemonize cirruslabs/cli/tart.

Ensure your host system has an SSH private key. If not, create one using ssh-keygen -t ed25519.

Configurations

References

Releases

No releases published

Packages

No packages published

Languages