Commit Graph

273 Commits

Author SHA1 Message Date
MaksimZhukov
efc4153250 [macOS] Change .NET SDK pre-installation policy (#4008) 2021-09-05 12:46:44 +03:00
Mikhail Timofeev
76c0efb5eb [macOS] Install cargo-audit 0.14.1 as 0.15.0 is broken (#3820)
* Hardcode 0.14.1 as 0.15.0 is broken

* Install cargo-audit without locked
2021-07-30 22:05:48 +03:00
Mikhail Timofeev
52d30ac08c [macOS] Fix xcode installation script if there is only one Xcode version to install (#3808)
* Cast xcodeVersions variable to array
2021-07-29 16:15:45 +03:00
Aleksandr Chebotov
c7cfdf2683 [macOS] Update MongoDB to version 5 (#3772) 2021-07-22 17:31:36 +03:00
Mikhail Timofeev
e139c6d581 [macOS] Skip Intel HAXM installation on BigSur (#3698)
* Remove HAXM installation as it doesn't work on Big Sur
* Change test to validate successful kext load
* Add HAXM to software report
2021-07-14 10:02:12 +03:00
Marcus Felling
e8381d7db3 [macOS] Adding Bicep CLI (#3655)
* Add Bicep CLI

* Correct regex for bicep version

* Add Bicep CLI

* use tap path for bicep brew install

* use tap path for bicep brew install

* use tap path for bicep brew install

* Update bicep package name

* Update bicep package name

* Update bicep package name

* Add install script in order to run homebrew tap

* no need to reference utils.sh

* Remove bicep from common packages

* Add "CLI" to Bicep return statement

Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
2021-07-07 17:10:31 +03:00
Mikhail Timofeev
cc3405ff7a [macOS] Switch android tools installation to use cmdline-tools' sdkmanager (#3686)
* Switch android installation to use cmdline-tools
* Switch android-toolsets and xamarin-android-ndk to use new sdkmanager
* Remove cmdline-tools installation from toolset as it's installed
* Remove redundant steps with warning prevention
* Remove hardcoded licenses as they are accepted during the installation
* Add tests to check that both sdkmanagers are available
* Simplify Get-AndroidInstalledPackages function to use list_installed

* Change regex pattern to output the group
* Currently the function returns 4. instead of 4.0, this change fixes it
2021-07-07 15:16:23 +03:00
Mikhail Timofeev
4da3c8eef9 Add blackhole audiodevice for macOS Big sur, add sox and Switchaudio-osx versions to the docs (#3542) 2021-06-08 10:44:31 +03:00
Mikhail Timofeev
4983deed0f [macos] stick to mongodb 4.4 (#3484) 2021-05-31 18:33:17 +03:00
Mikhail Timofeev
5898c5ebd4 Change RubyGems installation to use toolset (#3474) 2021-05-30 00:39:27 +03:00
Mikhail Timofeev
f9f82b79eb Add previous version uninstallation (#3448) 2021-05-25 20:33:58 +03:00
Mikhail Timofeev
d32753de28 Temporary hardcoding fastlane 2.183.2 on macOS (#3444) 2021-05-24 21:36:35 +03:00
Mikhail Timofeev
0f3523c0af [macOS] Add GCC 11 (#3361)
* Add gcc@11 to macOS images

* Change tests and software report to use gcc toolset versions

* Add natural sort
2021-05-13 11:45:33 +03:00
Aleksandr Chebotov
83f2d79254 [macOS] suppress pipefail pgrep exit code (#3208) 2021-04-19 17:18:32 +03:00
Mikhail Timofeev
94a1c2770c [macOS] Avoid creating symlinks for PyPy 7.3.4 (#3135) 2021-04-09 11:04:11 +03:00
Dmitry Shibanov
60459a5b04 add replace from '+' to '-' (#3027) 2021-03-27 10:51:01 +03:00
Mikhail Timofeev
fa7347b7a0 Change approach to get the version from manifest (#2966) 2021-03-18 09:41:47 +03:00
Nikita Bykov
ef6e8c905f [MacOS] Move preinstalled java distributions to the toolcache directory (#2883)
* Move java to the toolcache

* resolved comments

* added sudo for ln command

* fixed versions and added symlink

* fixed openjdk.sh

* fixed typo

* updated SoftwareReport

* fixed SoftwareReport

* fixed SoftwareReport

* fixed tool name

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2021-03-16 17:13:54 +03:00
Mikhail Timofeev
7cb767267a add all Go symlinks (#2798) 2021-02-28 10:36:00 +03:00
Mikhail Timofeev
9378641fb4 [macOS] Stick to go 1.15 (#2795) 2021-02-27 11:45:49 +03:00
Mikhail Timofeev
d76f3274f8 [macOS] Fix Android tests to work with platform version S and remove Cmake 3.6 (#2757)
* Fix tests, move cmake to toolset

* add -L to curl
2021-02-19 14:52:13 +03:00
Dmitry Shibanov
25efb10e32 Parallel installation of Xcode (#2432)
* parallel xcode installation

* resolve comments

* fix changes

* resolve comments and change ErrorActionPreference

* return imports

* switch ErrorActionPreference to Stop

* add log for threadCount

* add errorAction

* use new approach for warning

* change to bash -c

* change approach to install xcodes through to parallel foreach

* use & bash -c "command"

* mv upper ErrorActionPreference and work on logs

* mv $env:SPACESHIP_SKIP_2FA_UPGRADE = 1

* change process count to 5

* Invoke-XCVersion add out-host
2021-02-18 15:08:41 +03:00
Dmitry Shibanov
20156708d5 [macOS] Remove nvm aliases and old node versions. (#2687)
* remove aliases and old node versions.

* resolve comments

* fix tests
2021-02-16 12:42:01 +03:00
Dibir Magomedsaygitov
dad0901d33 [macOS] Remove Java 7 (#2631)
* remove java 7

* remove unused function
2021-02-07 20:09:22 +03:00
Maxim Lobanov
9480083149 Enable SPACESHIP_SKIP_2FA_UPGRADE flag for xcversion (#2617) 2021-02-05 09:39:26 +03:00
Dmitry Shibanov
a49d4e2294 Add NDK 22 to macOS images (#2542)
* add env variables to docs, add extra ndk

* add new header 4

* rename variable

* add ndk to toolset as generic approach

* grep latest version

* install latest lts

* improve function

* rename function
2021-02-01 12:56:44 +03:00
Andy Mishechkin
5b5da5ce02 [macOS] Software updates week 5 2021 (#2580) 2021-01-29 18:14:30 +03:00
Darii Nurgaleev
f5b6afebd0 [macOS] move Pester tests to separate files/contexts/describes (#2573)
* [macOS] Fail Pester tests on error

* return it back

* added all files for testing

* common utils path changed

* linux scripts shouldn't be touched
2021-01-29 12:37:48 +03:00
Mikhail Timofeev
df8a157caf [macOS] install geckodriver from binaries for 10.13 (#2559)
* install geckodriver from binaries for hs

* unite add to path block

* minor comment change

* fix variable name

* jg -r instead of tr

* change geckourl
2021-01-27 11:54:20 +03:00
Aleksandr Chebotov
5537d89215 [macOS] Add apache and nginx (#2522)
* add apache and nginx

* swap config and service status

* add new line

* remove notes
2021-01-26 17:14:31 +03:00
MaksimZhukov
ed5d4dc5c5 [macOS] Fix Bazel issue (#2543)
* Install Bazel 3.7.1 on the macOS images less than Catalina

* Export the USE_BAZEL_VERSION variable to the bashrc

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2021-01-26 10:44:38 +03:00
Mikhail Timofeev
8be00cadcb [macos] add locked file for Cargo (#2544) 2021-01-25 19:55:35 +03:00
Aleksandr Chebotov
caa7a1ac6d [macOS] Get rid of invoke_tests imports (#2496)
* get rid of invoke_tests imports

* add sudo

* change path to /usr/bin/invoke_tests

* create /usr/local/bin dir

* remove local variables

* fix group owner

* set default 775 perm

* delete invoke_tests symlink
2021-01-22 09:26:28 +03:00
Dmitry Shibanov
c3525f6978 Freeze NDK 21 on MacOS Images (#2497) 2021-01-21 11:31:14 +03:00
Darii Nurgaleev
03ce901f42 [macOS] Pester tests invocation after install - 2. (#2429)
* [macOS] Fail Pester tests on error

* return it back

* added new tests

* added new tests for Macos part2

* fixed nitpicks

* vsmac changes

* remove toolcache fron high sierra
2021-01-20 10:11:00 +03:00
Aleksandr Chebotov
e7970dd34f deprecate go < 1.13 and node.js 8 (#2445) 2021-01-18 09:45:56 +03:00
Leonid Lapshin
2e06b1a227 Removed PyPy version workaround for macOS 10.13 (#2414)
* removed pypy version workaround for macOS 10.13

* fix toolcache test on macos

* fixed an error

* disable strict name checking for imported powershell modules

* Ruby 3.0 doesn't exists on 10.13

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
2021-01-14 12:17:44 +03:00
Darii Nurgaleev
0a255311b1 [macOS] Pester tests invocation after install. (#2421)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests invokation after install

* fix nitpicks

* CocoaPods fix
2021-01-13 20:46:44 +03:00
Darii Nurgaleev
df05e8c6cb [macOS] Pester tests fail on error (#2378)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] Pester tests fail on error

* some tests were moved

* appcenter cli moved

* openssl separate describe

* added new tests for java

* moved stack from haskell

* invoke tests to stack

* xamarin added tests sources

* mongo tests fix

* ndk path

* xamarin-android-ndk-tests removed

* fix nitpicks

* added new filename for XamarinNDK

* AzCopy Describe change

* added azcopy C correct.

* android additional_tools tests

* remove null elements from massive

* added new lines for verification macos 10.13

* add Android Tests for mac, not for linux
2021-01-11 09:30:51 +03:00
Darii Nurgaleev
2fdc4d38d9 [macOS] Ruby3.0 installation fix (#2390)
* [macOS] Fail Pester tests on error

* return it back

* [macOS] fix ruby3 installation.
2021-01-06 09:21:49 +03:00
Sergey Dolin
58a6784582 [macos] Add Android Comand Line tools (#2363) 2020-12-31 11:22:17 +03:00
Mikhail Timofeev
ab06a8a68f [macOS] Keep ruby 2.7 as the default one (#2358)
* Set ruby 2.7 instead of the latest one

* change ruby path in bashrc
2020-12-28 12:53:43 +03:00
MaksimZhukov
310f692ea5 [macOS] Fix the issue with brew install (#2354)
* Update azure-cli installation

* Update curl installation

* Update git-lfs installation

* Add utils

* Update gnupg installation

* Add brew_install function

* Revert jq installation

* Add condition for the aws-sam-cli

* Add return to function, revert aws-sam-cli changes, rename brew_install function

* Fix typo

Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
2020-12-28 10:54:25 +03:00
Darii Nurgaleev
7403f33180 [macOS] add pester tests to install scripts part-1. (#2286)
* [macOS] add pester tests to install scripts part-1.

* changed version

* added changes related to common utils installation

* added source tests file

* removed tests from homebrew

* moved jq to homebrew

* fix nitpicks

* incorrect things are fixed.

* fixed some mistakes in the text

* commonutils changed.

* remove swiftlint installation from toolsets

* removed useless string
2020-12-23 18:14:13 +03:00
Mikhail Timofeev
7ff71c853d [macOS] Fix the issue with Python 2to3 symlink (#2326)
* change vm spec to Standard_D8s_v4 for win images

* remove symlink to 2to3

* explicitly overwrite symlinks
2020-12-22 21:34:29 +03:00
Darii Nurgaleev
0d93dd2fc9 [macOS] brew --cask option fix. (#2325)
* [macOS] brew --cask option fix.

* removed curl from HS

* return curl back
2020-12-22 10:48:31 +03:00
Dmitry Shibanov
4de7f89a42 Add PYPY_VERSION file to the images (#2285)
* add PYPY_VERSION file

* resolving comments

* fix output for windows

* add fix for windows
2020-12-21 15:07:19 +03:00
Mikhail Timofeev
c160ddf991 [macOS] install swiftlint from pkg (#2296)
* install swiftling from pkg for Mojave

* Install swiftlint from package for all OS except HS, return xcode-clt installation

* add utils.sh
2020-12-18 20:41:31 +03:00
Darii Nurgaleev
0a9570b623 [macOS] change Invoke-Pester function (#2261)
* [macOS] change Invoke-Pester function

* added new logic

* try another approach.

* invoke-tests change

* added a little bunch of tests.

* remove import from browsers

* added source for all tests covered scripts.

* run all tests.

* added proper module import

* RunAll-Tests.ps1 changes.

* added shebang

* added new approach for tests.

* the first line should be shebang

* fixed nitpicks
2020-12-17 15:37:19 +03:00
Nikita Bykov
d729747846 [macOS] Add GNU Tar (#2163)
* added gnu-tar

* rework gnu-tar installation

* fix SoftwareReport for gnu-tar

* add bsdtar to SoftwareReport

* updated SoftwareReport

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-12-15 10:43:27 +03:00