From c357051102b2e4c95230de48bef7b404606c7c65 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 3 Feb 2020 17:18:44 +0300 Subject: [PATCH 01/11] add net core to docs --- images/win/Windows2019-Readme.md | 3 ++- images/win/scripts/Installers/Validate-NET48.ps1 | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/images/win/Windows2019-Readme.md b/images/win/Windows2019-Readme.md index 47089227a..28c153426 100644 --- a/images/win/Windows2019-Readme.md +++ b/images/win/Windows2019-Readme.md @@ -125,7 +125,8 @@ _Environment:_ ## .NET 4.8 -_Version:_ 4.8.03761 +_Version:_ 4.8.03761 +_Path:_ C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools ## Windows Driver Kit diff --git a/images/win/scripts/Installers/Validate-NET48.ps1 b/images/win/scripts/Installers/Validate-NET48.ps1 index d48565bf8..a0b43c1cf 100644 --- a/images/win/scripts/Installers/Validate-NET48.ps1 +++ b/images/win/scripts/Installers/Validate-NET48.ps1 @@ -22,6 +22,7 @@ $SoftwareName = ".NET 4.8" $Description = @" _Version:_ $version +_Path:_ ${Env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools "@ Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description From ce62a58d1f35326b24af07a8e75d3c2e74f0de97 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 4 Feb 2020 13:58:37 +0300 Subject: [PATCH 02/11] add path to directory --- .../linux/scripts/installers/google-chrome.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/images/linux/scripts/installers/google-chrome.sh b/images/linux/scripts/installers/google-chrome.sh index 20396e2a2..71330b935 100644 --- a/images/linux/scripts/installers/google-chrome.sh +++ b/images/linux/scripts/installers/google-chrome.sh @@ -39,11 +39,18 @@ wget "https://chromedriver.storage.googleapis.com/$LATEST_CHROMEDRIVER_VERSION/c unzip chromedriver_linux64.zip rm chromedriver_linux64.zip -CHROMEDRIVER_BIN="/usr/bin/chromedriver" -mv "chromedriver" $CHROMEDRIVER_BIN -chown root:root $CHROMEDRIVER_BIN -chmod +x $CHROMEDRIVER_BIN -echo "CHROMEWEBDRIVER=$CHROMEDRIVER_BIN" | tee -a /etc/environment +CHROME_DRIVER="/usr/local/share/chrome_driver" + +if [ ! -d $CHROME_DRIVER ]; then + mkdir -p $CHROME_DRIVER; +fi + +CHROMEDRIVER_BIN="$CHROME_DRIVER/chromedriver" +mv "chromedriver" $CHROME_DRIVER +chown root:root $CHROME_DRIVER +chmod +x $CHROME_DRIVER +ln -s "$CHROMEDRIVER_BIN" /usr/bin/ +echo "CHROMEWEBDRIVER=$CHROME_DRIVER" | tee -a /etc/environment # Run tests to determine that the chromedriver installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work" From bb2a08df6ac68c7b8a997d0f7895f27d4f67a023 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 4 Feb 2020 14:08:26 +0300 Subject: [PATCH 03/11] fix error to pass bin --- images/linux/scripts/installers/google-chrome.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/installers/google-chrome.sh b/images/linux/scripts/installers/google-chrome.sh index 71330b935..e04799800 100644 --- a/images/linux/scripts/installers/google-chrome.sh +++ b/images/linux/scripts/installers/google-chrome.sh @@ -46,9 +46,9 @@ if [ ! -d $CHROME_DRIVER ]; then fi CHROMEDRIVER_BIN="$CHROME_DRIVER/chromedriver" -mv "chromedriver" $CHROME_DRIVER -chown root:root $CHROME_DRIVER -chmod +x $CHROME_DRIVER +mv "chromedriver" $CHROMEDRIVER_BIN +chown root:root $CHROMEDRIVER_BIN +chmod +x $CHROMEDRIVER_BIN ln -s "$CHROMEDRIVER_BIN" /usr/bin/ echo "CHROMEWEBDRIVER=$CHROME_DRIVER" | tee -a /etc/environment From e88a50287550ea4e6ab901fc0140f89c24e5582c Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 4 Feb 2020 15:39:21 +0300 Subject: [PATCH 04/11] update naming --- images/linux/scripts/installers/google-chrome.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/images/linux/scripts/installers/google-chrome.sh b/images/linux/scripts/installers/google-chrome.sh index e04799800..3084629cc 100644 --- a/images/linux/scripts/installers/google-chrome.sh +++ b/images/linux/scripts/installers/google-chrome.sh @@ -39,18 +39,15 @@ wget "https://chromedriver.storage.googleapis.com/$LATEST_CHROMEDRIVER_VERSION/c unzip chromedriver_linux64.zip rm chromedriver_linux64.zip -CHROME_DRIVER="/usr/local/share/chrome_driver" +CHROMEDRIVER_DIR="/usr/local/share/chrome_driver" +CHROMEDRIVER_BIN="$CHROMEDRIVER_DIR/chromedriver" -if [ ! -d $CHROME_DRIVER ]; then - mkdir -p $CHROME_DRIVER; -fi - -CHROMEDRIVER_BIN="$CHROME_DRIVER/chromedriver" +mkdir -p $CHROMEDRIVER_DIR mv "chromedriver" $CHROMEDRIVER_BIN chown root:root $CHROMEDRIVER_BIN chmod +x $CHROMEDRIVER_BIN ln -s "$CHROMEDRIVER_BIN" /usr/bin/ -echo "CHROMEWEBDRIVER=$CHROME_DRIVER" | tee -a /etc/environment +echo "CHROMEWEBDRIVER=$CHROMEDRIVER_DIR" | tee -a /etc/environment # Run tests to determine that the chromedriver installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work" From f2df3a55d7cf62483c40de27607129433e2ec28a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Tue, 4 Feb 2020 16:03:08 +0300 Subject: [PATCH 05/11] dpkg config --- .../linux/scripts/installers/dpkg-config.sh | 19 +++++++++++++++++++ images/linux/ubuntu1604.json | 4 +++- images/linux/ubuntu1804.json | 3 ++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 images/linux/scripts/installers/dpkg-config.sh diff --git a/images/linux/scripts/installers/dpkg-config.sh b/images/linux/scripts/installers/dpkg-config.sh new file mode 100644 index 000000000..e92e42700 --- /dev/null +++ b/images/linux/scripts/installers/dpkg-config.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# This is the anti-frontend. It never interacts with you at all, +# and makes the default answers be used for all questions. It +# might mail error messages to root, but that's it; otherwise it +# is completely silent and unobtrusive, a perfect frontend for +# automatic installs. If you are using this front-end, and require +# non-default answers to questions, you will need to preseed the +# debconf database +echo 'DEBIAN_FRONTEND=noninteractive' | tee -a /etc/environment + +# dpkg can be instructed not to ask for confirmation +# when replacing a configuration file (with the --force-confdef --force-confold options) +cat <> /etc/apt/apt.conf.d/10dpkg-options +Dpkg::Options { + "--force-confdef"; + "--force-confold"; +} +EOF \ No newline at end of file diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index 73d96e83c..01181fad3 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -161,7 +161,9 @@ "{{template_dir}}/scripts/installers/subversion.sh", "{{template_dir}}/scripts/installers/terraform.sh", "{{template_dir}}/scripts/installers/vcpkg.sh", - "{{template_dir}}/scripts/installers/zeit-now.sh" + "{{template_dir}}/scripts/installers/zeit-now.sh", + "{{template_dir}}/scripts/installers/dpkg-config.sh" + ], "environment_vars": [ "METADATA_FILE={{user `metadata_file`}}", diff --git a/images/linux/ubuntu1804.json b/images/linux/ubuntu1804.json index dcf2ae543..4eba39c2a 100644 --- a/images/linux/ubuntu1804.json +++ b/images/linux/ubuntu1804.json @@ -164,7 +164,8 @@ "{{template_dir}}/scripts/installers/subversion.sh", "{{template_dir}}/scripts/installers/terraform.sh", "{{template_dir}}/scripts/installers/vcpkg.sh", - "{{template_dir}}/scripts/installers/zeit-now.sh" + "{{template_dir}}/scripts/installers/zeit-now.sh", + "{{template_dir}}/scripts/installers/dpkg-config.sh" ], "environment_vars": [ "METADATA_FILE={{user `metadata_file`}}", From 42aa75ce1b0973ec47e5aff1f10d30b43bbce166 Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Wed, 5 Feb 2020 12:52:59 +0300 Subject: [PATCH 06/11] Software updates week 6 --- images/macos/macos-10.15-Readme.md | 38 ++++++++++++++++-------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/images/macos/macos-10.15-Readme.md b/images/macos/macos-10.15-Readme.md index 2a3e9b49d..83d6c3a21 100644 --- a/images/macos/macos-10.15-Readme.md +++ b/images/macos/macos-10.15-Readme.md @@ -1,34 +1,34 @@ --- title: GitHub Hosted Github Mojave 10.15 VM Image Updates description: Software used on build machines -date: Week 4 +date: Week 6 --- -#### ⚠️ We are going to change the default Xcode to 11.3.1 next week. -#### Xcode 11.2.1 set by default +#### Xcode 11.3.1 set by default ## Operating System -- OS X 10.15.2 (19C57) **Catalina** +- OS X 10.15.3 (19D76) **Catalina** ## Installed Software ### Language and Runtime - Java 1.7: (Zulu 7.36.0.5-CA-macosx) (build 1.7.0_252-b10) -- Java 1.8: (Zulu 8.44.0.9-CA-macosx) (build 1.8.0_242-b20) (default) +- Java 1.8: (Zulu 8.44.0.11-CA-macosx) (build 1.8.0_242-b20) (default) - Java 11: Zulu11.37+17-CA (build 11.0.6+10-LTS) - Java 12: Zulu12.3+11-CA (build 12.0.2+3) - Java 13: Zulu13.29+9-CA (build 13.0.2+6-MTS) +- Rust 1.41.0 - Node.js v12.14.1 - NVM 0.33.11 -- NVM - Cached node versions: v6.17.1 v8.17.0 v10.18.1 v12.14.1 v13.6.0 -- PowerShell 6.2.3 +- NVM - Cached node versions: v6.17.1 v8.17.0 v10.18.1 v12.14.1 v13.7.0 +- PowerShell 6.2.4 - Python 2.7.17 - Python 3.7.6 - Ruby 2.6.5p114 -- Rust 1.40.0 - .NET SDK 2.0.0 3.0.100 3.0.101 3.0.102 3.1.100 3.1.101 -- Go 1.13.6 +- Go 1.13.7 ### Package Management +- Rustup 1.21.1 - Bundler version 2.1.4 - Carthage 0.34.0 - CocoaPods 1.8.4 @@ -38,34 +38,35 @@ date: Week 4 - NuGet 5.3.1.6268 - Pip 19.3.1 (python 2.7) - Pip 19.3.1 (python 3.7) -- Rustup 1.21.1 - Miniconda 4.7.12 - RubyGems 3.1.2 ### Project Management - Apache Maven 3.6.3 -- Gradle 6.1 +- Gradle 6.1.1 ### Utilities - Curl 7.68.0 - Git: 2.25.0 -- Git LFS: 2.9.2 +- Git LFS: 2.10.0 - GNU Wget 1.20.3 - Subversion (SVN) 1.13.0 -- GNU parallel 20191222 +- GNU parallel 20200122 - OpenSSL 1.0.2t 10 Sep 2019 - jq 1.6 - gpg (GnuPG) 2.2.19 ### Tools -- Fastlane 2.140.0 -- Cmake 3.16.2 +- Fastlane 2.141.0 +- Cmake 3.16.3 - App Center CLI 2.3.3 - Azure CLI 2.0.80 ### Browsers - Google Chrome 79.0.3945.130 - ChromeDriver 79.0.3945.36 +- Microsoft Edge 79.0.309.71 +- MSEdgeDriver 79.0.309.71 ### Toolcache #### Ruby @@ -82,12 +83,12 @@ date: Week 4 - 3.8.1 #### PyPy -- 2.7.13 +- 2.7.17 - 3.6.9 ### Xamarin #### Visual Studio for Mac -- 8.4.1.4 +- 8.4.3.12 #### Mono - 6.6.0.155 @@ -115,7 +116,7 @@ date: Week 4 ### Xcode | Version | Build | Path | | ------------------------------ | ------------------------------ | ------------------------------ | -| 11.3.1 | 11C505 | /Applications/Xcode_11.3.1.app | +| 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 | @@ -209,6 +210,7 @@ date: Week 4 | build-tools-29.0.0 | Android SDK Build-Tools, Revision 29.0.0 | | build-tools-29.0.1 | Android SDK Build-Tools, Revision 29.0.1 | | build-tools-29.0.2 | Android SDK Build-Tools, Revision 29.0.2 | +| build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 | #### Android Utils | Package Name | Version | From 378aff19d13ac4ddab43b82e3f2bbf510eab35b6 Mon Sep 17 00:00:00 2001 From: Andrey Mishechkin Date: Wed, 5 Feb 2020 16:32:34 +0400 Subject: [PATCH 07/11] dotnetcore.sh and powershellcore.sh has been moved up --- images/linux/ubuntu1604.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index 30f25d9a5..f82606d1f 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -116,6 +116,8 @@ { "type": "shell", "scripts": [ + "{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh", + "{{template_dir}}/scripts/installers/1604/powershellcore.sh", "{{template_dir}}/scripts/installers/7-zip.sh", "{{template_dir}}/scripts/installers/ansible.sh", "{{template_dir}}/scripts/installers/azcopy.sh", @@ -129,7 +131,6 @@ "{{template_dir}}/scripts/installers/docker-compose.sh", "{{template_dir}}/scripts/installers/docker-moby.sh", "{{template_dir}}/scripts/installers/docker.sh", - "{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh", "{{template_dir}}/scripts/installers/erlang.sh", "{{template_dir}}/scripts/installers/firefox.sh", "{{template_dir}}/scripts/installers/gcc.sh", @@ -154,7 +155,6 @@ "{{template_dir}}/scripts/installers/1604/php.sh", "{{template_dir}}/scripts/installers/pollinate.sh", "{{template_dir}}/scripts/installers/postgresql.sh", - "{{template_dir}}/scripts/installers/1604/powershellcore.sh", "{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/rust.sh", "{{template_dir}}/scripts/installers/sbt.sh", From 6d1d8c3e48a5264e315b8c59817081d5d56ac60c Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 5 Feb 2020 16:50:58 +0300 Subject: [PATCH 08/11] remove chown --- images/linux/scripts/installers/google-chrome.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/images/linux/scripts/installers/google-chrome.sh b/images/linux/scripts/installers/google-chrome.sh index 3084629cc..5d19a0f43 100644 --- a/images/linux/scripts/installers/google-chrome.sh +++ b/images/linux/scripts/installers/google-chrome.sh @@ -44,7 +44,6 @@ CHROMEDRIVER_BIN="$CHROMEDRIVER_DIR/chromedriver" mkdir -p $CHROMEDRIVER_DIR mv "chromedriver" $CHROMEDRIVER_BIN -chown root:root $CHROMEDRIVER_BIN chmod +x $CHROMEDRIVER_BIN ln -s "$CHROMEDRIVER_BIN" /usr/bin/ echo "CHROMEWEBDRIVER=$CHROMEDRIVER_DIR" | tee -a /etc/environment From 98e26dd773e7fb37e6ef53f13b97eaddd928e612 Mon Sep 17 00:00:00 2001 From: Andrey Mishechkin Date: Thu, 6 Feb 2020 14:16:18 +0400 Subject: [PATCH 09/11] creation of dotnetdev.list repository has been removed --- images/linux/scripts/installers/1604/dotnetcore-sdk.sh | 10 +++++----- images/linux/ubuntu1604.json | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/images/linux/scripts/installers/1604/dotnetcore-sdk.sh b/images/linux/scripts/installers/1604/dotnetcore-sdk.sh index e772d924c..9a933376a 100644 --- a/images/linux/scripts/installers/1604/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/1604/dotnetcore-sdk.sh @@ -34,11 +34,11 @@ for latest_package in ${LATEST_DOTNET_PACKAGES[@]}; do echo "Determing if .NET Core ($latest_package) is installed" if ! IsInstalled $latest_package; then echo "Could not find .NET Core ($latest_package), installing..." - curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg - mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg - sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list' - apt-get install apt-transport-https - apt-get update + #curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg + #mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg + #sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list' + #apt-get install apt-transport-https + #apt-get update apt-get install $latest_package -y else echo ".NET Core ($latest_package) is already installed" diff --git a/images/linux/ubuntu1604.json b/images/linux/ubuntu1604.json index f82606d1f..30f25d9a5 100644 --- a/images/linux/ubuntu1604.json +++ b/images/linux/ubuntu1604.json @@ -116,8 +116,6 @@ { "type": "shell", "scripts": [ - "{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh", - "{{template_dir}}/scripts/installers/1604/powershellcore.sh", "{{template_dir}}/scripts/installers/7-zip.sh", "{{template_dir}}/scripts/installers/ansible.sh", "{{template_dir}}/scripts/installers/azcopy.sh", @@ -131,6 +129,7 @@ "{{template_dir}}/scripts/installers/docker-compose.sh", "{{template_dir}}/scripts/installers/docker-moby.sh", "{{template_dir}}/scripts/installers/docker.sh", + "{{template_dir}}/scripts/installers/1604/dotnetcore-sdk.sh", "{{template_dir}}/scripts/installers/erlang.sh", "{{template_dir}}/scripts/installers/firefox.sh", "{{template_dir}}/scripts/installers/gcc.sh", @@ -155,6 +154,7 @@ "{{template_dir}}/scripts/installers/1604/php.sh", "{{template_dir}}/scripts/installers/pollinate.sh", "{{template_dir}}/scripts/installers/postgresql.sh", + "{{template_dir}}/scripts/installers/1604/powershellcore.sh", "{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/rust.sh", "{{template_dir}}/scripts/installers/sbt.sh", From 2c0ff371474c4e6143fc00851d986c1333debe99 Mon Sep 17 00:00:00 2001 From: Andrey Mishechkin Date: Thu, 6 Feb 2020 23:14:36 +0400 Subject: [PATCH 10/11] Commented creation of dotnetdev.list repository has been removed --- images/linux/scripts/installers/1604/dotnetcore-sdk.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/images/linux/scripts/installers/1604/dotnetcore-sdk.sh b/images/linux/scripts/installers/1604/dotnetcore-sdk.sh index 9a933376a..9baa83e9b 100644 --- a/images/linux/scripts/installers/1604/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/1604/dotnetcore-sdk.sh @@ -34,11 +34,6 @@ for latest_package in ${LATEST_DOTNET_PACKAGES[@]}; do echo "Determing if .NET Core ($latest_package) is installed" if ! IsInstalled $latest_package; then echo "Could not find .NET Core ($latest_package), installing..." - #curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg - #mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg - #sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list' - #apt-get install apt-transport-https - #apt-get update apt-get install $latest_package -y else echo ".NET Core ($latest_package) is already installed" From 2463728a1e94bc080b5007e2d40664dad7f9b31a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Fri, 7 Feb 2020 10:50:20 +0300 Subject: [PATCH 11/11] disable telemetry --- images/linux/scripts/installers/1804/dotnetcore-sdk.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/images/linux/scripts/installers/1804/dotnetcore-sdk.sh b/images/linux/scripts/installers/1804/dotnetcore-sdk.sh index e772d924c..3b80d2cb4 100644 --- a/images/linux/scripts/installers/1804/dotnetcore-sdk.sh +++ b/images/linux/scripts/installers/1804/dotnetcore-sdk.sh @@ -30,6 +30,9 @@ mksamples() set -e +# Disable telemetry +export DOTNET_CLI_TELEMETRY_OPTOUT=1 + for latest_package in ${LATEST_DOTNET_PACKAGES[@]}; do echo "Determing if .NET Core ($latest_package) is installed" if ! IsInstalled $latest_package; then