mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-09-30 03:42:04 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ad265b76d | ||
|
|
154a7604f9 | ||
|
|
5a2d4fd8cc | ||
|
|
70cb4395fe | ||
|
|
7360b62106 | ||
|
|
e46673151d | ||
|
|
5e65e3e712 | ||
|
|
5cf26631b9 | ||
|
|
0d8fe3156a | ||
|
|
69866eb29b | ||
|
|
f2e700cda3 | ||
|
|
494e62f0b8 | ||
|
|
27def7c5ce | ||
|
|
f9c2b3c122 | ||
|
|
7132d10945 | ||
|
|
33e373e65b | ||
|
|
cfa9e2361c | ||
|
|
09fce08792 | ||
|
|
01365193b9 | ||
|
|
1414d3bf4b | ||
|
|
fbaec2adaa | ||
|
|
f47f8bf08c | ||
|
|
d56bd82e5d | ||
|
|
4b95c2c93f | ||
|
|
75924563a8 | ||
|
|
f3319b8eb8 | ||
|
|
5ee829f2c8 | ||
|
|
64d9651dca |
+5
-3
@@ -14,11 +14,13 @@ task:
|
|||||||
<<: *defaults
|
<<: *defaults
|
||||||
pull_vanilla_script:
|
pull_vanilla_script:
|
||||||
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-vanilla:latest
|
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-vanilla:latest
|
||||||
|
- tart clone ghcr.io/cirruslabs/macos-$MACOS_VERSION-vanilla:latest "$MACOS_VERSION-base"
|
||||||
|
disable_sip_script:
|
||||||
|
- packer init "templates/${DISABLE_SIP_TEMPLATE}"
|
||||||
|
- packer build -var vm_name="$MACOS_VERSION-base" "templates/${DISABLE_SIP_TEMPLATE}"
|
||||||
build_base_script:
|
build_base_script:
|
||||||
- packer init templates/base.pkr.hcl
|
- packer init templates/base.pkr.hcl
|
||||||
- packer build -var macos_version="$MACOS_VERSION" templates/base.pkr.hcl
|
- packer build -var vm_name="$MACOS_VERSION-base" templates/base.pkr.hcl
|
||||||
disable_sip_script:
|
|
||||||
- packer build -var vm_name=$MACOS_VERSION-base "templates/${DISABLE_SIP_TEMPLATE}"
|
|
||||||
push_base_script:
|
push_base_script:
|
||||||
- tart push $MACOS_VERSION-base ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
- tart push $MACOS_VERSION-base ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
||||||
always:
|
always:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
task:
|
task:
|
||||||
name: "Release Xcode $CIRRUS_TAG ($MACOS_VERSION)"
|
name: "Release Xcode $CIRRUS_TAG ($MACOS_VERSION)"
|
||||||
env:
|
env:
|
||||||
XCODE_COMPONENTS: "MetalToolchain"
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
matrix:
|
matrix:
|
||||||
- MACOS_VERSION: tahoe
|
- MACOS_VERSION: tahoe
|
||||||
- MACOS_VERSION: sequoia
|
- MACOS_VERSION: sequoia
|
||||||
@@ -10,7 +10,7 @@ task:
|
|||||||
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
||||||
build_script:
|
build_script:
|
||||||
- packer init templates/xcode.pkr.hcl
|
- packer init templates/xcode.pkr.hcl
|
||||||
- packer build -var macos_version="$MACOS_VERSION" -var xcode_version="[\"$CIRRUS_TAG\"]" -var xcode_components="[\"$XCODE_COMPONENTS\"]" templates/xcode.pkr.hcl
|
- packer build -var macos_version="$MACOS_VERSION" -var xcode_version="[\"$CIRRUS_TAG\"]" -var xcode_components="[$XCODE_COMPONENTS]" templates/xcode.pkr.hcl
|
||||||
push_script: |
|
push_script: |
|
||||||
if [[ $CIRRUS_TAG == *"beta"* ]]
|
if [[ $CIRRUS_TAG == *"beta"* ]]
|
||||||
then
|
then
|
||||||
|
|||||||
@@ -2,20 +2,17 @@ task:
|
|||||||
name: "Update Runner Image ($MACOS_VERSION)"
|
name: "Update Runner Image ($MACOS_VERSION)"
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- MACOS_VERSION: sonoma
|
|
||||||
XCODE_VERSIONS: "16.1,16"
|
|
||||||
DISK_SIZE: 230
|
|
||||||
- MACOS_VERSION: sequoia
|
- MACOS_VERSION: sequoia
|
||||||
XCODE_VERSIONS: "\"26.0.1\",16.4,16.3,16.2,16.1,16"
|
XCODE_VERSIONS: "\"26.0.1\",16.4,16.3,16.2,16.1,16"
|
||||||
ADDITIONAL_IOS_BUILDS: "18.5,18.4,18.2,17.5"
|
ADDITIONAL_IOS_BUILDS: "18.5,18.4,18.2,17.5"
|
||||||
ADDITIONAL_TVOS_BUILDS: "17.5"
|
ADDITIONAL_TVOS_BUILDS: "17.5"
|
||||||
XCODE_COMPONENTS: "\"MetalToolchain\""
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
DISK_SIZE: 400
|
DISK_SIZE: 380
|
||||||
- MACOS_VERSION: tahoe
|
- MACOS_VERSION: tahoe
|
||||||
XCODE_VERSIONS: "\"26.2\",\"26.1.1\",\"26.0.1\""
|
XCODE_VERSIONS: "\"26.5\",\"26.4.1\",\"26.3\",\"26.2\",\"26.1.1\",\"26.0.1\""
|
||||||
XCODE_COMPONENTS: "\"MetalToolchain\""
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
ADDITIONAL_IOS_BUILDS: "18.6"
|
ADDITIONAL_IOS_BUILDS: "18.6"
|
||||||
DISK_SIZE: 300
|
DISK_SIZE: 330
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
pull_base_script:
|
pull_base_script:
|
||||||
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ task:
|
|||||||
matrix:
|
matrix:
|
||||||
- MACOS_VERSION: tahoe
|
- MACOS_VERSION: tahoe
|
||||||
XCODE_VERSION: "26.2"
|
XCODE_VERSION: "26.2"
|
||||||
XCODE_COMPONENTS: "MetalToolchain"
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
LATEST: true
|
LATEST: true
|
||||||
- MACOS_VERSION: tahoe
|
- MACOS_VERSION: tahoe
|
||||||
XCODE_VERSION: "26.1.1"
|
XCODE_VERSION: "26.1.1"
|
||||||
XCODE_COMPONENTS: "MetalToolchain"
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
- MACOS_VERSION: tahoe
|
- MACOS_VERSION: tahoe
|
||||||
XCODE_VERSION: "26.0.1"
|
XCODE_VERSION: "26.0.1"
|
||||||
XCODE_COMPONENTS: "MetalToolchain"
|
XCODE_COMPONENTS: "\"MetalToolchain\""
|
||||||
- MACOS_VERSION: sequoia
|
- MACOS_VERSION: sequoia
|
||||||
XCODE_VERSION: 16.4
|
XCODE_VERSION: 16.4
|
||||||
LATEST: true
|
LATEST: true
|
||||||
@@ -36,7 +36,7 @@ task:
|
|||||||
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
- tart pull ghcr.io/cirruslabs/macos-$MACOS_VERSION-base:latest
|
||||||
build_xcode_script:
|
build_xcode_script:
|
||||||
- packer init templates/xcode.pkr.hcl
|
- packer init templates/xcode.pkr.hcl
|
||||||
- packer build -var macos_version="$MACOS_VERSION" -var xcode_version="[\"$XCODE_VERSION\"]" -var xcode_components="[\"$XCODE_COMPONENTS\"]" templates/xcode.pkr.hcl
|
- packer build -var macos_version="$MACOS_VERSION" -var xcode_version="[\"$XCODE_VERSION\"]" -var xcode_components="[$XCODE_COMPONENTS]" templates/xcode.pkr.hcl
|
||||||
push_script: |
|
push_script: |
|
||||||
if [[ -z "$LATEST" ]]
|
if [[ -z "$LATEST" ]]
|
||||||
then
|
then
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ packer build -var vm_name=sonoma-vanilla templates/disable-sip.pkr.hcl
|
|||||||
## Building Base Image
|
## Building Base Image
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
packer build -var macos_version=sonoma templates/base.pkr.hcl
|
packer build -var vm_name=sonoma-vanilla templates/base.pkr.hcl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building Xcode Image
|
## Building Xcode Image
|
||||||
|
|||||||
@@ -2,13 +2,15 @@
|
|||||||
iOS 18.6 (18.6 - 22G86) - com.apple.CoreSimulator.SimRuntime.iOS-18-6
|
iOS 18.6 (18.6 - 22G86) - com.apple.CoreSimulator.SimRuntime.iOS-18-6
|
||||||
iOS 26.0 (26.0.1 - 23A8464) - com.apple.CoreSimulator.SimRuntime.iOS-26-0
|
iOS 26.0 (26.0.1 - 23A8464) - com.apple.CoreSimulator.SimRuntime.iOS-26-0
|
||||||
iOS 26.1 (26.1 - 23B86) - com.apple.CoreSimulator.SimRuntime.iOS-26-1
|
iOS 26.1 (26.1 - 23B86) - com.apple.CoreSimulator.SimRuntime.iOS-26-1
|
||||||
iOS 26.2 (26.2 - 23C54) - com.apple.CoreSimulator.SimRuntime.iOS-26-2
|
iOS 26.3 (26.3.1 - 23D8133) - com.apple.CoreSimulator.SimRuntime.iOS-26-3
|
||||||
tvOS 26.0 (26.0 - 23J352) - com.apple.CoreSimulator.SimRuntime.tvOS-26-0
|
iOS 26.4 (26.4.1 - 23E254a) - com.apple.CoreSimulator.SimRuntime.iOS-26-4
|
||||||
tvOS 26.1 (26.1 - 23J579) - com.apple.CoreSimulator.SimRuntime.tvOS-26-1
|
iOS 26.5 (26.5 - 23F77) - com.apple.CoreSimulator.SimRuntime.iOS-26-5
|
||||||
tvOS 26.2 (26.2 - 23K51) - com.apple.CoreSimulator.SimRuntime.tvOS-26-2
|
tvOS 26.2 (26.2 - 23K51) - com.apple.CoreSimulator.SimRuntime.tvOS-26-2
|
||||||
watchOS 26.0 (26.0 - 23R353) - com.apple.CoreSimulator.SimRuntime.watchOS-26-0
|
tvOS 26.4 (26.4 - 23L243a) - com.apple.CoreSimulator.SimRuntime.tvOS-26-4
|
||||||
watchOS 26.1 (26.1 - 23S36) - com.apple.CoreSimulator.SimRuntime.watchOS-26-1
|
tvOS 26.5 (26.5 - 23L470) - com.apple.CoreSimulator.SimRuntime.tvOS-26-5
|
||||||
watchOS 26.2 (26.2 - 23S303) - com.apple.CoreSimulator.SimRuntime.watchOS-26-2
|
watchOS 26.2 (26.2 - 23S303) - com.apple.CoreSimulator.SimRuntime.watchOS-26-2
|
||||||
visionOS 26.0 (26.0 - 23M336) - com.apple.CoreSimulator.SimRuntime.xrOS-26-0
|
watchOS 26.4 (26.4 - 23T240b) - com.apple.CoreSimulator.SimRuntime.watchOS-26-4
|
||||||
visionOS 26.1 (26.1 - 23N47) - com.apple.CoreSimulator.SimRuntime.xrOS-26-1
|
watchOS 26.5 (26.5 - 23T570) - com.apple.CoreSimulator.SimRuntime.watchOS-26-5
|
||||||
visionOS 26.2 (26.2 - 23N301) - com.apple.CoreSimulator.SimRuntime.xrOS-26-2
|
visionOS 26.2 (26.2 - 23N301) - com.apple.CoreSimulator.SimRuntime.xrOS-26-2
|
||||||
|
visionOS 26.4 (26.4.1 - 23O249a) - com.apple.CoreSimulator.SimRuntime.xrOS-26-4
|
||||||
|
visionOS 26.5 (26.5 - 23O470) - com.apple.CoreSimulator.SimRuntime.xrOS-26-5
|
||||||
|
|||||||
@@ -0,0 +1,47 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source ~/.zprofile
|
||||||
|
|
||||||
|
# Set shell options to enable fail-fast behavior
|
||||||
|
#
|
||||||
|
# * -e: fail the script when an error occurs or command fails
|
||||||
|
# * -u: fail the script when attempting to reference unset parameters
|
||||||
|
# * -o pipefail: by default an exit status of a pipeline is that of its
|
||||||
|
# last command, this fails the pipe early if an error in
|
||||||
|
# any of its commands occurs
|
||||||
|
#
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
update_tcc_database() {
|
||||||
|
sudo sqlite3 "$1" <<-'EOF'
|
||||||
|
INSERT OR REPLACE
|
||||||
|
INTO access (
|
||||||
|
service,
|
||||||
|
client_type,
|
||||||
|
client,
|
||||||
|
auth_value,
|
||||||
|
auth_reason,
|
||||||
|
auth_version,
|
||||||
|
indirect_object_identifier_type,
|
||||||
|
indirect_object_identifier
|
||||||
|
) VALUES
|
||||||
|
-- Indirect osascript invocation via SSH
|
||||||
|
('kTCCServiceAccessibility', 1, '/usr/libexec/sshd-keygen-wrapper', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServiceScreenCapture', 1, '/usr/libexec/sshd-keygen-wrapper', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServicePostEvent', 1, '/usr/libexec/sshd-keygen-wrapper', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServiceAppleEvents', 1, '/usr/libexec/sshd-keygen-wrapper', 2, 0, 1, 0, 'com.apple.systemevents'),
|
||||||
|
('kTCCServiceAppleEvents', 1, '/usr/libexec/sshd-keygen-wrapper', 2, 0, 1, 0, 'com.apple.Safari'),
|
||||||
|
-- Direct osascript invocation
|
||||||
|
('kTCCServiceAccessibility', 1, '/usr/bin/osascript', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServiceScreenCapture', 1, '/usr/bin/osascript', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServicePostEvent', 1, '/usr/bin/osascript', 2, 0, 1, NULL, 'UNUSED'),
|
||||||
|
('kTCCServiceAppleEvents', 1, '/usr/bin/osascript', 2, 0, 1, 0, 'com.apple.systemevents'),
|
||||||
|
('kTCCServiceAppleEvents', 1, '/usr/bin/osascript', 2, 0, 1, 0, 'com.apple.Safari');
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
# Update TCC.db for all users
|
||||||
|
update_tcc_database "/Library/Application Support/com.apple.TCC/TCC.db"
|
||||||
|
|
||||||
|
# Update TCC.db for the current user
|
||||||
|
update_tcc_database "${HOME}/Library/Application Support/com.apple.TCC/TCC.db"
|
||||||
+10
-5
@@ -7,13 +7,12 @@ packer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "macos_version" {
|
variable "vm_name" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
vm_base_name = "ghcr.io/cirruslabs/macos-${var.macos_version}-vanilla:latest"
|
vm_name = "${var.vm_name}"
|
||||||
vm_name = "${var.macos_version}-base"
|
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
memory_gb = 8
|
memory_gb = 8
|
||||||
disk_size_gb = 50
|
disk_size_gb = 50
|
||||||
@@ -65,6 +64,7 @@ build {
|
|||||||
"brew --version",
|
"brew --version",
|
||||||
"brew update",
|
"brew update",
|
||||||
"brew install wget unzip zip ca-certificates cmake gcc git-lfs jq yq gh gitlab-runner",
|
"brew install wget unzip zip ca-certificates cmake gcc git-lfs jq yq gh gitlab-runner",
|
||||||
|
"brew install buildkite/buildkite/buildkite-agent",
|
||||||
"brew install equinix-labs/otel-cli/otel-cli",
|
"brew install equinix-labs/otel-cli/otel-cli",
|
||||||
"brew install curl || true", // doesn't work on Monterey
|
"brew install curl || true", // doesn't work on Monterey
|
||||||
"brew install --cask git-credential-manager",
|
"brew install --cask git-credential-manager",
|
||||||
@@ -117,8 +117,8 @@ build {
|
|||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
inline = [
|
inline = [
|
||||||
"source ~/.zprofile",
|
"source ~/.zprofile",
|
||||||
"brew install node@20",
|
"brew install node@24",
|
||||||
"echo 'export PATH=\"/opt/homebrew/opt/node@20/bin:$PATH\"' >> ~/.zprofile",
|
"echo 'export PATH=\"/opt/homebrew/opt/node@24/bin:$PATH\"' >> ~/.zprofile",
|
||||||
"source ~/.zprofile",
|
"source ~/.zprofile",
|
||||||
"node --version",
|
"node --version",
|
||||||
"npm install --global yarn",
|
"npm install --global yarn",
|
||||||
@@ -177,4 +177,9 @@ build {
|
|||||||
"sudo chmod 0644 /Library/LaunchAgents/org.cirruslabs.tart-guest-agent.plist",
|
"sudo chmod 0644 /Library/LaunchAgents/org.cirruslabs.tart-guest-agent.plist",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Update TCC.db and allow automation tools
|
||||||
|
provisioner "shell" {
|
||||||
|
script = "scripts/update-tcc-database.sh"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
packer {
|
packer {
|
||||||
required_plugins {
|
required_plugins {
|
||||||
tart = {
|
tart = {
|
||||||
version = ">= 1.12.0"
|
version = ">= 1.16.0"
|
||||||
source = "github.com/cirruslabs/tart"
|
source = "github.com/cirruslabs/tart"
|
||||||
}
|
}
|
||||||
ansible = {
|
ansible = {
|
||||||
@@ -12,7 +12,7 @@ packer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
// will be update to 15.7
|
// will be update to 15.7.2
|
||||||
from_ipsw = "https://updates.cdn-apple.com/2025SummerFCS/fullrestores/093-10809/CFD6DD38-DAF0-40DA-854F-31AAD1294C6F/UniversalMac_15.6.1_24G90_Restore.ipsw"
|
from_ipsw = "https://updates.cdn-apple.com/2025SummerFCS/fullrestores/093-10809/CFD6DD38-DAF0-40DA-854F-31AAD1294C6F/UniversalMac_15.6.1_24G90_Restore.ipsw"
|
||||||
vm_name = "sequoia-vanilla"
|
vm_name = "sequoia-vanilla"
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
@@ -33,7 +33,7 @@ source "tart-cli" "tart" {
|
|||||||
# [1]: should be named "English (US)", but oh well 🤷
|
# [1]: should be named "English (US)", but oh well 🤷
|
||||||
"<wait30s>italiano<esc>english<enter>",
|
"<wait30s>italiano<esc>english<enter>",
|
||||||
# Select Your Country or Region
|
# Select Your Country or Region
|
||||||
"<wait30s>united states<leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait30s><click 'Select Your Country or Region'><wait5s>united states<leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
# Transfer Your Data to This Mac
|
# Transfer Your Data to This Mac
|
||||||
"<wait10s><tab><tab><tab><spacebar><tab><tab><spacebar>",
|
"<wait10s><tab><tab><tab><spacebar><tab><tab><spacebar>",
|
||||||
# Written and Spoken Languages
|
# Written and Spoken Languages
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ packer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
// will be update to 14.8
|
// will be update to 14.8.2
|
||||||
from_ipsw = "https://updates.cdn-apple.com/2024SummerFCS/fullrestores/062-52859/932E0A8F-6644-4759-82DA-F8FA8DEA806A/UniversalMac_14.6.1_23G93_Restore.ipsw"
|
from_ipsw = "https://updates.cdn-apple.com/2024SummerFCS/fullrestores/062-52859/932E0A8F-6644-4759-82DA-F8FA8DEA806A/UniversalMac_14.6.1_23G93_Restore.ipsw"
|
||||||
vm_name = "sonoma-vanilla"
|
vm_name = "sonoma-vanilla"
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
packer {
|
packer {
|
||||||
required_plugins {
|
required_plugins {
|
||||||
tart = {
|
tart = {
|
||||||
version = ">= 1.12.0"
|
version = ">= 1.16.0"
|
||||||
source = "github.com/cirruslabs/tart"
|
source = "github.com/cirruslabs/tart"
|
||||||
}
|
}
|
||||||
ansible = {
|
ansible = {
|
||||||
@@ -12,7 +12,7 @@ packer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
from_ipsw = "https://updates.cdn-apple.com/2025FallFCS/fullrestores/089-04148/791B6F00-A30B-4EB0-B2E3-257167F7715B/UniversalMac_26.1_25B78_Restore.ipsw"
|
from_ipsw = "https://updates.cdn-apple.com/2026SpringFCS/fullrestores/122-58869/DFB1CEEF-5619-4591-9924-E20DB2C8FED0/UniversalMac_26.5_25F71_Restore.ipsw"
|
||||||
vm_name = "tahoe-vanilla"
|
vm_name = "tahoe-vanilla"
|
||||||
cpu_count = 4
|
cpu_count = 4
|
||||||
memory_gb = 8
|
memory_gb = 8
|
||||||
@@ -32,7 +32,7 @@ source "tart-cli" "tart" {
|
|||||||
# [1]: should be named "English (US)", but oh well 🤷
|
# [1]: should be named "English (US)", but oh well 🤷
|
||||||
"<wait30s>italiano<esc>english<enter>",
|
"<wait30s>italiano<esc>english<enter>",
|
||||||
# Select Your Country or Region
|
# Select Your Country or Region
|
||||||
"<wait60s>united states<leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait60s><click 'Select Your Country or Region'><wait5s>united states<leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
# Transfer Your Data to This Mac
|
# Transfer Your Data to This Mac
|
||||||
"<wait10s><tab><tab><tab><spacebar><tab><tab><spacebar>",
|
"<wait10s><tab><tab><tab><spacebar><tab><tab><spacebar>",
|
||||||
# Written and Spoken Languages
|
# Written and Spoken Languages
|
||||||
@@ -46,13 +46,15 @@ source "tart-cli" "tart" {
|
|||||||
# Enable Voice Over
|
# Enable Voice Over
|
||||||
"<wait120s><leftAltOn><f5><leftAltOff>",
|
"<wait120s><leftAltOn><f5><leftAltOff>",
|
||||||
# Sign In with Your Apple ID
|
# Sign In with Your Apple ID
|
||||||
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar><up><spacebar>",
|
||||||
# Are you sure you want to skip signing in with an Apple ID?
|
# Are you sure you want to skip signing in with an Apple ID?
|
||||||
"<wait10s><tab><spacebar>",
|
"<wait10s><tab><spacebar>",
|
||||||
# Terms and Conditions
|
# Terms and Conditions
|
||||||
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
# I have read and agree to the macOS Software License Agreement
|
# I have read and agree to the macOS Software License Agreement
|
||||||
"<wait10s><tab><spacebar>",
|
"<wait10s><tab><spacebar>",
|
||||||
|
# Age Range -> Adult
|
||||||
|
"<wait10s><tab><tab><tab><spacebar>",
|
||||||
# Enable Location Services
|
# Enable Location Services
|
||||||
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
# Are you sure you don't want to use Location Services?
|
# Are you sure you don't want to use Location Services?
|
||||||
@@ -65,6 +67,10 @@ source "tart-cli" "tart" {
|
|||||||
"<wait10s><tab><tab><spacebar>",
|
"<wait10s><tab><tab><spacebar>",
|
||||||
# Siri
|
# Siri
|
||||||
"<wait10s><tab><spacebar><leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait10s><tab><spacebar><leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
|
# You Mac is Ready for FileVault
|
||||||
|
"<wait10s><leftShiftOn><tab><tab><leftShiftOff><spacebar>",
|
||||||
|
# Mac Data Will Not Be Securely Encrypted
|
||||||
|
"<wait10s><tab><spacebar>",
|
||||||
# Choose Your Look
|
# Choose Your Look
|
||||||
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
|
||||||
# Update Mac Automatically
|
# Update Mac Automatically
|
||||||
@@ -80,10 +86,13 @@ source "tart-cli" "tart" {
|
|||||||
# Now that the installation is done, open "System Settings"
|
# Now that the installation is done, open "System Settings"
|
||||||
# On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information
|
# On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information
|
||||||
"<wait10s>open '/System/Applications/System Settings.app'<enter>",
|
"<wait10s>open '/System/Applications/System Settings.app'<enter>",
|
||||||
|
"<wait120s>",
|
||||||
# Navigate to "Sharing"
|
# Navigate to "Sharing"
|
||||||
"<wait10s><leftCtrlOn><f2><leftCtrlOff><right><right><right><down>Sharing<enter>",
|
"<wait10s><leftCtrlOn><f2><leftCtrlOff><right><right><right><down>Sharing<enter>",
|
||||||
# Navigate to "Screen Sharing" and enable it
|
# Navigate to "Screen Sharing" and enable it
|
||||||
"<wait10s><tab><tab><tab><tab><tab><spacebar>",
|
"<wait10s><tab><tab><tab><tab><tab><spacebar>",
|
||||||
|
# Type in the password to allow enabling Screen Sharing
|
||||||
|
"<wait10s>admin<enter>",
|
||||||
# Navigate to "Remote Login" and enable it
|
# Navigate to "Remote Login" and enable it
|
||||||
"<wait10s><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><spacebar>",
|
"<wait10s><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><tab><spacebar>",
|
||||||
# Quit System Settings
|
# Quit System Settings
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ variable "tag" {
|
|||||||
|
|
||||||
variable "disk_size" {
|
variable "disk_size" {
|
||||||
type = number
|
type = number
|
||||||
default = 120
|
default = 140
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "disk_free_mb" {
|
variable "disk_free_mb" {
|
||||||
@@ -54,7 +54,7 @@ variable "disk_free_mb" {
|
|||||||
|
|
||||||
variable "android_sdk_tools_version" {
|
variable "android_sdk_tools_version" {
|
||||||
type = string
|
type = string
|
||||||
default = "11076708" # https://developer.android.com/studio#command-line-tools-only
|
default = "14742923" # https://developer.android.com/studio#command-line-tools-only
|
||||||
}
|
}
|
||||||
|
|
||||||
source "tart-cli" "tart" {
|
source "tart-cli" "tart" {
|
||||||
@@ -133,7 +133,7 @@ build {
|
|||||||
"rm android-sdk-tools.zip",
|
"rm android-sdk-tools.zip",
|
||||||
"mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest",
|
"mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest",
|
||||||
"yes | sdkmanager --licenses",
|
"yes | sdkmanager --licenses",
|
||||||
"yes | sdkmanager 'platform-tools' 'platforms;android-35' 'build-tools;35.0.0' 'ndk;27.2.12479018'"
|
"yes | sdkmanager 'platform-tools' 'platforms;android-36' 'build-tools;36.0.0' 'ndk;28.2.13676358'"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -231,7 +231,10 @@ build {
|
|||||||
"source ~/.zprofile",
|
"source ~/.zprofile",
|
||||||
"brew install libimobiledevice ideviceinstaller ios-deploy carthage",
|
"brew install libimobiledevice ideviceinstaller ios-deploy carthage",
|
||||||
"brew install xcbeautify swiftformat swiftlint swiftgen licenseplist",
|
"brew install xcbeautify swiftformat swiftlint swiftgen licenseplist",
|
||||||
"brew install mint tuist/tuist/tuist",
|
"brew install mint",
|
||||||
|
"brew tap tuist/tuist",
|
||||||
|
"brew install --formula tuist",
|
||||||
|
"rbenv install 3.3.10",
|
||||||
"rbenv global 3.3.10", # fastlane conflicts with 3.4.0+ https://github.com/fastlane/fastlane/issues/29527
|
"rbenv global 3.3.10", # fastlane conflicts with 3.4.0+ https://github.com/fastlane/fastlane/issues/29527
|
||||||
"gem update",
|
"gem update",
|
||||||
"gem install fastlane",
|
"gem install fastlane",
|
||||||
|
|||||||
Reference in New Issue
Block a user