Commit Graph

416 Commits

Author SHA1 Message Date
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
Vasilii Polikarpov
89acd994b2 [mac OS] Remove AdoptOpenJDK (#8025) 2023-08-03 10:42:41 +02:00
Vasilii Polikarpov
463cbf01cf [mac OS] Set flags for curl invocations (#8008) 2023-08-01 15:42:44 +02:00
ilia-shipitsin
67f9c37eee [macos] enable simulators for XCode-15 (#8001)
test on simulators is really weird, after deep investigation we
deviced to disable it for a while
2023-08-01 10:01:30 +02:00
Vasilii Polikarpov
ae5b1c7dff Install chrome for testing in mac OS (#7990) 2023-07-28 21:09:52 +02:00
Mikhail Koliada
3c7978b116 [macOS] update dotnet core version json path (#7995) 2023-07-28 16:12:54 +02:00
Shamil Mubarakshin
fc2f35d593 [macos] Add toolcache for arm (#7974) 2023-07-28 12:37:00 +02:00
ilia-shipitsin
52b92ff310 [macos] supress nonsignificant powershell warning (#7985)
veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-07-26 17:41:57 +02:00
Mike McQuaid
35b2bdbc78 macOS bashrc: don't cleanup Homebrew on installation. (#7975)
This is unnecessary in ephemeral environments like GitHub Actions. `HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS` avoided the longer periodic cleanup but this is a better fix for speeding up Homebrew a bit in GitHub Actions.
2023-07-26 11:45:08 +02:00
Erik Bershel
e62d609811 [macOS] Remove ankarund signatures from TCC.db (#7979) 2023-07-26 11:43:20 +02:00
Vasilii Polikarpov
2733b9fa28 [macOS] Install swiftlint from Homebrew (#7912) 2023-07-25 15:16:35 +02:00
Vasilii Polikarpov
fe199ce232 Stop processing when release list download fails (#7932) 2023-07-21 10:03:46 +02:00
Erik Bershel
26354abedf [macOS] Access for TestCafe to the ScreenCapture (#7893) 2023-07-20 15:24:23 +02:00
Erik Bershel
c9e6a45f28 [macOS] Remove sensitive data from a download log (#7934) 2023-07-19 18:01:40 +02:00
Alexey-Ayupov
48e0cd3828 Add trailing newline to bash_profile (#7909) 2023-07-14 11:36:56 +02:00
sergei-pyshnoi
38e96ca31a [Mac OS] Add permissions for provisioner to Terminal and Screen recording (#7803)
* give permissions for provisioner

* add additional permissions
2023-07-11 12:49:06 +02:00
sergei-pyshnoi
d4a497eaab add comment 2023-07-11 11:41:45 +02:00
sergei-pyshnoi
1bf18b5a8a add chown for .cache and .config for arm64 2023-07-10 16:24:32 +02:00
ilia-shipitsin
c5579bd0e9 [macos] temporarily disable simulators on XCode-15 (#7880) 2023-07-07 22:46:36 +02:00
ilia-shipitsin
2ccef4f100 [macos] fix XCode simulator install behaviour (#7878)
* [macos] fix XCode simulator install behaviour

in 3929bc9f6e
was introduced regression: simulators were installed only for latest
XCode-14 instance. However, they should be installed for all XCode-14
instances.

let us revert that behaviour

* improve code readability by moving version comparison outside loop

* rework brew installation for ARM64
2023-07-07 16:24:33 +02:00
ilia-shipitsin
2b8425307d [macos] add workaround for homebrew/core, homebrew/cask (#7866)
it was found that "git clone --depth 1 .." followed by "brew tap.."
actually works even if some git index accidently broken
2023-07-06 16:36:33 +02:00
ilia-shipitsin
63b7bc4bde [macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
2023-07-06 11:36:08 +02:00
Vasilii Polikarpov
9f98ea4461 Fix XCode simulators installation (#7769) 2023-06-30 17:14:01 +02:00
Henry Mercer
6cc825e8d6 [macOS] CodeQL: Simplify the toolcache version number for bundles tagged using semver (#7717) 2023-06-14 18:58:50 +02:00
Erik Bershel
74433f1ca8 [macOS] Update condition for automation mode (#7626) 2023-05-24 15:34:44 +02:00
Erik Bershel
e1366c9a6f [macOS] Fix Python2 installer condition (#7624) 2023-05-22 21:52:24 +02:00
ilia-shipitsin
9d9b3a110d [macos] add reties for dotnet download (#7601) 2023-05-18 17:08:04 +02:00
Mikhail Koliada
775c64f21c [macOS] fix preimage data for Ventura (#7594) 2023-05-18 12:53:10 +02:00
ilia-shipitsin
f2b1fa1399 [macos] enable python3 (and pipx) on macOS13 (#7599) 2023-05-18 09:21:55 +02:00
Alexey-Ayupov
eb53372646 [macOS] update scripts to fix image generation (#7608) 2023-05-17 11:39:37 +02:00
Alexey-Ayupov
8b099099d9 [macos] prepare repository for ARM64 arch (#7396) 2023-05-12 13:30:13 +02:00
Vasilii Polikarpov
0997df9069 Keep imagegeneration scripts in macOS and Ubuntu (#7572) 2023-05-12 09:35:09 +02:00
sergei-pyshnoi
8bac0d5de1 [macOS] fix edge installation (#7553) 2023-05-09 19:41:47 +02:00
Shamil Mubarakshin
fddf50db2a Add Ruby and Python to toolcache (#7529) 2023-05-05 08:38:29 +02:00
Delphine Roux
0636feb5aa updates for MacOS M1/arm64 runners (#7453) 2023-04-27 09:21:48 +02:00
Shamil Mubarakshin
a2308e8518 [macos] remove GraalVM (#7398) 2023-04-06 18:29:02 +02:00
Erik Bershel
e37e273375 [macOS] Fix typo in TCC DB config (#7314) 2023-03-21 17:59:57 +01:00
Erik Bershel
7a704400ab [macOS] Update macOS TCC DB config (#7297) 2023-03-17 09:43:53 +01:00
Mikhail Koliada
ea986d3260 [Anka] Decrement retries for auth attempts (#7217) 2023-03-02 11:21:19 +01:00
Maxim Lobanov
fec7951493 Fix Xcode simulator naming at the end of image generation (#7181) 2023-03-01 10:43:47 +01:00
Alexey-Ayupov
c6c2716726 [macOS] prepare repository for macOS 13 (#7156) 2023-02-28 20:24:25 +01:00
Mikhail Koliada
9089d1ec95 [macOS] do not install tcl/tk symlinks on BigSur (#7202) 2023-02-28 14:49:01 +01:00
Erik Bershel
d9fa202bbb [macOS] Update utils.sh - brew all bottles, fix echo (#7160) 2023-02-23 17:33:06 +01:00
Mikhail Koliada
8a001e66b1 [macOS] Do not use brew API for installation (#7135) 2023-02-18 10:41:24 +01:00
Erik Bershel
c60c6b67ab [macOS] Update Python3 installer script (#7104) 2023-02-14 16:47:55 +01:00
sergei-pyshnoi
8767a6eb4e Remove all macOS-10.15 related code (#7078) 2023-02-13 16:40:48 +01:00
Alexey-Ayupov
feb6252fae [macOS] Update templates to fix issue with node 19 (#7081) 2023-02-11 11:25:07 +01:00
Julian Ospald
c92736d124 Don't clean up haddock and profiling libs on MacOS (#7069)
This was initially meant to save space in docker containers,
but breaks several use cases and runner images shouldn't have
space constraints.
2023-02-09 21:47:25 +01:00