From 50f99319f4f15a220baa4043a4bddb2e9643fc0d Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Wed, 21 Oct 2020 16:09:53 +0300 Subject: [PATCH 01/32] add spotlight reindex --- images/macos/provision/configuration/finalize-vm.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index b01b3c23..b2e831c8 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -17,4 +17,9 @@ cp $HOME/image-generation/output/software-report/systeminfo.txt $HOME/image-gene npm cache clean --force # Clean up temporary directories -rm -rf ~/utils ~/image-generation \ No newline at end of file +rm -rf ~/utils ~/image-generation + +# Erase all indexes and wait until the rebuilding process ends, +# for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish +sudo mdutil -E / +sleep 180 \ No newline at end of file From 7776bc4f83f6272d1728cc8deeda980a532cddff Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Thu, 22 Oct 2020 14:44:40 +0300 Subject: [PATCH 02/32] removed timeout --- images/macos/provision/configuration/finalize-vm.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index b2e831c8..236fb526 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -22,4 +22,10 @@ rm -rf ~/utils ~/image-generation # Erase all indexes and wait until the rebuilding process ends, # for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish sudo mdutil -E / -sleep 180 \ No newline at end of file + +sudo log stream | while true; do + if read -rt5 && [[ $REPLY =~ "executeQuery with success=0" ]]; then + echo "indexing completed" + exit 0 + fi +done \ No newline at end of file From 6b4ca3cc7f2621db30da300cff4bec25686f6fe8 Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Thu, 22 Oct 2020 15:02:41 +0300 Subject: [PATCH 03/32] typo --- images/macos/provision/configuration/finalize-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index 236fb526..f45de873 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -26,6 +26,6 @@ sudo mdutil -E / sudo log stream | while true; do if read -rt5 && [[ $REPLY =~ "executeQuery with success=0" ]]; then echo "indexing completed" - exit 0 + exit 0 fi done \ No newline at end of file From 67fb0904b7b54306656f2380d5f786ce42b3c496 Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Fri, 23 Oct 2020 13:30:51 +0300 Subject: [PATCH 04/32] changed a log message --- images/macos/provision/configuration/finalize-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index f45de873..bdabc50b 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -24,7 +24,7 @@ rm -rf ~/utils ~/image-generation sudo mdutil -E / sudo log stream | while true; do - if read -rt5 && [[ $REPLY =~ "executeQuery with success=0" ]]; then + if read -rt5 && [[ $REPLY =~ "Unlinked journal" ]]; then echo "indexing completed" exit 0 fi From 81941077a178d7ee4af97bdbacd8f435ecbc76e4 Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Wed, 28 Oct 2020 16:15:33 +0300 Subject: [PATCH 05/32] changed stop message --- images/macos/provision/configuration/finalize-vm.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index 2ce313a7..90ffbbeb 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -26,10 +26,5 @@ rm -rf ~/utils ~/image-generation # Erase all indexes and wait until the rebuilding process ends, # for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish sudo mdutil -E / - -sudo log stream | while true; do - if read -rt5 && [[ $REPLY =~ "Unlinked journal" ]]; then - echo "indexing completed" - exit 0 - fi -done \ No newline at end of file +sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask' +echo "Indexing completed" \ No newline at end of file From 62de6fab8b176ae27fb8263a927d26ae7a4a768c Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Wed, 28 Oct 2020 16:39:42 +0300 Subject: [PATCH 06/32] pipx linter change --- images/macos/provision/core/pipx-packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/macos/provision/core/pipx-packages.sh b/images/macos/provision/core/pipx-packages.sh index 658600fa..a101d6d7 100644 --- a/images/macos/provision/core/pipx-packages.sh +++ b/images/macos/provision/core/pipx-packages.sh @@ -1,3 +1,5 @@ +#!/bin/bash -e -o pipefail + source ~/utils/utils.sh export PATH="$PATH:/opt/pipx_bin" From 02e3c4276dfbeaf7709bf230357f09bb12dcc96f Mon Sep 17 00:00:00 2001 From: Leonid Lapshin Date: Thu, 29 Oct 2020 09:19:29 +0300 Subject: [PATCH 07/32] exit with true because of pipefail --- images/macos/provision/configuration/finalize-vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/configuration/finalize-vm.sh b/images/macos/provision/configuration/finalize-vm.sh index 3e73dc5f..ef4a3714 100644 --- a/images/macos/provision/configuration/finalize-vm.sh +++ b/images/macos/provision/configuration/finalize-vm.sh @@ -29,5 +29,5 @@ rm -rf ~/utils ~/image-generation # Erase all indexes and wait until the rebuilding process ends, # for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish sudo mdutil -E / -sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask' +sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask' || true echo "Indexing completed" \ No newline at end of file From 82e4ec4a0a2908b07f13fac5e273b89fd8278950 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Wed, 21 Oct 2020 10:29:07 +0500 Subject: [PATCH 08/32] Add verbose versions of apt --- images/linux/scripts/base/apt-mock.sh | 19 +++++++++++++++++++ images/linux/ubuntu1604.json | 5 +++++ images/linux/ubuntu1804.json | 5 +++++ images/linux/ubuntu2004.json | 5 +++++ 4 files changed, 34 insertions(+) create mode 100644 images/linux/scripts/base/apt-mock.sh diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh new file mode 100644 index 00000000..68fef1bf --- /dev/null +++ b/images/linux/scripts/base/apt-mock.sh @@ -0,0 +1,19 @@ +#!/bin/sh -x + +prefix=/usr/local/bin +mkdir -p $prefix + +for tool in apt apt-get apt-fast deb;do + real_tool=`which $tool` + cat >$prefix/$tool < Date: Fri, 23 Oct 2020 00:25:52 +0500 Subject: [PATCH 09/32] make retries --- images/linux/scripts/base/apt-mock.sh | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh index 68fef1bf..1cfe4eec 100644 --- a/images/linux/scripts/base/apt-mock.sh +++ b/images/linux/scripts/base/apt-mock.sh @@ -1,19 +1,24 @@ -#!/bin/sh -x +#!/bin/bash prefix=/usr/local/bin -mkdir -p $prefix -for tool in apt apt-get apt-fast deb;do +for tool in apt apt-get apt-fast;do real_tool=`which $tool` cat >$prefix/$tool < Date: Mon, 26 Oct 2020 14:18:59 +0500 Subject: [PATCH 10/32] add shbang --- images/linux/scripts/base/apt-mock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh index 1cfe4eec..5dd1ad4a 100644 --- a/images/linux/scripts/base/apt-mock.sh +++ b/images/linux/scripts/base/apt-mock.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e prefix=/usr/local/bin From babd2e2156a014adaa69aada35fa8b31a7ac44a5 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Mon, 26 Oct 2020 19:15:04 +0500 Subject: [PATCH 11/32] use fuser --- images/linux/scripts/base/apt-mock.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh index 5dd1ad4a..7288286d 100644 --- a/images/linux/scripts/base/apt-mock.sh +++ b/images/linux/scripts/base/apt-mock.sh @@ -8,17 +8,18 @@ for tool in apt apt-get apt-fast;do #!/bin/sh i=1 -while [ \$i -le 10 ];do - $real_tool "\$@" +while [ \$i -le 30 ];do + fuser /var/lib/dpkg/lock >/dev/null 2>&1 result=\$? if [ \$result -eq 0 ];then - break - else - sleep 5 - echo "...retry \$i" + sleep 1 + echo "/var/lib/dpkg/locked... retry \$i" i=\$((i + 1)) + else + break fi done +$real_tool "\$@" EOT chmod +x $prefix/$tool done From 4419d31ea714bc1ffaaf1252fecdeb3847caf318 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Mon, 26 Oct 2020 19:30:30 +0500 Subject: [PATCH 12/32] add apt-mock-remove script --- images/linux/scripts/base/apt-mock-remove.sh | 7 +++++++ images/linux/ubuntu1604.json | 5 +++++ images/linux/ubuntu1804.json | 5 +++++ images/linux/ubuntu2004.json | 5 +++++ 4 files changed, 22 insertions(+) create mode 100644 images/linux/scripts/base/apt-mock-remove.sh diff --git a/images/linux/scripts/base/apt-mock-remove.sh b/images/linux/scripts/base/apt-mock-remove.sh new file mode 100644 index 00000000..19c45988 --- /dev/null +++ b/images/linux/scripts/base/apt-mock-remove.sh @@ -0,0 +1,7 @@ +#!/bin/bash -e + +prefix=/usr/local/bin + +for tool in apt apt-get apt-fast;do + rm $prefix/$tool +done diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index b66b7417..25ba76f3 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -355,6 +355,11 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index cb522611..9cc266e0 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -359,6 +359,11 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } diff --git a/images/linux/ubuntu2004.json b/images/linux/ubuntu2004.json index 292be0d6..8dde3454 100644 --- a/images/linux/ubuntu2004.json +++ b/images/linux/ubuntu2004.json @@ -361,6 +361,11 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } From 002a944511a7e3dad060ac02a9ed3e5c6c07a700 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Mon, 26 Oct 2020 20:21:29 +0500 Subject: [PATCH 13/32] Add memo comment --- images/linux/scripts/base/apt-mock.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/linux/scripts/base/apt-mock.sh b/images/linux/scripts/base/apt-mock.sh index 7288286d..986068b0 100644 --- a/images/linux/scripts/base/apt-mock.sh +++ b/images/linux/scripts/base/apt-mock.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +# A temporary workaround for https://github.com/Azure/azure-linux-extensions/issues/1238 + prefix=/usr/local/bin for tool in apt apt-get apt-fast;do From 76f57f69f2462a973d861a6e9970d9dd33a846cc Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Tue, 27 Oct 2020 13:05:31 +0500 Subject: [PATCH 14/32] run remove mocks as root --- images/linux/scripts/base/apt-mock-remove.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/base/apt-mock-remove.sh b/images/linux/scripts/base/apt-mock-remove.sh index 19c45988..1697a7d9 100644 --- a/images/linux/scripts/base/apt-mock-remove.sh +++ b/images/linux/scripts/base/apt-mock-remove.sh @@ -1,7 +1,7 @@ -#!/bin/bash -e - +#!/bin/bash -e +set -x prefix=/usr/local/bin for tool in apt apt-get apt-fast;do - rm $prefix/$tool + sudo rm -f $prefix/$tool done From cab74c1ab9488c3659555bfb61aacee0fd121724 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 29 Oct 2020 00:03:03 +0500 Subject: [PATCH 15/32] investigate failed 1604 build --- images/linux/scripts/base/apt-mock-remove.sh | 2 +- images/linux/ubuntu1604.json | 10 +++++----- images/linux/ubuntu1804.json | 10 +++++----- images/linux/ubuntu2004.json | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/images/linux/scripts/base/apt-mock-remove.sh b/images/linux/scripts/base/apt-mock-remove.sh index 1697a7d9..286a5bcf 100644 --- a/images/linux/scripts/base/apt-mock-remove.sh +++ b/images/linux/scripts/base/apt-mock-remove.sh @@ -1,5 +1,5 @@ #!/bin/bash -e -set -x + prefix=/usr/local/bin for tool in apt apt-get apt-fast;do diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index 25ba76f3..a519b30d 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -287,6 +287,11 @@ ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, { "type": "shell", "scripts": [ @@ -355,11 +360,6 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" - }, - { - "type": "shell", - "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", - "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index 9cc266e0..977464e3 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -291,6 +291,11 @@ ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, { "type": "shell", "scripts": [ @@ -359,11 +364,6 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" - }, - { - "type": "shell", - "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", - "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } diff --git a/images/linux/ubuntu2004.json b/images/linux/ubuntu2004.json index 8dde3454..54bc6fb5 100644 --- a/images/linux/ubuntu2004.json +++ b/images/linux/ubuntu2004.json @@ -293,6 +293,11 @@ ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" }, + { + "type": "shell", + "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", + "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" + }, { "type": "shell", "scripts": [ @@ -361,11 +366,6 @@ "/usr/sbin/waagent -force -deprovision+user && export HISTSIZE=0 && sync" ], "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" - }, - { - "type": "shell", - "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", - "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" } ] } From 541036c2d127ece205da17698eec017e5052fc7c Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Fri, 30 Oct 2020 01:01:30 +0500 Subject: [PATCH 16/32] fix shbang --- images/linux/scripts/base/apt-mock-remove.sh | 2 +- images/macos/provision/assets/select-xamarin-sdk.sh | 4 ++-- images/macos/provision/core/pipx-packages.sh | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/images/linux/scripts/base/apt-mock-remove.sh b/images/linux/scripts/base/apt-mock-remove.sh index 286a5bcf..cfa179a9 100644 --- a/images/linux/scripts/base/apt-mock-remove.sh +++ b/images/linux/scripts/base/apt-mock-remove.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/bash -e prefix=/usr/local/bin diff --git a/images/macos/provision/assets/select-xamarin-sdk.sh b/images/macos/provision/assets/select-xamarin-sdk.sh index 45adc969..014075ce 100644 --- a/images/macos/provision/assets/select-xamarin-sdk.sh +++ b/images/macos/provision/assets/select-xamarin-sdk.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e -o pipefail if [ -z "$1" ]; then echo "No Xamarin SDK specified." exit 0 @@ -19,4 +19,4 @@ do echo "Set Current folder for ${FOLDER}" sudo rm -f ${FOLDER}/Current sudo ln -s ${FOLDER}/${XAMARIN_SDK} ${FOLDER}/Current -done \ No newline at end of file +done diff --git a/images/macos/provision/core/pipx-packages.sh b/images/macos/provision/core/pipx-packages.sh index 658600fa..bb6c5058 100644 --- a/images/macos/provision/core/pipx-packages.sh +++ b/images/macos/provision/core/pipx-packages.sh @@ -1,3 +1,5 @@ +#!/bin/bash -e -o pipefail + source ~/utils/utils.sh export PATH="$PATH:/opt/pipx_bin" @@ -15,4 +17,4 @@ for package in $pipx_packages; do echo "Install $package into default python" pipx install $package fi -done \ No newline at end of file +done From 2896d56d642766bbbe9e728afdc3d9d6c404c87f Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Sat, 31 Oct 2020 09:35:31 +0300 Subject: [PATCH 17/32] change 12.1 to 12.1.1 --- images/macos/provision/utils/xcode-utils.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/macos/provision/utils/xcode-utils.sh b/images/macos/provision/utils/xcode-utils.sh index cfe93439..a80fc782 100644 --- a/images/macos/provision/utils/xcode-utils.sh +++ b/images/macos/provision/utils/xcode-utils.sh @@ -9,6 +9,11 @@ createXamarinProvisionatorSymlink() { FULL_VERSION="12.0.1" fi + # temporary trick for 12.1.1 + if [[ $XCODE_VERSION == "12.1" ]]; then + FULL_VERSION="12.1.1" + fi + if [ $FULL_VERSION != $XCODE_VERSION ]; then ln -sf "/Applications/Xcode_${XCODE_VERSION}.app" "/Applications/Xcode_${FULL_VERSION}.app" fi @@ -19,6 +24,8 @@ getXcodeVersionToInstall() { if [[ $XCODE_VERSION == "12" ]]; then echo "12.0.1" + elif [[ ! $XCODE_VERSION == "12.1" ]]; then + echo "12.1.1 Release Candidate" elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then echo "${XCODE_VERSION//_/ }" else From d0c0d59fde2a4cd908515292cec0eb1b69407ef9 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Sat, 31 Oct 2020 17:52:14 +0300 Subject: [PATCH 18/32] fix condition --- images/macos/provision/utils/xcode-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/utils/xcode-utils.sh b/images/macos/provision/utils/xcode-utils.sh index a80fc782..4955ffcd 100644 --- a/images/macos/provision/utils/xcode-utils.sh +++ b/images/macos/provision/utils/xcode-utils.sh @@ -24,7 +24,7 @@ getXcodeVersionToInstall() { if [[ $XCODE_VERSION == "12" ]]; then echo "12.0.1" - elif [[ ! $XCODE_VERSION == "12.1" ]]; then + elif [[ $XCODE_VERSION == "12.1" ]]; then echo "12.1.1 Release Candidate" elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then echo "${XCODE_VERSION//_/ }" From 8798c75d674144ebee7cd2c15224318697b442f6 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Sun, 1 Nov 2020 12:12:46 +0300 Subject: [PATCH 19/32] [windows] add bash wrapper from git (#1937) --- images/win/scripts/Installers/Configure-Shell.ps1 | 4 ++-- images/win/scripts/Installers/Install-Msys2.ps1 | 6 ++++++ images/win/scripts/Tests/Shell.Tests.ps1 | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/images/win/scripts/Installers/Configure-Shell.ps1 b/images/win/scripts/Installers/Configure-Shell.ps1 index 8eb163bc..61b30bf3 100644 --- a/images/win/scripts/Installers/Configure-Shell.ps1 +++ b/images/win/scripts/Installers/Configure-Shell.ps1 @@ -3,8 +3,8 @@ $shellPath = "C:\shells" New-Item -Path $shellPath -ItemType Directory | Out-Null # sh and bash <--> C:\msys64\usr\bin\bash.exe -New-Item -ItemType SymbolicLink -Path "$shellPath\bash.exe" -Target "C:\msys64\usr\bin\bash.exe" | Out-Null -New-Item -ItemType SymbolicLink -Path "$shellPath\sh.exe" -Target "C:\msys64\usr\bin\sh.exe" | Out-Null +New-Item -ItemType SymbolicLink -Path "$shellPath\bash.exe" -Target "C:\msys64\bin\bash.exe" | Out-Null +New-Item -ItemType SymbolicLink -Path "$shellPath\sh.exe" -Target "C:\msys64\bin\sh.exe" | Out-Null # WSL is available on Windows Server 2019 if (Test-IsWin19) diff --git a/images/win/scripts/Installers/Install-Msys2.ps1 b/images/win/scripts/Installers/Install-Msys2.ps1 index dea3b95d..26a61e39 100644 --- a/images/win/scripts/Installers/Install-Msys2.ps1 +++ b/images/win/scripts/Installers/Install-Msys2.ps1 @@ -95,4 +95,10 @@ if (Test-Path "C:\Program Files\Git\etc\ssh") ssh-keyscan -t rsa ssh.dev.azure.com >> "C:\Program Files\Git\etc\ssh\ssh_known_hosts" } +# Copy bash wrapper from git +$wrapperPath = "C:\msys64\bin" +New-Item -Path $wrapperPath -ItemType Directory -Force | Out-Null +Copy-Item -Path "$env:ProgramFiles\Git\bin\bash.exe" -Destination $wrapperPath +Copy-Item -Path "$env:ProgramFiles\Git\bin\sh.exe" -Destination $wrapperPath + Invoke-PesterTests -TestFile "MSYS2" diff --git a/images/win/scripts/Tests/Shell.Tests.ps1 b/images/win/scripts/Tests/Shell.Tests.ps1 index 915940e2..084f40ca 100644 --- a/images/win/scripts/Tests/Shell.Tests.ps1 +++ b/images/win/scripts/Tests/Shell.Tests.ps1 @@ -1,7 +1,7 @@ Describe "Shell" { $shellTestCases = @( - @{Name = "C:\shells\bash.exe"; Target = "C:\msys64\usr\bin\bash.exe"}, - @{Name = "C:\shells\sh.exe"; Target = "C:\msys64\usr\bin\sh.exe"}, + @{Name = "C:\shells\bash.exe"; Target = "C:\msys64\bin\bash.exe"}, + @{Name = "C:\shells\sh.exe"; Target = "C:\msys64\bin\sh.exe"}, @{Name = "C:\shells\gitbash.exe"; Target = "$env:ProgramFiles\Git\bin\bash.exe"}, @{Name = "C:\shells\msysbash.exe"; Target = "C:\msys64\usr\bin\bash.exe"} ) From cd2493ca465296f50aed601bcc0805bdb017b796 Mon Sep 17 00:00:00 2001 From: Darii Nurgaleev Date: Mon, 2 Nov 2020 02:45:18 +0700 Subject: [PATCH 20/32] added new macos files. --- images/macos/macos-10.13-Readme.md | 351 ++++++++++++++++++++++++++ images/macos/macos-10.14-Readme.md | 379 +++++++++++++++++++++++++++++ 2 files changed, 730 insertions(+) create mode 100644 images/macos/macos-10.13-Readme.md create mode 100644 images/macos/macos-10.14-Readme.md diff --git a/images/macos/macos-10.13-Readme.md b/images/macos/macos-10.13-Readme.md new file mode 100644 index 00000000..da35d0f7 --- /dev/null +++ b/images/macos/macos-10.13-Readme.md @@ -0,0 +1,351 @@ +| Announcements | +|-| +| [macOS 11.0 (Big Sur) is available as a preview 🚀](https://github.com/actions/virtual-environments/issues/1814) | +| [[macOS] Default Ruby version will be changed to 2.7 on October, 26](https://github.com/actions/virtual-environments/issues/1775) | +| [Default Xcode will be changed to Xcode 12.0 on October, 20](https://github.com/actions/virtual-environments/issues/1712) | +| [Xcode 11.0, 11.1, 11.4.0 will be deprecated on November, 5](https://github.com/actions/virtual-environments/issues/1688) | +*** +# macOS 10.13 info +- System Version: macOS 10.13.6 (17G14033) +- Kernel Version: Darwin 17.7.0 +- Image Version: 20201015.3 + +## Installed Software +### Language and Runtime +- R 4.0.3 +- Node.js v8.17.0 +- NVM 0.36.0 +- NVM - Cached node versions: v6.17.1 v8.17.0 v10.22.1 v12.19.0 v13.14.0 v14.14.0 +- Python 2.7.17 +- Python 3.8.6 +- Ruby 2.6.6p146 +- .NET SDK 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 +- Go 1.15.2 +- PHP 7.4.11 +- julia 1.5.2 + +### Package Management +- Pip 19.3.1 (python 2.7) +- Pip 20.2.3 (python 3.8) +- Bundler version 2.1.4 +- Carthage 0.36.0 +- CocoaPods 1.9.3 +- Homebrew 2.5.6 +- NPM 3.10.10 +- Yarn 1.22.5 +- NuGet 4.7.0.5148 +- Miniconda 4.8.3 +- RubyGems 3.1.4 +- Composer 1.10.15 + +### Project Management +- Apache Maven 3.6.3 +- Gradle 6.7 +- Apache Ant(TM) 1.10.9 + +### Utilities +- Curl 7.73.0 +- Git: 2.28.0 +- Git LFS: 2.12.0 +- GitHub CLI: 1.1.0 +- Hub CLI: 2.14.2 +- GNU Wget 1.20.3 +- Subversion (SVN) 1.14.0 +- Packer 1.6.4 +- OpenSSL 1.0.2t 10 Sep 2019 `(/usr/local/opt/openssl -> /usr/local/Cellar/openssl@1.0.2t/1.0.2t)` +- jq 1.6 +- gpg (GnuPG) 2.2.23 +- psql (PostgreSQL) 13.0 +- PostgreSQL 13.0 +- aria2 1.35.0 +- azcopy 10.6.0 +- zstd 1.4.5 +- bazel 3.6.0 +- bazelisk 1.7.2 +- helm v3.3.4+ga61ce56 +- mongo v4.4.1 +- mongod v4.4.1 +- 7-Zip 16.02 +- virtualbox 6.1.14r140239 +- Vagrant 2.2.10 +- GNU parallel 20200722 + + +### Tools +- Fastlane 2.163.0 +- Cmake 3.18.4 +- App Center CLI 1.2.2 +- Azure CLI 2.13.0 +- AWS CLI 2.0.56 +- AWS SAM CLI 1.6.2 +- AWS Session Manager CLI 1.1.61.0 +- Aliyun CLI 3.0.60 +### Linters +- yamllint 1.25.0 +### Browsers +- Safari 13.1.2 (13609.3.5.1.5) +- SafariDriver 13.1.2 (13609.3.5.1.5) +- Google Chrome 86.0.4240.80 +- ChromeDriver 86.0.4240.22 +- Microsoft Edge 85.0.564.70 +- MSEdgeDriver 85.0.564.70 +- Mozilla Firefox 81.0.2 +- geckodriver 0.27.0 + +### Java +| Version | Vendor | Environment Variable | +| --------- | ------------ | -------------------- | +| 1.7.0_272 | Zulu | JAVA_HOME_7_X64 | +| 1.8.0_265 | AdoptOpenJDK | JAVA_HOME_8_X64 | +| 11.0.8 | AdoptOpenJDK | JAVA_HOME_11_X64 | +| 12.0.2 | AdoptOpenJDK | JAVA_HOME_12_X64 | +| 13.0.2 | AdoptOpenJDK | JAVA_HOME_13_X64 | +| 14.0.2 | AdoptOpenJDK | JAVA_HOME_14_X64 | +### Cached Tools +#### Ruby +- 2.4.10 +- 2.5.8 +- 2.6.6 +- 2.7.1 + +#### Python +- 2.7.17 +- 3.5.9 +- 3.6.10 +- 3.7.6 +- 3.8.2 + +#### PyPy +- 2.7.13 [PyPy 7.3.1] +- 3.6.9 [PyPy 7.3.1] + +### PowerShell Tools +- PowerShell 7.0.3 + +#### PowerShell Modules +| Module | Version | +| ---------- | ------- | +| Az | 4.8.0 | +| MarkdownPS | 1.9 | +| Pester | 5.0.4 | + +### Xamarin +#### Visual Studio for Mac +- 8.3.11.1 + +#### Mono +- 6.4.0.208 +- 6.0.0.334 +- 5.18.1.3 +- 5.16.1.0 +- 5.12.0.309 +- 5.10.1.57 +- 5.8.1.0 +- 5.4.1.7 +- 5.2.0.224 +- 5.0.1.1 +- 4.8.1 + +#### Xamarin.iOS +- 13.6.0.12 +- 13.4.0.2 +- 13.2.0.47 +- 12.14.0.114 +- 12.10.0.157 +- 12.8.0.2 +- 12.6.0.25 +- 12.2.1.16 +- 12.0.0.15 +- 11.14.0.13 +- 11.12.0.4 +- 11.9.1.24 +- 11.8.0.20 +- 11.6.1.4 +- 11.2.0.11 +- 11.0.0.0 +- 10.10.0.36 +- 10.6.0.10 + +#### Xamarin.Mac +- 6.6.0.12 +- 6.4.0.2 +- 6.2.0.47 +- 5.16.1.24 +- 5.10.0.157 +- 5.8.0.0 +- 5.6.0.25 +- 5.3.1.28 +- 5.2.1.16 +- 4.6.0.13 +- 4.4.1.193 +- 4.2.1.28 +- 4.0.0.216 +- 3.8.0.49 +- 3.6.3.3 +- 3.4.0.36 +- 3.0.0.398 + +#### Xamarin.Android +- 10.0.6 +- 9.4.1 +- 9.3.0 +- 9.2.3 +- 9.1.8 +- 9.0.0 +- 8.3.3 +- 8.2.0 +- 8.1.5 +- 8.0.0 +- 7.4.5 +- 7.3.1 +- 7.1.0 + +#### Unit Test Framework +- NUnit 3.6.1 + +### Xcode +| Version | Build | Path | +| -------------- | ------- | ----------------------------- | +| 10.1 (default) | 10B61 | /Applications/Xcode_10.1.app | +| 10.0 | 10A255 | /Applications/Xcode_10.app | +| 9.4.1 | 9F2000 | /Applications/Xcode_9.4.1.app | +| 9.4 | 9F1027a | /Applications/Xcode_9.4.app | +| 9.3.1 | 9E501 | /Applications/Xcode_9.3.1.app | +| 9.3 | 9E145 | /Applications/Xcode_9.3.app | +| 9.2 | 9C40b | /Applications/Xcode_9.2.app | +| 9.1 | 9B55 | /Applications/Xcode_9.1.app | +| 9.0 | 9A235 | /Applications/Xcode_9.app | +| 8.3.3 | 8E3004b | /Applications/Xcode_8.3.3.app | +| 8.2.1 | 8C1002 | /Applications/Xcode_8.2.1.app | +| 8.1 | 8B62 | /Applications/Xcode_8.1.app | +| 8.0 | 8A218a | /Applications/Xcode_8.app | + +#### Xcode Support Tools +- xcpretty 0.3.0 +- xcversion 2.6.6 +- Nomad CLI 3.1.4 +- Nomad CLI IPA ipa 0.14.3 +- xctool 0.3.7 + +#### Installed SDKs +| SDK | SDK Name | Xcode Version | +| ----------------------- | -------------------- | ------------------------------------- | +| macOS 10.12 | macosx10.12 | 8.0, 8.1, 8.2.1, 8.3.3 | +| macOS 10.13 | macosx10.13 | 9.0, 9.1, 9.2, 9.3, 9.3.1, 9.4, 9.4.1 | +| macOS 10.14 | macosx10.14 | 10.0, 10.1 | +| iOS 10.0 | iphoneos10.0 | 8.0 | +| iOS 10.1 | iphoneos10.1 | 8.1 | +| iOS 10.2 | iphoneos10.2 | 8.2.1 | +| iOS 10.3 | iphoneos10.3 | 8.3.3 | +| iOS 11.0 | iphoneos11.0 | 9.0 | +| iOS 11.1 | iphoneos11.1 | 9.1 | +| iOS 11.2 | iphoneos11.2 | 9.2 | +| iOS 11.3 | iphoneos11.3 | 9.3, 9.3.1 | +| iOS 11.4 | iphoneos11.4 | 9.4, 9.4.1 | +| iOS 12.0 | iphoneos12.0 | 10.0 | +| iOS 12.1 | iphoneos12.1 | 10.1 | +| Simulator - iOS 10.0 | iphonesimulator10.0 | 8.0 | +| Simulator - iOS 10.1 | iphonesimulator10.1 | 8.1 | +| Simulator - iOS 10.2 | iphonesimulator10.2 | 8.2.1 | +| Simulator - iOS 10.3 | iphonesimulator10.3 | 8.3.3 | +| Simulator - iOS 11.0 | iphonesimulator11.0 | 9.0 | +| Simulator - iOS 11.1 | iphonesimulator11.1 | 9.1 | +| Simulator - iOS 11.2 | iphonesimulator11.2 | 9.2 | +| Simulator - iOS 11.3 | iphonesimulator11.3 | 9.3, 9.3.1 | +| Simulator - iOS 11.4 | iphonesimulator11.4 | 9.4, 9.4.1 | +| Simulator - iOS 12.0 | iphonesimulator12.0 | 10.0 | +| Simulator - iOS 12.1 | iphonesimulator12.1 | 10.1 | +| tvOS 10.0 | appletvos10.0 | 8.0, 8.1 | +| tvOS 10.1 | appletvos10.1 | 8.2.1 | +| tvOS 10.2 | appletvos10.2 | 8.3.3 | +| tvOS 11.0 | appletvos11.0 | 9.0 | +| tvOS 11.1 | appletvos11.1 | 9.1 | +| tvOS 11.2 | appletvos11.2 | 9.2 | +| tvOS 11.3 | appletvos11.3 | 9.3, 9.3.1 | +| tvOS 11.4 | appletvos11.4 | 9.4, 9.4.1 | +| tvOS 12.0 | appletvos12.0 | 10.0 | +| tvOS 12.1 | appletvos12.1 | 10.1 | +| Simulator - tvOS 10.0 | appletvsimulator10.0 | 8.0, 8.1 | +| Simulator - tvOS 10.1 | appletvsimulator10.1 | 8.2.1 | +| Simulator - tvOS 10.2 | appletvsimulator10.2 | 8.3.3 | +| Simulator - tvOS 11.0 | appletvsimulator11.0 | 9.0 | +| Simulator - tvOS 11.1 | appletvsimulator11.1 | 9.1 | +| Simulator - tvOS 11.2 | appletvsimulator11.2 | 9.2 | +| Simulator - tvOS 11.3 | appletvsimulator11.3 | 9.3, 9.3.1 | +| Simulator - tvOS 11.4 | appletvsimulator11.4 | 9.4, 9.4.1 | +| Simulator - tvOS 12.0 | appletvsimulator12.0 | 10.0 | +| Simulator - tvOS 12.1 | appletvsimulator12.1 | 10.1 | +| watchOS 3.0 | watchos3.0 | 8.0 | +| watchOS 3.1 | watchos3.1 | 8.1, 8.2.1 | +| watchOS 3.2 | watchos3.2 | 8.3.3 | +| watchOS 4.0 | watchos4.0 | 9.0 | +| watchOS 4.1 | watchos4.1 | 9.1 | +| watchOS 4.2 | watchos4.2 | 9.2 | +| watchOS 4.3 | watchos4.3 | 9.3, 9.3.1, 9.4, 9.4.1 | +| watchOS 5.0 | watchos5.0 | 10.0 | +| watchOS 5.1 | watchos5.1 | 10.1 | +| Simulator - watchOS 3.0 | watchsimulator3.0 | 8.0 | +| Simulator - watchOS 3.1 | watchsimulator3.1 | 8.1, 8.2.1 | +| Simulator - watchOS 3.2 | watchsimulator3.2 | 8.3.3 | +| Simulator - watchOS 4.0 | watchsimulator4.0 | 9.0 | +| Simulator - watchOS 4.1 | watchsimulator4.1 | 9.1 | +| Simulator - watchOS 4.2 | watchsimulator4.2 | 9.2 | +| Simulator - watchOS 4.3 | watchsimulator4.3 | 9.3, 9.3.1, 9.4, 9.4.1 | +| Simulator - watchOS 5.0 | watchsimulator5.0 | 10.0 | +| Simulator - watchOS 5.1 | watchsimulator5.1 | 10.1 | + +#### Installed Simulators +| OS | Xcode Version | Simulators | +| ----------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| iOS 8.4 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPad 2
iPad Air
iPad Retina | +| iOS 9.0 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Retina | +| iOS 9.1 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 9.2 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 9.3 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 10.0 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch)
iPad Retina | +| iOS 10.1 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch)
iPad Retina | +| iOS 10.2 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch)
iPad Retina | +| iOS 10.3 | 8.0
8.1
8.2.1
8.3.3
9.0
9.1
9.2
9.3
9.3.1
9.4
9.4.1
10.0
10.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9 inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7 inch)
iPad Retina | +| iOS 11.0 | 9.0 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 11.1 | 9.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 11.2 | 9.2 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 11.3 | 9.3
9.3.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 11.4 | 9.4
9.4.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 12.0 | 10.0 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone XS
iPhone XS Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 12.1 | 10.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone XS
iPhone XS Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (11-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| tvOS 10.0 | 8.0
8.1 | Apple TV 1080p | +| tvOS 10.1 | 8.2.1 | Apple TV 1080p | +| tvOS 10.2 | 8.3.3 | Apple TV 1080p | +| tvOS 11.0 | 9.0 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 11.1 | 9.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 11.2 | 9.2 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 11.3 | 9.3
9.3.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 11.4 | 9.4
9.4.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.0 | 10.0 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.1 | 10.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| watchOS 3.0 | 8.0 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm | +| watchOS 3.1 | 8.1
8.2.1 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm | +| watchOS 3.2 | 8.3.3 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm | +| watchOS 4.0 | 9.0 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm | +| watchOS 4.1 | 9.1 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm | +| watchOS 4.2 | 9.2 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm | +| watchOS 4.3 | 9.3
9.3.1
9.4
9.4.1 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm | +| watchOS 5.0 | 10.0 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | +| watchOS 5.1 | 10.1 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | + +### Android +| Package Name | Version | +| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Android SDK Tools | 26.1.1 | +| Android SDK Platforms | android-30 (rev 3)
android-29 (rev 5)
android-28 (rev 6)
android-27 (rev 3)
android-26 (rev 2)
android-25 (rev 3)
android-24 (rev 2)
android-23 (rev 3)
android-22 (rev 2)
android-21 (rev 2)
android-20 (rev 2)
android-19 (rev 4)
android-18 (rev 3)
android-17 (rev 3)
android-16 (rev 5)
android-15 (rev 5) | +| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2
29.0.0 29.0.1 29.0.2 29.0.3
28.0.0 28.0.1 28.0.2 28.0.3
27.0.0 27.0.1 27.0.2 27.0.3
26.0.0 26.0.1 26.0.2 26.0.3
25.0.0 25.0.1 25.0.2 25.0.3
24.0.0 24.0.1 24.0.2 24.0.3
23.0.1 23.0.2 23.0.3 23.0.0
22.0.1 22.0.0
21.1.2 21.0.0 21.0.1 21.0.2 21.1.0 21.1.1
20.0.0
19.1.0 19.0.0 19.0.1 19.0.2 19.0.3
18.0.1 18.1.0 18.1.1
17.0.0 | +| Android SDK Platform-Tools | 30.0.4 | +| Google APIs | addon-google_apis-google-21
addon-google_apis-google-22
addon-google_apis-google-23
addon-google_apis-google-24 | +| Android Support Repository | 47.0.0 | +| Google Play services | 49 | +| Google Repository | 58 | +| SDK Patch Applier v4 | 1 | +| CMake | 3.6.4111459 | +| NDK | 15.2.4203891
18.1.5063045
21.3.6528147 | + + diff --git a/images/macos/macos-10.14-Readme.md b/images/macos/macos-10.14-Readme.md new file mode 100644 index 00000000..e8fa2cac --- /dev/null +++ b/images/macos/macos-10.14-Readme.md @@ -0,0 +1,379 @@ +| Announcements | +|-| +| [macOS 11.0 (Big Sur) is available as a preview 🚀](https://github.com/actions/virtual-environments/issues/1814) | +| [[macOS] Default Ruby version will be changed to 2.7 on October, 26](https://github.com/actions/virtual-environments/issues/1775) | +| [Default Xcode will be changed to Xcode 12.0 on October, 20](https://github.com/actions/virtual-environments/issues/1712) | +| [Xcode 11.0, 11.1, 11.4.0 will be deprecated on November, 5](https://github.com/actions/virtual-environments/issues/1688) | +*** +# macOS 10.14 info +- System Version: macOS 10.14.6 (18G6032) +- Kernel Version: Darwin 18.7.0 +- Image Version: 20201018.1 + +## Installed Software +### Language and Runtime +- Clang/LLVM 10.0.1 +- gcc-8 (Homebrew GCC 8.4.0_1) 8.4.0 - available by `gcc-8` alias +- gcc-9 (Homebrew GCC 9.3.0) 9.3.0 - available by `gcc-9` alias +- GNU Fortran (Homebrew GCC 8.4.0_1) 8.4.0 - available by `gfortran-8` alias +- GNU Fortran (Homebrew GCC 9.3.0) 9.3.0 - available by `gfortran-9` alias +- R 4.0.3 +- Node.js v8.17.0 +- NVM 0.36.0 +- NVM - Cached node versions: v6.17.1 v8.17.0 v10.22.1 v12.19.0 v13.14.0 v14.14.0 +- Python 2.7.17 +- Python 3.8.6 +- Ruby 2.6.6p146 +- .NET SDK 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 +- Go 1.15.3 +- PHP 7.4.11 +- julia 1.5.2 + +### Package Management +- Pip 19.3.1 (python 2.7) +- Pip 20.2.3 (python 3.8) +- Bundler version 2.1.4 +- Carthage 0.36.0 +- CocoaPods 1.9.3 +- Homebrew 2.5.6 +- NPM 3.10.10 +- Yarn 1.22.5 +- NuGet 4.7.0.5148 +- Miniconda 4.8.3 +- RubyGems 3.1.4 +- Composer 1.10.15 + +### Project Management +- Apache Maven 3.6.3 +- Gradle 6.7 +- Apache Ant(TM) 1.10.9 + +### Utilities +- Curl 7.73.0 +- Git: 2.28.0 +- Git LFS: 2.12.0 +- GitHub CLI: 1.1.0 +- Hub CLI: 2.14.2 +- GNU Wget 1.20.3 +- Subversion (SVN) 1.14.0 +- Packer 1.6.4 +- OpenSSL 1.0.2t 10 Sep 2019 `(/usr/local/opt/openssl -> /usr/local/Cellar/openssl@1.0.2t/1.0.2t)` +- jq 1.6 +- gpg (GnuPG) 2.2.23 +- psql (PostgreSQL) 13.0 +- PostgreSQL 13.0 +- aria2 1.35.0 +- azcopy 10.6.0 +- zstd 1.4.5 +- bazel 3.6.0 +- bazelisk 1.7.2 +- helm v3.3.4+ga61ce56 +- mongo v4.4.1 +- mongod v4.4.1 +- 7-Zip 16.02 +- virtualbox 6.1.14r140239 +- Vagrant 2.2.10 +- GNU parallel 20200722 + + +### Tools +- Fastlane 2.163.0 +- Cmake 3.18.4 +- App Center CLI 1.2.2 +- Azure CLI 2.13.0 +- AWS CLI 2.0.57 +- AWS SAM CLI 1.6.2 +- AWS Session Manager CLI 1.1.61.0 +- Aliyun CLI 3.0.60 +- GHCup v0.1.11 +- GHC 8.10.2 +- Cabal 3.2.0.0 +- Stack 2.5.1 + +### Linters +- yamllint 1.25.0 +- SwiftLint 0.40.3 + +### Browsers +- Safari 14.0 (14610.1.28.1.9) +- SafariDriver 14.0 (14610.1.28.1.9) +- Google Chrome 86.0.4240.80 +- ChromeDriver 86.0.4240.22 +- Microsoft Edge 85.0.564.70 +- MSEdgeDriver 85.0.564.70 +- Mozilla Firefox 81.0.2 +- geckodriver 0.27.0 + +### Java +| Version | Vendor | Environment Variable | +| --------- | ------------ | -------------------- | +| 1.7.0_272 | Zulu | JAVA_HOME_7_X64 | +| 1.8.0_265 | AdoptOpenJDK | JAVA_HOME_8_X64 | +| 11.0.8 | AdoptOpenJDK | JAVA_HOME_11_X64 | +| 12.0.2 | AdoptOpenJDK | JAVA_HOME_12_X64 | +| 13.0.2 | AdoptOpenJDK | JAVA_HOME_13_X64 | +| 14.0.2 | AdoptOpenJDK | JAVA_HOME_14_X64 | +### Cached Tools +#### Ruby +- 2.4.10 +- 2.5.8 +- 2.6.6 +- 2.7.1 + +#### Python +- 2.7.18 +- 3.5.10 +- 3.6.12 +- 3.7.9 +- 3.8.6 +- 3.9.0 + +#### PyPy +- 2.7.13 [PyPy 7.3.2] +- 3.6.9 [PyPy 7.3.2] + +#### Node.js +- 8.17.0 +- 10.22.1 +- 12.19.0 +- 14.14.0 + +#### Go +- 1.11.13 +- 1.12.17 +- 1.13.15 +- 1.14.10 +- 1.15.3 + +### Rust Tools +- Rust 1.47.0 +- Rustup 1.22.1 + +#### Packages +- Bindgen 0.55.1 +- Cbindgen 0.15.0 +- Cargo-outdated v0.9.11 +- Cargo-audit 0.12.1 + +### PowerShell Tools +- PowerShell 7.0.3 + +#### PowerShell Modules +| Module | Version | +| ---------- | ------- | +| Az | 4.8.0 | +| MarkdownPS | 1.9 | +| Pester | 5.0.4 | + +### Xamarin +#### Visual Studio for Mac +- 8.5.0.3183 + +#### Mono +- 6.8.0.123 +- 6.6.0.166 +- 6.4.0.208 +- 6.0.0.334 +- 5.18.1.3 +- 5.16.1.0 +- 5.12.0.309 +- 5.10.1.57 +- 5.8.1.0 +- 5.4.1.7 +- 5.2.0.224 +- 5.0.1.1 +- 4.8.1 + +#### Xamarin.iOS +- 13.14.1.39 +- 13.10.0.21 +- 13.8.3.0 +- 13.6.0.12 +- 13.4.0.2 +- 13.2.0.47 +- 12.14.0.114 +- 12.10.0.157 +- 12.8.0.2 +- 12.6.0.25 +- 12.2.1.16 +- 12.0.0.15 +- 11.14.0.13 +- 11.12.0.4 +- 11.9.1.24 +- 11.8.0.20 +- 11.6.1.4 +- 11.2.0.11 +- 11.0.0.0 +- 10.10.0.36 +- 10.6.0.10 + +#### Xamarin.Mac +- 6.14.1.39 +- 6.10.0.21 +- 6.8.3.0 +- 6.6.0.12 +- 6.4.0.2 +- 6.2.0.47 +- 5.16.1.24 +- 5.10.0.157 +- 5.8.0.0 +- 5.6.0.25 +- 5.3.1.28 +- 5.2.1.16 +- 4.6.0.13 +- 4.4.1.193 +- 4.2.1.28 +- 4.0.0.216 +- 3.8.0.49 +- 3.6.3.3 +- 3.4.0.36 +- 3.0.0.398 + +#### Xamarin.Android +- 10.2.0 +- 10.1.3 +- 10.0.6 +- 9.4.1 +- 9.3.0 +- 9.2.3 +- 9.1.8 +- 9.0.0 +- 8.3.3 +- 8.2.0 +- 8.1.5 +- 8.0.0 +- 7.4.5 +- 7.3.1 +- 7.1.0 + +#### Unit Test Framework +- NUnit 3.6.1 + +### Xcode +| Version | Build | Path | +| ---------------- | ------- | ------------------------------ | +| 11.3.1 (default) | 11C505 | /Applications/Xcode_11.3.1.app | +| 11.3 | 11C29 | /Applications/Xcode_11.3.app | +| 11.2.1 | 11B500 | /Applications/Xcode_11.2.1.app | +| 11.2 | 11B52 | /Applications/Xcode_11.2.app | +| 11.1 | 11A1027 | /Applications/Xcode_11.1.app | +| 11.0 | 11A420a | /Applications/Xcode_11.app | +| 10.3 | 10G8 | /Applications/Xcode_10.3.app | +| 10.2.1 | 10E1001 | /Applications/Xcode_10.2.1.app | +| 10.2 | 10E125 | /Applications/Xcode_10.2.app | +| 10.1 | 10B61 | /Applications/Xcode_10.1.app | +| 10.0 | 10A255 | /Applications/Xcode_10.app | +| 9.4.1 | 9F2000 | /Applications/Xcode_9.4.1.app | + +#### Xcode Support Tools +- xcpretty 0.3.0 +- xcversion 2.6.6 +- Nomad CLI 3.1.4 +- Nomad CLI IPA ipa 0.14.3 +- xctool 0.3.7 + +#### Installed SDKs +| SDK | SDK Name | Xcode Version | +| ----------------------- | -------------------- | -------------------------------------- | +| macOS 10.13 | macosx10.13 | 9.4.1 | +| macOS 10.14 | macosx10.14 | 10.0, 10.1, 10.2, 10.2.1, 10.3 | +| macOS 10.15 | macosx10.15 | 11.0, 11.1, 11.2, 11.2.1, 11.3, 11.3.1 | +| iOS 11.4 | iphoneos11.4 | 9.4.1 | +| iOS 12.0 | iphoneos12.0 | 10.0 | +| iOS 12.1 | iphoneos12.1 | 10.1 | +| iOS 12.2 | iphoneos12.2 | 10.2, 10.2.1 | +| iOS 12.4 | iphoneos12.4 | 10.3 | +| iOS 13.0 | iphoneos13.0 | 11.0 | +| iOS 13.1 | iphoneos13.1 | 11.1 | +| iOS 13.2 | iphoneos13.2 | 11.2, 11.2.1, 11.3, 11.3.1 | +| Simulator - iOS 11.4 | iphonesimulator11.4 | 9.4.1 | +| Simulator - iOS 12.0 | iphonesimulator12.0 | 10.0 | +| Simulator - iOS 12.1 | iphonesimulator12.1 | 10.1 | +| Simulator - iOS 12.2 | iphonesimulator12.2 | 10.2, 10.2.1 | +| Simulator - iOS 12.4 | iphonesimulator12.4 | 10.3 | +| Simulator - iOS 13.0 | iphonesimulator13.0 | 11.0 | +| Simulator - iOS 13.1 | iphonesimulator13.1 | 11.1 | +| Simulator - iOS 13.2 | iphonesimulator13.2 | 11.2, 11.2.1, 11.3, 11.3.1 | +| tvOS 11.4 | appletvos11.4 | 9.4.1 | +| tvOS 12.0 | appletvos12.0 | 10.0 | +| tvOS 12.1 | appletvos12.1 | 10.1 | +| tvOS 12.2 | appletvos12.2 | 10.2, 10.2.1 | +| tvOS 12.4 | appletvos12.4 | 10.3 | +| tvOS 13.0 | appletvos13.0 | 11.0, 11.1 | +| tvOS 13.2 | appletvos13.2 | 11.2, 11.2.1, 11.3, 11.3.1 | +| Simulator - tvOS 11.4 | appletvsimulator11.4 | 9.4.1 | +| Simulator - tvOS 12.0 | appletvsimulator12.0 | 10.0 | +| Simulator - tvOS 12.1 | appletvsimulator12.1 | 10.1 | +| Simulator - tvOS 12.2 | appletvsimulator12.2 | 10.2, 10.2.1 | +| Simulator - tvOS 12.4 | appletvsimulator12.4 | 10.3 | +| Simulator - tvOS 13.0 | appletvsimulator13.0 | 11.0, 11.1 | +| Simulator - tvOS 13.2 | appletvsimulator13.2 | 11.2, 11.2.1, 11.3, 11.3.1 | +| watchOS 4.3 | watchos4.3 | 9.4.1 | +| watchOS 5.0 | watchos5.0 | 10.0 | +| watchOS 5.1 | watchos5.1 | 10.1 | +| watchOS 5.2 | watchos5.2 | 10.2, 10.2.1 | +| watchOS 5.3 | watchos5.3 | 10.3 | +| watchOS 6.0 | watchos6.0 | 11.0, 11.1 | +| watchOS 6.1 | watchos6.1 | 11.2, 11.2.1, 11.3, 11.3.1 | +| Simulator - watchOS 4.3 | watchsimulator4.3 | 9.4.1 | +| Simulator - watchOS 5.0 | watchsimulator5.0 | 10.0 | +| Simulator - watchOS 5.1 | watchsimulator5.1 | 10.1 | +| Simulator - watchOS 5.2 | watchsimulator5.2 | 10.2, 10.2.1 | +| Simulator - watchOS 5.3 | watchsimulator5.3 | 10.3 | +| Simulator - watchOS 6.0 | watchsimulator6.0 | 11.0, 11.1 | +| Simulator - watchOS 6.1 | watchsimulator6.1 | 11.2, 11.2.1, 11.3, 11.3.1 | +| DriverKit 19.0 | driverkit.macosx19.0 | 11.0, 11.1, 11.2, 11.2.1, 11.3, 11.3.1 | + +#### Installed Simulators +| OS | Xcode Version | Simulators | +| ----------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| iOS 8.4 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPad 2
iPad Air
iPad Retina | +| iOS 9.0 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Retina | +| iOS 9.1 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 9.2 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 9.3 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 4s
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPad 2
iPad Air
iPad Air 2
iPad Pro
iPad Retina | +| iOS 10.0 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch) | +| iOS 10.1 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch) | +| iOS 10.2 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad Air
iPad Air 2
iPad Pro (12.9 inch)
iPad Pro (9.7 inch) | +| iOS 10.3 | 9.4.1
10.0
10.1
10.2
10.2.1
10.3
11.0
11.1
11.2
11.2.1
11.3
11.3.1 | iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9 inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7 inch) | +| iOS 11.4 | 9.4.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPad (5th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 12.0 | 10.0 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone XS
iPhone XS Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (9.7-inch) | +| iOS 12.1 | 10.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone XS
iPhone XS Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (11-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 12.2 | 10.2
10.2.1 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone Xs
iPhone Xs Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air (3rd generation)
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (11-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 12.4 | 10.3 | iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone 8
iPhone 8 Plus
iPhone SE
iPhone X
iPhone XR
iPhone Xs
iPhone Xs Max
iPad (5th generation)
iPad (6th generation)
iPad Air
iPad Air (3rd generation)
iPad Air 2
iPad Pro (10.5-inch)
iPad Pro (11-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 13.0 | 11.0 | iPhone 11
iPhone 11 Pro
iPhone 11 Pro Max
iPhone 8
iPhone 8 Plus
iPad Air (3rd generation)
iPad Pro (11-inch)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 13.1 | 11.1 | iPhone 11
iPhone 11 Pro
iPhone 11 Pro Max
iPhone 8
iPhone 8 Plus
iPad Air (3rd generation)
iPad Pro (11-inch)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 13.2 | 11.2
11.2.1 | iPhone 11
iPhone 11 Pro
iPhone 11 Pro Max
iPhone 8
iPhone 8 Plus
iPad (7th generation)
iPad Air (3rd generation)
iPad Pro (11-inch)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| iOS 13.3 | 11.3
11.3.1 | iPhone 11
iPhone 11 Pro
iPhone 11 Pro Max
iPhone 8
iPhone 8 Plus
iPad (7th generation)
iPad Air (3rd generation)
iPad Pro (11-inch)
iPad Pro (12.9-inch) (3rd generation)
iPad Pro (9.7-inch) | +| tvOS 11.4 | 9.4.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.0 | 10.0 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.1 | 10.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.2 | 10.2
10.2.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 12.4 | 10.3 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 13.0 | 11.0
11.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 13.2 | 11.2
11.2.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| tvOS 13.3 | 11.3
11.3.1 | Apple TV
Apple TV 4K
Apple TV 4K (at 1080p) | +| watchOS 4.3 | 9.4.1 | Apple Watch - 38mm
Apple Watch - 42mm
Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm | +| watchOS 5.0 | 10.0 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | +| watchOS 5.1 | 10.1 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | +| watchOS 5.2 | 10.2
10.2.1 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | +| watchOS 5.3 | 10.3 | Apple Watch Series 2 - 38mm
Apple Watch Series 2 - 42mm
Apple Watch Series 3 - 38mm
Apple Watch Series 3 - 42mm
Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm | +| watchOS 6.0 | 11.0
11.1 | Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm
Apple Watch Series 5 - 40mm
Apple Watch Series 5 - 44mm | +| watchOS 6.1 | 11.2
11.2.1
11.3
11.3.1 | Apple Watch Series 4 - 40mm
Apple Watch Series 4 - 44mm
Apple Watch Series 5 - 40mm
Apple Watch Series 5 - 44mm | + +### Android +| Package Name | Version | +| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Android SDK Tools | 26.1.1 | +| Android SDK Platforms | android-30 (rev 3)
android-29 (rev 5)
android-28 (rev 6)
android-27 (rev 3)
android-26 (rev 2)
android-25 (rev 3)
android-24 (rev 2)
android-23 (rev 3)
android-22 (rev 2)
android-21 (rev 2)
android-20 (rev 2)
android-19 (rev 4)
android-18 (rev 3)
android-17 (rev 3)
android-16 (rev 5)
android-15 (rev 5) | +| Android SDK Build-tools | 30.0.0 30.0.1 30.0.2
29.0.0 29.0.1 29.0.2 29.0.3
28.0.0 28.0.1 28.0.2 28.0.3
27.0.0 27.0.1 27.0.2 27.0.3
26.0.0 26.0.1 26.0.2 26.0.3
25.0.0 25.0.1 25.0.2 25.0.3
24.0.0 24.0.1 24.0.2 24.0.3
23.0.1 23.0.2 23.0.3 23.0.0
22.0.1 22.0.0
21.1.2 21.0.0 21.0.1 21.0.2 21.1.0 21.1.1
20.0.0
19.1.0 19.0.0 19.0.1 19.0.2 19.0.3
18.0.1 18.1.0 18.1.1
17.0.0 | +| Android SDK Platform-Tools | 30.0.4 | +| Google APIs | addon-google_apis-google-21
addon-google_apis-google-22
addon-google_apis-google-23
addon-google_apis-google-24 | +| Android Support Repository | 47.0.0 | +| Google Play services | 49 | +| Google Repository | 58 | +| SDK Patch Applier v4 | 1 | +| CMake | 3.6.4111459 | +| NDK | 15.2.4203891
18.1.5063045
21.3.6528147 | + + From c66d9d4e72bd7c2b9c7c600ddecb1aa6bfe0c3b3 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Mon, 2 Nov 2020 14:22:07 +0300 Subject: [PATCH 21/32] use toolset to install az module --- images/linux/scripts/installers/azpowershell.sh | 8 ++------ images/linux/toolsets/toolset-2004.json | 8 ++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/images/linux/scripts/installers/azpowershell.sh b/images/linux/scripts/installers/azpowershell.sh index 47ac5ff3..13253b5f 100644 --- a/images/linux/scripts/installers/azpowershell.sh +++ b/images/linux/scripts/installers/azpowershell.sh @@ -8,12 +8,8 @@ source $HELPER_SCRIPTS/os.sh # List of versions -if isUbuntu20 ; then - versions=$(pwsh -Command '(Find-Module -Name Az).Version') -else - toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json" - versions=$(jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]' $toolset) -fi +toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json" +versions=$(jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]' $toolset) # Try to install and update PowerShellGet before the actual installation pwsh -Command "Install-Module -Name PowerShellGet -Force" diff --git a/images/linux/toolsets/toolset-2004.json b/images/linux/toolsets/toolset-2004.json index c52fcb40..2985f958 100644 --- a/images/linux/toolsets/toolset-2004.json +++ b/images/linux/toolsets/toolset-2004.json @@ -69,6 +69,14 @@ {"name": "MarkdownPS"}, {"name": "Pester"} ], + "azureModules": [ + { + "name": "az", + "versions": [ + "4.7.0" + ] + } + ], "apt": { "common_packages": [ "dbus", From 1de242c6099154e7bc7e7eaecc14dc993cd7e7db Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Mon, 2 Nov 2020 14:26:40 +0300 Subject: [PATCH 22/32] set version 4.8 --- images/macos/toolsets/toolset-10.13.json | 7 ++++++- images/macos/toolsets/toolset-10.14.json | 7 ++++++- images/macos/toolsets/toolset-10.15.json | 7 ++++++- images/macos/toolsets/toolset-11.0.json | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/images/macos/toolsets/toolset-10.13.json b/images/macos/toolsets/toolset-10.13.json index 3bf62968..e4834c8b 100644 --- a/images/macos/toolsets/toolset-10.13.json +++ b/images/macos/toolsets/toolset-10.13.json @@ -180,7 +180,12 @@ ] }, "powershellModules": [ - {"name": "Az"}, + { + "name": "Az", + "versions": [ + "4.8.0" + ] + }, {"name": "MarkdownPS"}, {"name": "Pester"} ], diff --git a/images/macos/toolsets/toolset-10.14.json b/images/macos/toolsets/toolset-10.14.json index aa1b4101..2d0972ca 100644 --- a/images/macos/toolsets/toolset-10.14.json +++ b/images/macos/toolsets/toolset-10.14.json @@ -201,7 +201,12 @@ ] }, "powershellModules": [ - {"name": "Az"}, + { + "name": "Az", + "versions": [ + "4.8.0" + ] + }, {"name": "MarkdownPS"}, {"name": "Pester"} ], diff --git a/images/macos/toolsets/toolset-10.15.json b/images/macos/toolsets/toolset-10.15.json index 229ccc79..11a7e016 100644 --- a/images/macos/toolsets/toolset-10.15.json +++ b/images/macos/toolsets/toolset-10.15.json @@ -117,7 +117,12 @@ ] }, "powershellModules": [ - {"name": "Az"}, + { + "name": "Az", + "versions": [ + "4.8.0" + ] + }, {"name": "MarkdownPS"}, {"name": "Pester"} ], diff --git a/images/macos/toolsets/toolset-11.0.json b/images/macos/toolsets/toolset-11.0.json index c05de28c..874dec12 100644 --- a/images/macos/toolsets/toolset-11.0.json +++ b/images/macos/toolsets/toolset-11.0.json @@ -59,7 +59,12 @@ "addon-list": [] }, "powershellModules": [ - {"name": "Az"}, + { + "name": "Az", + "versions": [ + "4.8.0" + ] + }, {"name": "MarkdownPS"}, {"name": "Pester"} ], From 6c3b64004728ed133c019ec41c0e28b8654ff9a2 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Mon, 2 Nov 2020 14:37:48 +0300 Subject: [PATCH 23/32] Az 4.8.0 --- images/linux/toolsets/toolset-2004.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/toolsets/toolset-2004.json b/images/linux/toolsets/toolset-2004.json index 2985f958..76f2af42 100644 --- a/images/linux/toolsets/toolset-2004.json +++ b/images/linux/toolsets/toolset-2004.json @@ -73,7 +73,7 @@ { "name": "az", "versions": [ - "4.7.0" + "4.8.0" ] } ], From 2390ba420d320157200789c59e1f9dced9d5a2df Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Tue, 3 Nov 2020 01:06:07 +0300 Subject: [PATCH 24/32] add chown for IdentityService --- images/macos/provision/core/powershell.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/core/powershell.sh b/images/macos/provision/core/powershell.sh index 12beeca6..e0c0c0ec 100644 --- a/images/macos/provision/core/powershell.sh +++ b/images/macos/provision/core/powershell.sh @@ -33,4 +33,7 @@ sudo pwsh -command "& {Import-Module Az; Enable-AzureRmAlias -Scope LocalMachine sudo ln -s /usr/local/bin/pwsh /usr/local/bin/powershell # fix ~/.azure directory permissions -sudo chown -R ${USER}: $HOME/.azure \ No newline at end of file +sudo chown -R ${USER}: $HOME/.azure + +# fix permissions for Az.Account version 2.* +sudo chown -R ${USER}: $HOME/.local/share/.IdentityService \ No newline at end of file From 8d270229b32b629ddee3fed9dd12a660102ad0d2 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Tue, 3 Nov 2020 11:04:47 +0300 Subject: [PATCH 25/32] install pwsh using dotnet tool --- images/linux/scripts/installers/powershellcore.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/powershellcore.sh b/images/linux/scripts/installers/powershellcore.sh index 0ac52072..4f700fbc 100644 --- a/images/linux/scripts/installers/powershellcore.sh +++ b/images/linux/scripts/installers/powershellcore.sh @@ -9,7 +9,8 @@ source $HELPER_SCRIPTS/os.sh # Install Powershell if isUbuntu20 ; then - snap install powershell --classic --channel=edge/useedge + dotnet tool install --tool-path /opt/microsoft/powershell/7 powershell + ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh fi if isUbuntu16 || isUbuntu18 ; then From 335a7e063a7ba586652b952f142d335fe63391a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2020 10:55:16 +0000 Subject: [PATCH 26/32] Updating readme file for macOS-11.0 version 20201102.1 (#1964) Co-authored-by: Image generation service account --- images/macos/macos-11.0-Readme.md | 56 ++++++++++++++++--------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/images/macos/macos-11.0-Readme.md b/images/macos/macos-11.0-Readme.md index 75189112..e36ef538 100644 --- a/images/macos/macos-11.0-Readme.md +++ b/images/macos/macos-11.0-Readme.md @@ -1,15 +1,15 @@ | Announcements | |-| +| [Default Node.JS will be switched to 14.x on all platforms ](https://github.com/actions/virtual-environments/issues/1953) | +| [[macOS] Default Python will be upgraded to 3.9](https://github.com/actions/virtual-environments/issues/1929) | | [.NET 5.0 will become a default .NET version on November, 10](https://github.com/actions/virtual-environments/issues/1891) | | [macOS 11.0 (Big Sur) is available as a preview 🚀](https://github.com/actions/virtual-environments/issues/1814) | -| [[macOS] Default Ruby version will be changed to 2.7 on October, 26](https://github.com/actions/virtual-environments/issues/1775) | -| [Default Xcode will be changed to Xcode 12.0.1 on October, 20](https://github.com/actions/virtual-environments/issues/1712) | | [Xcode 11.0, 11.1, 11.4.0 will be deprecated on November, 5](https://github.com/actions/virtual-environments/issues/1688) | *** # macOS 11.0 info - System Version: macOS 11.0 (20A5395g) - Kernel Version: Darwin 20.1.0 -- Image Version: 20201024.1 +- Image Version: 20201102.1 ## Installed Software ### Language and Runtime @@ -20,28 +20,29 @@ - GNU Fortran (Homebrew GCC 9.3.0) 9.3.0 - available by `gfortran-9` alias - Node.js v12.19.0 - NVM 0.36.0 -- NVM - Cached node versions: v6.17.1 v8.17.0 v10.22.1 v12.19.0 v13.14.0 v14.14.0 +- NVM - Cached node versions: v6.17.1 v8.17.0 v10.23.0 v12.19.0 v13.14.0 v14.15.0 - Python 2.7.17 - Python 3.8.6 - Ruby 2.7.2p137 - .NET SDK 2.1.300 2.1.301 2.1.302 2.1.401 2.1.402 2.1.403 2.1.500 2.1.502 2.1.503 2.1.504 2.1.505 2.1.506 2.1.507 2.1.602 2.1.603 2.1.604 2.1.607 2.1.700 2.1.701 2.1.801 2.1.802 2.1.803 2.1.804 2.1.805 2.1.806 2.1.807 2.1.808 2.1.809 2.1.810 2.1.811 3.1.100 3.1.101 3.1.200 3.1.201 3.1.300 3.1.301 3.1.302 3.1.401 3.1.402 3.1.403 - Go 1.15.3 -- PHP 7.4.11 +- PHP 7.4.12 - julia 1.5.2 ### Package Management - Vcpkg 2020.06.15 -- Pip 20.2.3 (python 3.8) +- Pip 20.2.4 (python 3.8) +- Pipx 0.15.6.0 - Bundler version 2.1.4 - Carthage 0.36.0 - CocoaPods 1.10.0 -- Homebrew 2.5.6 +- Homebrew 2.5.8 - NPM 6.14.8 - Yarn 1.22.5 - NuGet 5.6.0.6489 - Miniconda 4.8.3 - RubyGems 3.1.4 -- Composer 2.0.1 +- Composer 2.0.4 ### Project Management - Apache Maven 3.6.3 @@ -50,13 +51,13 @@ ### Utilities - Curl 7.73.0 -- Git: 2.29.1 +- Git: 2.29.2 - Git LFS: 2.12.0 -- GitHub CLI: 1.1.0 +- GitHub CLI: 1.2.0 - Hub CLI: 2.14.2 - GNU Wget 1.20.3 - Subversion (SVN) 1.14.0 -- Packer 1.6.4 +- Packer 1.6.5 - OpenSSL 1.0.2t 10 Sep 2019 `(/usr/local/opt/openssl -> /usr/local/Cellar/openssl@1.0.2t/1.0.2t)` - jq 1.6 - gpg (GnuPG) 2.2.23 @@ -67,19 +68,19 @@ - zstd 1.4.5 - bazel 3.7.0 - bazelisk 1.7.4 -- helm v3.3.4+ga61ce56 +- helm v3.4.0+g7090a89 - mongo v4.4.1 - mongod v4.4.1 - 7-Zip 16.02 -- Newman 5.2.0 +- Newman 5.2.1 ### Tools - Fastlane 2.165.0 - Cmake 3.18.4 -- App Center CLI 2.7.2 -- Azure CLI 2.13.0 -- AWS CLI 2.0.59 -- AWS SAM CLI 1.6.2 +- App Center CLI 2.7.3 +- Azure CLI 2.14.0 +- AWS CLI 2.0.61 +- AWS SAM CLI 1.7.0 - AWS Session Manager CLI 1.2.7.0 - Aliyun CLI 3.0.60 - GHCup v0.1.11 @@ -94,11 +95,11 @@ ### Browsers - Safari 14.0.1 (16610.2.8.1.1) - SafariDriver 14.0.1 (16610.2.8.1.1) -- Google Chrome 86.0.4240.111 +- Google Chrome 86.0.4240.183 - ChromeDriver 86.0.4240.22 -- Microsoft Edge 85.0.564.70 -- MSEdgeDriver 85.0.564.70 -- Mozilla Firefox 82.0 +- Microsoft Edge 86.0.622.58 +- MSEdgeDriver 86.0.622.58 +- Mozilla Firefox 82.0.2 - geckodriver 0.27.0 ### Java @@ -119,9 +120,9 @@ - 3.9.0 #### Node.js -- 10.22.1 +- 10.23.0 - 12.19.0 -- 14.14.0 +- 14.15.0 #### Go - 1.15.3 @@ -133,8 +134,8 @@ #### Packages - Bindgen 0.55.1 - Cbindgen 0.15.0 -- Cargo-outdated v0.9.11 -- Cargo-audit 0.12.1 +- Cargo-outdated v0.9.13 +- Cargo-audit 0.13.1 ### PowerShell Tools - PowerShell 7.0.3 @@ -148,12 +149,13 @@ ### Xamarin #### Visual Studio for Mac -- 8.7.8.4 +- 8.7.9.9 #### Mono - 6.12.0.93 #### Xamarin.iOS +- 14.2.0.12 - 14.0.0.0 - 13.20.2.2 @@ -174,7 +176,7 @@ #### Xcode Support Tools - xcpretty 0.3.0 -- xcversion 2.6.6 +- xcversion 2.6.7 #### Installed SDKs | SDK | SDK Name | Xcode Version | From a4b5f4dae18b2f7cbb066fa410b2a447395c7f85 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Tue, 3 Nov 2020 14:49:48 +0300 Subject: [PATCH 27/32] add mac path --- images/macos/provision/core/edge.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/core/edge.sh b/images/macos/provision/core/edge.sh index bd0ffedd..57431689 100644 --- a/images/macos/provision/core/edge.sh +++ b/images/macos/provision/core/edge.sh @@ -13,7 +13,7 @@ echo "Version of Microsoft Edge: ${EDGE_VERSION}" echo "Installing Microsoft Edge WebDriver..." -EDGE_DRIVER_VERSION_URL="https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_VERSION_MAJOR}" +EDGE_DRIVER_VERSION_URL="https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_VERSION_MAJOR}_MACOS" EDGE_DRIVER_LATEST_VERSION=$(curl -s "$EDGE_DRIVER_VERSION_URL" | iconv -f utf-16 -t utf-8 | tr -d '\r') EDGE_DRIVER_URL="https://msedgedriver.azureedge.net/${EDGE_DRIVER_LATEST_VERSION}/edgedriver_mac64.zip" From d511b0d2da53ec9a1fb9af3224d55607240da7b6 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Tue, 3 Nov 2020 17:58:18 +0500 Subject: [PATCH 28/32] [windows] give full access to Temp folder (#1959) Co-authored-by: Sergey Dolin --- images/win/scripts/Installers/Finalize-VM.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Finalize-VM.ps1 b/images/win/scripts/Installers/Finalize-VM.ps1 index d0bb3d26..8e29dbe2 100644 --- a/images/win/scripts/Installers/Finalize-VM.ps1 +++ b/images/win/scripts/Installers/Finalize-VM.ps1 @@ -33,4 +33,8 @@ Remove-Item $profile.AllUsersAllHosts -Force # Clean yarn and npm cache yarn cache clean -npm cache clean --force \ No newline at end of file +npm cache clean --force + +# allow msi to write to temp folder +# see https://github.com/actions/virtual-environments/issues/1704 +icacls "C:\Windows\Temp" /q /c /t /grant Users:F /T From b8d7319f374456b52f375eac788368696a3fe732 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 4 Nov 2020 09:27:56 +0300 Subject: [PATCH 29/32] deprecate old tools --- images/linux/toolsets/toolset-1604.json | 3 --- images/linux/toolsets/toolset-1804.json | 3 --- 2 files changed, 6 deletions(-) diff --git a/images/linux/toolsets/toolset-1604.json b/images/linux/toolsets/toolset-1604.json index 1136ae92..1c5ff532 100644 --- a/images/linux/toolsets/toolset-1604.json +++ b/images/linux/toolsets/toolset-1604.json @@ -42,8 +42,6 @@ "arch": "x64", "platform" : "linux", "versions": [ - "1.11.*", - "1.12.*", "1.13.*", "1.14.*", "1.15.*" @@ -57,7 +55,6 @@ "platform_version": "16.04", "arch": "x64", "versions": [ - "1.69.0", "1.72.0" ] } diff --git a/images/linux/toolsets/toolset-1804.json b/images/linux/toolsets/toolset-1804.json index de611ebc..226dd190 100644 --- a/images/linux/toolsets/toolset-1804.json +++ b/images/linux/toolsets/toolset-1804.json @@ -42,8 +42,6 @@ "arch": "x64", "platform" : "linux", "versions": [ - "1.11.*", - "1.12.*", "1.13.*", "1.14.*", "1.15.*" @@ -57,7 +55,6 @@ "platform_version": "18.04", "arch": "x64", "versions": [ - "1.69.0", "1.72.0" ] } From 0ac8b88061567fedf8e5292b11bd09e6d57949cf Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Wed, 4 Nov 2020 09:30:19 +0300 Subject: [PATCH 30/32] deprecate old tools --- images/win/toolsets/toolset-2016.json | 1 - images/win/toolsets/toolset-2019.json | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/images/win/toolsets/toolset-2016.json b/images/win/toolsets/toolset-2016.json index fef0a3fc..8b6f32f3 100644 --- a/images/win/toolsets/toolset-2016.json +++ b/images/win/toolsets/toolset-2016.json @@ -73,7 +73,6 @@ "platform" : "win32", "toolset": "msvc14.1", "versions": [ - "1.69.0", "1.72.0" ] } diff --git a/images/win/toolsets/toolset-2019.json b/images/win/toolsets/toolset-2019.json index c76c9701..a056fd88 100644 --- a/images/win/toolsets/toolset-2019.json +++ b/images/win/toolsets/toolset-2019.json @@ -66,16 +66,6 @@ ], "default": "1.14.*" }, - { - "name": "Boost", - "url" : "https://raw.githubusercontent.com/actions/boost-versions/main/versions-manifest.json", - "arch": "x86_64", - "platform" : "win32", - "toolset": "msvc14.1", - "versions": [ - "1.69.0" - ] - }, { "name": "Boost", "url" : "https://raw.githubusercontent.com/actions/boost-versions/main/versions-manifest.json", From 2842ad4c0074b39cbb320a891acce1c50d086b45 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Wed, 4 Nov 2020 14:29:44 +0300 Subject: [PATCH 31/32] Revert "[Ubuntu] Install pwsh using dotnet tool" (#1979) --- images/linux/scripts/installers/powershellcore.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/images/linux/scripts/installers/powershellcore.sh b/images/linux/scripts/installers/powershellcore.sh index 4f700fbc..0ac52072 100644 --- a/images/linux/scripts/installers/powershellcore.sh +++ b/images/linux/scripts/installers/powershellcore.sh @@ -9,8 +9,7 @@ source $HELPER_SCRIPTS/os.sh # Install Powershell if isUbuntu20 ; then - dotnet tool install --tool-path /opt/microsoft/powershell/7 powershell - ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh + snap install powershell --classic --channel=edge/useedge fi if isUbuntu16 || isUbuntu18 ; then From b326801306058663cf3b165f590e41214aad7e89 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Thu, 5 Nov 2020 12:43:41 +0500 Subject: [PATCH 32/32] Print more informantion about cached Docker images on Windows (#1905) * Add docker full info * make tabular output * remove created at time Co-authored-by: Sergey Dolin --- .../SoftwareReport/SoftwareReport.Common.psm1 | 13 ++++++++++++- .../SoftwareReport/SoftwareReport.Generator.ps1 | 5 +++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 index 0ca95ee7..ea56e1ff 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -262,6 +262,17 @@ function Get-CachedDockerImages { return (docker images --digests --format "* {{.Repository}}:{{.Tag}}").Split("*") | Where-Object { $_ } } +function Get-CachedDockerImagesTableData { + return (docker images --digests --format "*{{.Repository}}:{{.Tag}}|{{.Digest}} |{{.CreatedAt}}").Split("*") | Where-Object { $_ } | ForEach-Object { + $parts=$_.Split("|") + [PSCustomObject] @{ + "Repository:Tag" = $parts[0] + "Digest" = $parts[1] + "Created" = $parts[2].split(' ')[0] + } + } +} + function Get-PacmanVersion { $msys2BinDir = "C:\msys64\usr\bin" $pacmanPath = Join-Path $msys2BinDir "pacman.exe" @@ -280,4 +291,4 @@ function Get-ShellTarget { function Get-YAMLLintVersion { yamllint --version -} \ No newline at end of file +} diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index 06e1054d..aba000b7 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -243,6 +243,7 @@ $markdown += New-MDNewLine # Docker images section $markdown += New-MDHeader "Cached Docker images" -Level 3 -$markdown += New-MDList -Style Unordered -Lines @(Get-CachedDockerImages) +$markdown += Get-CachedDockerImagesTableData | New-MDTable +$markdown += New-MDNewLine -$markdown | Out-File -FilePath "C:\InstalledSoftware.md" \ No newline at end of file +$markdown | Out-File -FilePath "C:\InstalledSoftware.md"