* Automatically release Xcode images
We should also setup some cron build to update base images.
* Fixed typo
* Cron for monthly updates of the base
* Override xcode_version variable
The Ventura setup in Japan shows Japanese in the first choice.
Typing english in the language selection screen ensures that the setup chooses English all over the world.
* Automated vanilla image creation via VNC
* Require packer-plugin-tart >= 0.5.0
* Signify that vanilla.pkr.hcl is Monterey-specific
* Decrease VM disk sizes from 50 to 40 GB
* Require Tart Packer plugin 0.5.1
* Automated Ventura vanilla image creation from IPSW URL
* Template to automatically disable SIP in recovery mode
* Document where one can get an IPSW URL
* Enable passwordless sudo via SSH
* Allow passwordless sudo without disabling SIP
The `sudoers.d` directory is in-play via the line `#includedir /private/etc/sudoers.d` inside `/private/etc/sudoers`.
By using it, I think it's unnecessary to disable System Integrity Protection. SIP is the thing - I think - that objects to edits inside `/private/etc/sudoers`, and will blow those away on OS updates and so forth.
I totally get:
- you might have other reasons for disabling SIP (I didn't find reference...?)
- you might not care about OS updates since (I bet) the intended use-case is for short-lived containers
... but I figure doing this is one less step away from Apple's defaults, and so one less thing to check as Apple issues updates.
I verified that this worked for me via running it, then shutting down the VM, restarting, and checking I could still passwordless-sudo.
I _didn't_ verify that this survived an OS-update because I was using the 12.6 current-latest monterey.
* Restore disable-SIP step
* Optionality
* Remove check step
Right now the base image has 10Gb free which is very conservative if you want to compile much of thing or install Node.js modules. The disk is compressed when pushed so this change shouldn't affect the size of pull that much.
Fixes https://github.com/cirruslabs/cirrus-ci-docs/issues/1065