Go to file
fedor 920aa01e4f Bump Xcode version 2023-04-08 19:45:25 -04:00
data Install Ruby 2.x.x and Node.JS LTS (#79) 2023-04-08 11:25:32 -04:00
templates Better NVM installation 2023-04-08 19:45:07 -04:00
.cirrus.yml Automatically release Xcode images (#75) 2023-02-20 08:57:04 -05:00
.gitignore install anka builder script 2018-04-16 13:58:47 -04:00
LICENSE Initial commit 2018-04-13 10:47:36 -04:00
README.md Extract common variables 2022-12-19 16:52:25 -05:00
variables.pkrvars.hcl Bump Xcode version 2023-04-08 19:45:25 -04:00

README.md

macOS Packer Templates for Cirrus CI

Repository with Packer templates to build Tart VMs to use with Cirrus CI.

  • macos-{monterey,ventura}-vanilla image has nothing pre-installed
  • macos-{monterey,ventura}-base image has only brew pre-installed
  • macos-{monterey,ventura}-xcode:N image is based on macos-{monterey,ventura}-base image and has Xcode N with Flutter pre-installed

See a full list of VMs available on Cirrus CI here.

Building Vanilla Image

To build macos-monterey-vanilla:

packer build templates/vanilla-monterey.pkr.hcl

To build macos-ventura-vanilla:

packer build templates/vanilla-ventura.pkr.hcl

Optionally, SIP can be disabled for each image by running the following commands:

packer build -var vm_name=monterey-vanilla templates/disable-sip.pkr.hcl
packer build -var vm_name=ventura-vanilla templates/disable-sip.pkr.hcl

Building Base Image

packer build -var-file="variables.pkrvars.hcl" templates/base.pkr.hcl

Building Xcode Image

packer build -var-file="variables.pkrvars.hcl" templates/xcode.pkr.hcl