Commit Graph

129 Commits

Author SHA1 Message Date
Nikolay Edigaryev 3e42cfa4a8
Automated vanilla image creation via VNC (#55)
* 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
2022-09-30 18:12:26 +04:00
Pete Goldsmith 041478db09
Homebrew won't prompt (#54) 2022-09-17 10:46:05 -04:00
Peter Mounce ae5d3345f5
Passwordless sudo via sudoers.d (#53)
* 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
2022-09-14 14:48:04 +04:00
fedor 7708386c8a Use remote image 2022-09-08 14:08:57 -04:00
fedor 376684f73e Revert "Install Ruby from brew"
This reverts commit 619d33746c.
2022-09-08 12:33:21 -04:00
fedor 619d33746c Install Ruby from brew 2022-09-07 16:31:04 -04:00
Fedor Korotkov 0421e57805
Pre-install GHA Runner (#52) 2022-09-06 19:11:52 -04:00
Fedor Korotkov 6e820fcd29
Add extra spaceto base image (#51)
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
2022-08-31 15:55:25 -04:00
Fedor Korotkov 439e73a85f
Install Android (#50)
Fixes https://github.com/cirruslabs/cirrus-ci-docs/issues/1060
2022-08-22 14:12:53 -04:00
fedor d2b0512289 Updated instructions for Ventura 2022-07-28 15:23:58 -04:00
fedor 0108cbb569 Ventura by default 2022-07-28 15:23:58 -04:00
Fedor Korotkov a98c00ddc6
Tart link 2022-07-06 20:04:02 -04:00
fedor 6446971c17 Xcode 13.4.1 by default 2022-06-08 13:46:26 -04:00
fedor b85a962e0f Power setting 2022-06-08 13:46:04 -04:00
fedor 2a0388a03f Install Ruby 3.0.4 because the latest is not working
Related to https://github.com/rbenv/ruby-build/discussions/1961
2022-05-19 13:17:01 -04:00
fedor 94c24ba03f Don't additionally install Ruby through Homebrew 2022-05-19 11:48:28 -04:00
fedor 19bde7722d Removed scripts 2022-05-18 09:52:34 -04:00
fedor fb819d3afb 13.4 as default 2022-05-17 15:07:09 -04:00
Fedor Korotkov 91c1ea27d7
No need for virtual audio devices
Tart now has it since https://github.com/cirruslabs/tart/pull/78
2022-05-16 12:50:51 -04:00
Fedor Korotkov 188396155b
Install virtual audio devices for simulator (#47)
It appeared that iOS simulator is not OK when there is no audio outputs. Especially for video and audio players.

Unfortunetly, Apple's Virtualization.Framework only support virtual audio devices for Linux https://developer.apple.com/documentation/virtualization/audio
2022-05-13 13:32:20 -04:00
Fedor Korotkov fb0bcf68e0
Clarify vanilla image 2022-05-10 14:54:26 -04:00
fedor 4492329fd5 Don't install Android on M1 2022-05-10 14:47:27 -04:00
fedor 2cc9bf8279 Converted templates to HCL2 2022-05-04 21:32:38 -04:00
fedor 2a3d22ac3f Added tart config 2022-04-20 17:40:13 -04:00
Fedor Korotkov 3d96c5f082
Larger boot timeout 2022-03-15 19:20:17 -04:00
Fedor Korotkov e49b881382
No need for user/password 2022-03-15 19:11:20 -04:00
Fedor Korotkov effc5eff81
Xcode 13.3 by default 2022-03-15 19:10:47 -04:00
fedor b290875c38 Monterey images 2021-10-28 17:57:59 +02:00
fedor 89d5d4a8f7 gem update 2021-10-27 11:52:19 +02:00
fedor cadc9dd7a3 Fixed bucket name 2021-10-12 09:00:32 -04:00
fedor 1f284b8c28 empty trash 2021-04-28 15:30:00 -04:00
fedor 055a88dfc7 Use absolute path 2021-04-28 14:54:58 -04:00
fedor bfb7b25964 Fixed parsing 2021-04-28 14:10:40 -04:00
fedor 31ace2c588 No need for env variables 2021-04-28 14:09:45 -04:00
fedor 87fcfe40cd Fixed install 2021-04-28 12:48:32 -04:00
fedor 23e3d78727 Quite download 2021-04-28 12:11:03 -04:00
fedor 97061dc195 Install Xcode 12.5 via private download 2021-04-28 12:04:35 -04:00
Fedor Korotkov 8b30c0aa9f
Pre-install fastlane
fixes #35
2021-03-14 09:47:28 -04:00
Guangyuan Yang 762335ff7f
Fix a typo in Parallels.md (#34) 2021-02-05 15:49:02 -05:00
fedor 1886e45feb Disable SIP
Related to https://github.com/cirruslabs/cirrus-ci-docs/issues/773
2021-02-03 14:05:39 -05:00
Fedor Korotkov d86037b94e
Parallels virtualization (#32)
* Parallels Builder Support

* Install latest Ruby

* Install Xcode via xcodes

* Use xcodes and pass more generic environment variables

* mac_os_version

* Use .zprofile

* More helpers
2021-01-29 15:09:23 -05:00
Fedor Korotkov b45cd061f1 Moved templates back to top level 2020-12-27 09:44:25 -05:00
Tim Ruffing 0363c11548
Disable automatic brew cleanup (#31)
Cleanup fires after "brew install" when 30 days have passed, which is
likely to be the case on the prebuilt images.
2020-12-24 07:07:16 -05:00
Fedor Korotkov e14908089a Move to anka folder 2020-12-21 14:22:55 -05:00
Fedor Korotkov 89a700400b Removed unused scripts 2020-12-21 14:21:34 -05:00
Fedor Korotkov 771f71c618 Fixed typo 2020-12-15 08:06:26 -05:00
Fedor Korotkov de94b9df10 big-sure-vanilla 2020-12-15 08:02:58 -05:00
Fedor Korotkov ad2e9163f4 bump veertu packer version 2020-12-14 17:57:20 -05:00
Fedor Korotkov 818800ce86 Xcode 12.3 2020-12-09 12:00:59 -05:00
fkorotkov 8526a388a2 Big Sur Templates 2020-11-13 08:17:09 -05:00