* Introduce Runner Variant This image will contain multiple version of Xcode to pick with https://github.com/MobileDevOps/xcode-select-version-action This image will updated weekly and will be warm on our runners. * Introduce Runner Variant This image will contain multiple version of Xcode to pick with https://github.com/MobileDevOps/xcode-select-version-action This image will updated weekly and will be warm on our runners. * Don't forget brackets * Update templates/xcode.pkr.hcl Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com> --------- Co-authored-by: Nikolay Edigaryev <edigaryev@gmail.com> |
||
|---|---|---|
| data | ||
| scripts | ||
| templates | ||
| .cirrus.yml | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
README.md
macOS Packer Templates for Tart
Repository with Packer templates to build Tart VMs to use with Cirrus Runners and Cirrus CI.
macos-{monterey,ventura,sonoma}-vanillaimage has nothing pre-installedmacos-{monterey,ventura,sonoma}-baseimage has onlybrewpre-installedmacos-{monterey,ventura,sonoma}-xcode:Nimage is based onmacos-{monterey,ventura}-baseimage and hasXcode NwithFlutterpre-installed
See a full list of VMs available here.
Building Vanilla Image
To build macos-sonoma-vanilla:
packer build templates/vanilla-sonoma.pkr.hcl
Optionally, SIP can be disabled for each image by running the following commands:
packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
Building Base Image
packer build -var macos_version=sonoma templates/base.pkr.hcl
Building Xcode Image
packer build -var macos_version=sonoma -var xcode_version=15.3 templates/xcode.pkr.hcl