Commit Graph
463 Commits
Author SHA1 Message Date
Vasilii Polikarpov 01fe87da2e [Mac OS] Adapt code for Mac OS 14 image (#8760) 2023-11-09 11:29:07 +01:00
Vasilii Polikarpov 98c6d29ec9 [Mac OS] Remove 'LTS' suffix from OpenJDK version (#8751) 2023-11-06 19:24:44 +01:00
Erik Bershel 0226f7ba02 Revert "[MacOS] Unpin Virtualbox" (#8731)
* Revert "[MacOS] Unpin Virtualbox (#8653)"

This reverts commit f3d011eec1.

* Add more info
2023-11-06 11:53:10 +01:00
Vasilii Polikarpov f3d011eec1 [MacOS] Unpin Virtualbox (#8653)
* [MacOS] Unpin Virtualbox

* Remove obsolete virtualbox kext pester test
2023-10-27 15:59:45 +02:00
Vasilii Polikarpov a84b44268a [Mac OS] Fix logic for retrying AppleScript execution (#8662) 2023-10-27 09:32:43 +02:00
ilia-shipitsinandVasilii Polikarpov 883df0594b [macos] simplify "brew_smart_install" helper (#8639)
* [macos] homebrew: use hardcoded condition for jq installation

we cannot use "jq" if we are asked to install "jq"

* [macos] always use "brew install"

* [macos] add retries to "get_github_package_download_url" helper

* [macos] add retries to chrome install script

* [macos] add retries to OpenJDK install script

* [macos] add retries to miniconda installer

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <[email protected]>

* fix copy-paste error

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <[email protected]>

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <[email protected]>

---------

Co-authored-by: Vasilii Polikarpov <[email protected]>
2023-10-26 15:17:57 +02:00
Vasilii Polikarpov 378c4d7511 [MacOS] improve errexit option handling (#8432)
* [MacOS] improve errexit option handling

* Prevent prompting for override when unzipping

* Explicitly allow failing when installing virtualbox

* Remove libtcl symlinks

* Add debug output
2023-10-26 11:28:45 +02:00
ilia-shipitsin 58ccf6762a [macos] improve brew caching approach (#8630) 2023-10-23 09:17:15 +02:00
ilia-shipitsin 09416daff2 [macos] add retries to "brew install" (#8608) 2023-10-20 15:56:54 +02:00
ilia-shipitsin 34fa3471f8 [macos] introduce more flexible way of managind xcode runtimes (#8572) 2023-10-20 11:22:53 +02:00
ilia-shipitsin 8c66e96bea [macos] use brew_smart_install where appropriate (#8607) 2023-10-20 08:50:55 +02:00
ilia-shipitsin a1ef070e65 [macos] add retries to edge install script (#8592) 2023-10-20 08:50:04 +02:00
ilia-shipitsinandHenry Mercer b06da59aba [macos] add reties to CodeQL download step (#8582)
Co-authored-by: Henry Mercer <[email protected]>
2023-10-19 15:47:41 +02:00
Vasilii Polikarpov 10d8554b86 [Mac OS] Fix Edge Updater configuration steps (#8569) 2023-10-19 11:49:01 +02:00
ilia-shipitsin 6449d50ffd [macos] add retries to yarn install script (#8593) 2023-10-19 09:38:19 +02:00
ilia-shipitsin e78225c349 [macos] add retries to PyPy installation (#8578) 2023-10-18 16:49:00 +02:00
Vasilii Polikarpov 691345d5ba [MacOS] Install latest version of stack with ghcup (#8525) 2023-10-18 15:48:23 +02:00
ilia-shipitsin e113e2f6b8 [macos] introduce toolset possibility to install Android SDK Tools (#8573) 2023-10-18 10:17:43 +02:00
ilia-shipitsin 59fd426420 [macos] retry powershell meta download (#8571) 2023-10-18 09:55:17 +02:00
Henry Mercer f2d892281b macOS: Cache only the latest version of CodeQL (#8420)
Previously, we cached two versions since we prioritized hitting the
toolcache over landing new releases quicker. However after
experimenting with this, we have decided to prioritize getting new
releases into customers' hands more quickly.
2023-10-17 22:18:48 +02:00
ilia-shipitsin 0050697619 [macos] move android "cmdline-tools" to toolset (#8565) 2023-10-17 11:23:09 +02:00
Vasilii Polikarpov c598da4d84 [macOS] Add Chrome to arm64 image (#8526) 2023-10-17 09:35:03 +02:00
Shamil Mubarakshin b3b303d294 [macos] Remove python2 UnixTools and adjust brew symlinks (#8452) 2023-10-15 20:34:15 +02:00
ilia-shipitsin 2fd64bb024 [macos] add retries when installing DotNETSDK (#8550) 2023-10-13 14:29:01 +02:00
Alexey-Ayupov 15a60352c0 [macOS] Fix Gradle test (#8543) 2023-10-12 20:38:12 +02:00
Shamil Mubarakshin 229285b76d [macos] Adjust activesupport ruby gem version pinning (#8541) 2023-10-12 19:06:03 +02:00
sergei-pyshnoi eff24a90c9 [MacOS] Add closing System Preference window for arm64 (#8470) 2023-10-12 11:31:35 +02:00
Tingluo Huang d77bb13e97 [macOS] cache most used GitHub actions
* Download actions/action_versions latest release on macOS and set ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE.

* Feedback.
2023-10-12 10:54:39 +02:00
Shamil Mubarakshin 99642f1c19 [macos] Add activesupport gem workaround for cocoapods (#8497) 2023-10-09 15:39:39 +02:00
Shamil Mubarakshin 804736733e [macos13] Fix preimagedata for arm64 (#8488) 2023-10-09 15:34:51 +02:00
Alexey-Ayupov 60963fb52e [macOS] Add java to the macOS 13 arm64 (#8395) 2023-10-05 12:42:16 +02:00
Alexey-Ayupov 59805f59ab [macOS] Exclude virtualbox from macOS 13 arm64 (#8469) 2023-10-04 15:44:28 +02:00
Vasilii Polikarpov 2cbf4a7f93 [Mac OS] Remove hub utility (#8364) 2023-09-26 09:32:02 +02:00
Vasilii Polikarpov 19c23d1208 Add mono to mac OS 13 image (#8342) 2023-09-22 12:33:37 +02:00
Mikhail Koliada ed105d016e [macOS] improve [email protected] installation on arm64 (#8353) 2023-09-21 13:57:24 +02:00
Mikhail Koliada e3032a9bc3 [macOS] do not install intel related symlinks on arm64 openssl (#8328) 2023-09-19 14:46:33 +02:00
Mikhail Koliada 3b6bcd7dca [macOS] drop spaceship env variables from Xcode.ps1 (#8310) 2023-09-18 18:02:56 +02:00
ilia-shipitsin 5ffd15d845 [macos] suppress xcodebuild output (#8276) 2023-09-13 11:45:19 +02:00
ilia-shipitsin 1410e7c1f1 [macos] introduce additional runtimes for XCode (#8254) 2023-09-11 13:39:00 +02:00
Mikhail Koliada 63a3a7646f [macOS 13] cleanup yarn cache (#8240) 2023-09-06 13:45:11 +02:00
ilia-shipitsin 0a6c637b3f macos: drop Hardware_Accelerated_Execution_Manager (#8216) 2023-09-01 22:06:41 +02:00
Mikhail Koliada c9608d744f [macOS] do not iterate over npm packages on Ventura (#8175) 2023-08-30 15:07:36 +02:00
sergei-pyshnoi 6315e88f65 [macOS] Fix open file limits (#8187) 2023-08-30 12:51:14 +02:00
ilia-shipitsin 49ea494d52 [macos] cleanup Homebrew cache after image generation (#8182) 2023-08-29 15:21:37 +02:00
ilia-shipitsin 6bf51e6351 [macos] move license accept out of parallel ForEach (#8120) 2023-08-22 10:01:24 +02:00
Erik Bershel b2b0e8f4d6 Revert "[macOS] Remove sensitive data from a download log (#7934)" (#8121)
This reverts commit c9e6a45f28.
2023-08-21 17:51:16 +02:00
Erik Bershel 50ff20755c [macOS] Install Google Chrome cask with default method (#8070)
Reverting pretty old rework: https://github.com/actions/runner-images/pull/1861.
2023-08-11 11:47:08 +02:00
ilia-shipitsin 8b4ff6aec2 [macos] suppress swiftc warnings regarding deprecated API (#7989)
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:21:5: warning: 'SecKeychainSetPreferenceDomain' was deprecated in macOS 10.10: SecKeychain is deprecated
==> veertu-anka-vm-clone.template:     SecKeychainSetPreferenceDomain(SecPreferencesDomain.system)
==> veertu-anka-vm-clone.template:     ^
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:22:5: warning: result of call to 'deleteCertificateFromKeyChain' is unused
==> veertu-anka-vm-clone.template:     deleteCertificateFromKeyChain(certificateLabel)
==> veertu-anka-vm-clone.template:     ^                            ~~~~~~~~~~~~~~~~~~
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:36:9: warning: initialization of variable 'status' was never used; consider replacing with assignment to '_' or removing it
==> veertu-anka-vm-clone.template:     var status = SecTrustSettingsSetTrustSettings(certificate, SecTrustSettingsDomain.admin, nil)
==> veertu-anka-vm-clone.template:     ~~~~^~~~~~
==> veertu-anka-vm-clone.template:     _
2023-08-09 12:09:34 +02:00
Vasilii Polikarpov 0bb547e62c [mac OS] Update miniconda download link (#8042) 2023-08-04 19:38:18 +02:00
Shamil Mubarakshin ff6a3d4b29 [macos] Utilise arch helper function (#8036) 2023-08-03 18:20:16 +02:00