Commit Graph

175 Commits

Author SHA1 Message Date
fedor 19ff55570e Install yarn 2023-04-09 18:51:52 -04:00
fedor 4d038de343 Install node through brew 2023-04-09 16:25:45 -04:00
fedor 8faf32710b Install NVM via official script 2023-04-09 14:18:53 -04:00
fedor be1be002c4 Fixed NVM installation 2023-04-08 20:22:11 -04:00
fedor 920aa01e4f Bump Xcode version 2023-04-08 19:45:25 -04:00
fedor b24d5c0ffb Better NVM installation 2023-04-08 19:45:07 -04:00
Fedor Korotkov 1629c949a6
Install Ruby 2.x.x and Node.JS LTS (#79)
* Install Ruby 2.x.x and Node.JS LTS

* Install Yarn as well

* Pre-install graphicsmagick and applesimutils

* Tweak maxfiles

* macOS 13.3.1
2023-04-08 11:25:32 -04:00
Fedor Korotkov 5828bf5b7c
Preinstall gitlab-runner 2023-04-04 17:37:28 -04:00
fedor 6ef994bd48 macOS 13.3 2023-03-28 16:44:12 -04:00
Fedor Korotkov 98a1b71d19
Update variables.pkrvars.hcl 2023-03-17 12:05:32 -04:00
Szymon Mrozek e627b0f992
Install Carthage in Xcode template (#77) 2023-02-28 11:55:05 -05:00
Fedor Korotkov e6eb67dae9
Automatically release Xcode images (#75)
* 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
2023-02-20 08:57:04 -05:00
fedor e842150a9b Bump base's base 2023-02-18 10:43:41 -05:00
fedor f5409a1599 Bump GHA Version 2023-02-17 22:05:40 -05:00
fedor e04b6f4b54 macOS 13.2.1 2023-02-17 22:05:28 -05:00
Fedor Korotkov d9f631a40d
Improvement for base image (#73)
* Improvement for base image

Fixes #72

* Pin vanilla tag
2023-02-15 07:43:13 -05:00
fedor 3bc9ea8753 Bump GHA version 2023-02-14 13:08:29 -05:00
fedor 7525402dec Improved Android SDK setup 2023-02-08 17:25:19 -05:00
fedor 52958f1f71 Java PATH 2023-02-07 20:30:30 -05:00
fedor 9b63d54a04 Android 33 2023-02-07 20:29:46 -05:00
fedor e4e9d96c5d Fixed PATH 2023-02-07 20:25:39 -05:00
fedor ae6fc5b409 openjdk 11 2023-02-07 20:19:26 -05:00
fedor 80d002b2b8 macOS 13.2 2023-02-07 15:31:51 -05:00
Fedor Korotkov baa16d28ef
Update variables.pkrvars.hcl 2023-01-18 20:17:33 -05:00
fedor 774188aabf Extract common variables 2022-12-19 16:52:25 -05:00
Fedor Korotkov c1ec881078
Increase disk size for Xcode version 2022-12-19 13:39:08 -05:00
Fedor Korotkov c0c172c343
Bump GHA version 2022-12-15 16:26:44 -05:00
fedor b5d1a1bfba Install GitHub CLI by default 2022-12-11 15:20:00 -05:00
fedor 537e5684fe macOS 13.1 and Xcode 14.2
Also fixed #65
2022-12-09 16:35:02 -05:00
Fedor Korotkov 16eddff572
Download all available platforms for Xcode
So tvOS and watchOS are available
2022-12-06 17:12:21 -05:00
fedor c8d029f496 Bump minimal version of tart plugin
To include https://github.com/cirruslabs/packer-plugin-tart/pull/34
2022-12-06 08:44:16 -05:00
Fedor Korotkov 5f4e248716
Rotate Apple Worldwide Developer Relations Intermediate Certificate (#64)
Seems it makes notarization failing for some users that are able to do so on GHA.
2022-12-06 08:32:39 -05:00
Fedor Korotkov 3e7c77346e
Bump GHA version 2022-11-28 14:26:18 -05:00
Fedor Korotkov dd53dd7556
install jq 2022-11-13 17:51:05 -05:00
Fedor Korotkov cefc36b72b
git lfs install 2022-11-13 16:33:42 -05:00
Fedor Korotkov ea5b92acd8
Added Git LFS
Related to #62
2022-11-13 16:26:12 -05:00
Kaito Udagawa 0678b45244
Ensure that English is chosen (#61)
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.
2022-11-08 12:58:18 +04:00
Timothy Sutton 3c00fd11df
Enable Screen Sharing in Monterey template (#60) 2022-11-03 07:21:41 -04:00
Timothy Sutton 4b326deeab
Enable Screen Sharing in Ventura (#59) 2022-11-02 16:38:19 -04:00
Fedor Korotkov 97b1766abc
2.299.0 GHA Runner 2022-11-02 15:25:14 -04:00
fedor d33d32e65a macOS Ventura Release 2022-10-24 13:33:19 -04:00
Fedor Korotkov 0b66045bcd
Bump GHA Version 2022-10-18 14:05:06 -04:00
Nikolay Edigaryev 520062efe1
vanilla-monterey.pkr.hcl: explicitly specify an IPSW to use 2022-10-07 15:43:14 +04:00
Nikolay Edigaryev fb214c9669
Fully automate vanilla images creation (#58)
* Fully automate vanilla images creation

* Slightly increase wait time before country selection steps
2022-10-06 17:21:29 +04:00
Nikolay Edigaryev 00fae6f81d
vanilla-ventura.pkr.hcl: update to the latest beta 10 release (#57)
* vanilla-ventura.pkr.hcl: update to the latest beta 10 release

* Fix indentation
2022-10-05 18:43:31 +04:00
fedor ae5cb12a0f Don't use remote image 2022-10-05 07:54:23 -04:00
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