Merge branch 'main' into releases/ubuntu16/20200901-docs

This commit is contained in:
Actions service account
2020-09-08 19:41:51 +00:00
19 changed files with 269 additions and 218 deletions

View File

@@ -13,7 +13,7 @@ download_with_retries() {
local NAME="${3:-${URL##*/}}" local NAME="${3:-${URL##*/}}"
local COMPRESSED="$4" local COMPRESSED="$4"
if [ $COMPRESSED == "compressed" ]; then if [[ $COMPRESSED == "compressed" ]]; then
COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME'" COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME'"
else else
COMMAND="curl $URL -4 -sL -o '$DEST/$NAME'" COMMAND="curl $URL -4 -sL -o '$DEST/$NAME'"

View File

@@ -3,9 +3,11 @@
## File: git.sh ## File: git.sh
## Desc: Installs Git ## Desc: Installs Git
################################################################################ ################################################################################
set -e
# Source the helpers for use with the script # Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh source "$HELPER_SCRIPTS"/document.sh
source "$HELPER_SCRIPTS"/install.sh
## Install git ## Install git
add-apt-repository ppa:git-core/ppa -y add-apt-repository ppa:git-core/ppa -y
@@ -46,7 +48,13 @@ DocumentInstalledItem "Git Large File Storage (LFS) ($(git-lfs --version 2>&1 |
DocumentInstalledItem "Git-ftp ($(git-ftp --version | cut -d ' ' -f 3))" DocumentInstalledItem "Git-ftp ($(git-ftp --version | cut -d ' ' -f 3))"
#Install hub #Install hub
snap install hub --classic tmp_hub="/tmp/hub"
mkdir -p "$tmp_hub"
url=$(curl -s https://api.github.com/repos/github/hub/releases/latest | jq -r '.assets[].browser_download_url | select(contains("hub-linux-amd64"))')
download_with_retries "$url" "$tmp_hub"
tar xzvf "$tmp_hub"/hub-linux-amd64-*.tgz --strip-components 1 -C "$tmp_hub"
mv "$tmp_hub"/bin/hub /usr/local/bin
if command -v hub; then if command -v hub; then
echo "hub CLI was installed successfully" echo "hub CLI was installed successfully"
DocumentInstalledItem "Hub CLI ($(hub --version | grep "hub version" | cut -d ' ' -f 3))" DocumentInstalledItem "Hub CLI ($(hub --version | grep "hub version" | cut -d ' ' -f 3))"

View File

@@ -24,7 +24,9 @@ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-
sudo install minikube-linux-amd64 /usr/local/bin/minikube sudo install minikube-linux-amd64 /usr/local/bin/minikube
# Install kustomize # Install kustomize
sudo snap install kustomize download_url="https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
curl -s "$download_url" | bash
mv kustomize /usr/local/bin
# Run tests to determine that the software installed as expected # Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work" echo "Testing to make sure that script performed as expected, and basic scenarios work"
@@ -58,4 +60,4 @@ DocumentInstalledItem "helm ($(helm version --short |& head -n 1))"
# minikube version output already has word minikube in it. example minikube version: v1.9.2 # minikube version output already has word minikube in it. example minikube version: v1.9.2
DocumentInstalledItem "$(minikube version --short)" DocumentInstalledItem "$(minikube version --short)"
# kustomize version output has "{} in it". example {kustomize/v3.8.1 2020-07-16T00:58:46Z } # kustomize version output has "{} in it". example {kustomize/v3.8.1 2020-07-16T00:58:46Z }
DocumentInstalledItem "kustomize ($(kustomize version --short))" DocumentInstalledItem "kustomize ($(kustomize version --short))"

View File

@@ -9,8 +9,8 @@ source $HELPER_SCRIPTS/document.sh
WriteItem "<!--- DO NOT EDIT - This markdown file is autogenerated. -->" WriteItem "<!--- DO NOT EDIT - This markdown file is autogenerated. -->"
if [ $ANNOUNCEMENTS ]; then if [ -n "$ANNOUNCEMENTS" ]; then
WriteItem $ANNOUNCEMENTS WriteItem "$ANNOUNCEMENTS"
WriteItem "***" WriteItem "***"
fi fi

View File

@@ -1,16 +1,10 @@
# macOS info # macOS info
- System Version: macOS 10.15.6 (19G2021) - System Version: macOS 10.15.6 (19G2021)
- Kernel Version: Darwin 19.6.0 - Kernel Version: Darwin 19.6.0
- Image Version: 20200819.1 - Image Version: 20200829.1
## Installed Software ## Installed Software
### Language and Runtime ### Language and Runtime
- Java 1.7: (Zulu 7.40.0.15-CA-macosx) (build 1.7.0_272-b10)
- Java 1.8: (AdoptOpenJDK)(build 1.8.0_265-b01) (default)
- Java 11: AdoptOpenJDK (build 11.0.8+10)
- Java 12: AdoptOpenJDK (build 12.0.2+10)
- Java 13: AdoptOpenJDK (build 13.0.2+8)
- Java 14: AdoptOpenJDK (build 14.0.2+12)
- Clang/LLVM 10.0.1 - Clang/LLVM 10.0.1
- gcc-8 (Homebrew GCC 8.4.0_1) 8.4.0 — available by `gcc-8` alias - 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 - gcc-9 (Homebrew GCC 9.3.0) 9.3.0 — available by `gcc-9` alias
@@ -18,7 +12,7 @@
- GNU Fortran (Homebrew GCC 9.3.0) 9.3.0 — available by `gfortran-9` alias - GNU Fortran (Homebrew GCC 9.3.0) 9.3.0 — available by `gfortran-9` alias
- Node.js v12.18.3 - Node.js v12.18.3
- NVM 0.35.3 - NVM 0.35.3
- NVM - Cached node versions: v6.17.1 v8.17.0 v10.22.0 v12.18.3 v13.14.0 v14.8.0 - NVM - Cached node versions: v6.17.1 v8.17.0 v10.22.0 v12.18.3 v13.14.0 v14.9.0
- Python 2.7.17 - Python 2.7.17
- Python 3.8.5 - Python 3.8.5
- Ruby 2.6.6p146 - Ruby 2.6.6p146
@@ -26,16 +20,16 @@
- R 4.0.2 - R 4.0.2
- Go 1.15 - Go 1.15
- PHP 7.4.9 - PHP 7.4.9
- julia 1.5.0 - julia 1.5.1
### Package Management ### Package Management
- Vcpkg 2020.06.15 - Vcpkg 2020.06.15
- Bundler version 2.1.4 - Bundler version 2.1.4
- Carthage 0.35.0 - Carthage 0.35.0
- CocoaPods 1.9.3 - CocoaPods 1.9.3
- Homebrew 2.4.12 - Homebrew 2.4.14
- NPM 6.14.6 - NPM 6.14.6
- Yarn 1.22.4 - Yarn 1.22.5
- NuGet 5.6.0.6489 - NuGet 5.6.0.6489
- Pip 19.3.1 (python 2.7) - Pip 19.3.1 (python 2.7)
- Pip 20.1.1 (python 3.8) - Pip 20.1.1 (python 3.8)
@@ -45,18 +39,18 @@
### Project Management ### Project Management
- Apache Maven 3.6.3 - Apache Maven 3.6.3
- Gradle 6.6 - Gradle 6.6.1
- Apache Ant(TM) 1.10.8 - Apache Ant(TM) 1.10.8
### Utilities ### Utilities
- Curl 7.71.1 - Curl 7.72.0
- Git: 2.28.0 - Git: 2.28.0
- Git LFS: 2.11.0 - Git LFS: 2.11.0
- GitHub CLI: 0.11.1 - GitHub CLI: 0.11.1
- Hub CLI: 2.14.2 - Hub CLI: 2.14.2
- GNU Wget 1.20.3 - GNU Wget 1.20.3
- Subversion (SVN) 1.14.0 - Subversion (SVN) 1.14.0
- Packer 1.6.1 - Packer 1.6.2
- GNU parallel 20200722 - GNU parallel 20200722
- OpenSSL 1.0.2t 10 Sep 2019 `(/usr/local/opt/openssl -> /usr/local/Cellar/openssl/1.0.2t)` - OpenSSL 1.0.2t 10 Sep 2019 `(/usr/local/opt/openssl -> /usr/local/Cellar/openssl/1.0.2t)`
- jq 1.6 - jq 1.6
@@ -72,39 +66,48 @@
- virtualbox 6.1.12r139181 - virtualbox 6.1.12r139181
- mongo v4.4.0 - mongo v4.4.0
- mongod v4.4.0 - mongod v4.4.0
- Vagrant 2.2.9 - Vagrant 2.2.10
- 7-Zip 16.02 - 7-Zip 16.02
- Newman 5.1.2 - Newman 5.1.2
### Tools ### Tools
- Fastlane 2.156.1 - Fastlane 2.157.2
- Cmake 3.18.1 - Cmake 3.18.2
- App Center CLI 2.6.6 - App Center CLI 2.6.7
- Azure CLI 2.10.1 - Azure CLI 2.11.1
- AWS CLI 2.0.40 - AWS CLI 2.0.44
- AWS SAM CLI 1.1.0 - AWS SAM CLI 1.1.0
- AWS Session Manager CLI 1.1.61.0 - AWS Session Manager CLI 1.1.61.0
- Aliyun CLI 3.0.56 - Aliyun CLI 3.0.56
- GHCup v0.1.10 - GHCup v0.1.10
- GHC 8.10.2 - GHC 9.0.0
- Cabal 3.2.0.0 - Cabal 3.2.0.0
- Stack 2.3.3 - Stack 2.3.3
### Linters ### Linters
- yamllint 1.24.2 - yamllint 1.24.2
- SwiftLint 0.40.0 - SwiftLint 0.40.1
### Browsers ### Browsers
- Safari 13.1.2 (15609.3.5.1.3) - Safari 13.1.2 (15609.3.5.1.3)
- SafariDriver 13.1.2 (15609.3.5.1.3) - SafariDriver 13.1.2 (15609.3.5.1.3)
- Google Chrome 84.0.4147.135 - Google Chrome 85.0.4183.83
- ChromeDriver 84.0.4147.30 - ChromeDriver 85.0.4183.87
- Microsoft Edge 84.0.522.61 - Microsoft Edge 85.0.564.41
- MSEdgeDriver 84.0.522.61 - MSEdgeDriver 85.0.564.41
- Mozilla Firefox 79.0 - Mozilla Firefox 80.0
- geckodriver 0.27.0 - 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 ### Cached Tools
#### Ruby #### Ruby
- 2.4.10 - 2.4.10
@@ -127,7 +130,7 @@
- 8.17.0 - 8.17.0
- 10.22.0 - 10.22.0
- 12.18.3 - 12.18.3
- 14.8.0 - 14.9.0
#### Go #### Go
- 1.11.13 - 1.11.13
@@ -137,12 +140,12 @@
- 1.15.0 - 1.15.0
### Rust Tools ### Rust Tools
- Rust 1.45.2 - Rust 1.46.0
- Rustup 1.22.1 - Rustup 1.22.1
#### Packages #### Packages
- Bindgen 0.54.1 - Bindgen 0.55.1
- Cbindgen 0.14.3 - Cbindgen 0.14.4
- Cargo-outdated v0.9.11 - Cargo-outdated v0.9.11
- Cargo-audit 0.12.0 - Cargo-audit 0.12.0
@@ -152,13 +155,13 @@
#### PowerShell Modules #### PowerShell Modules
| Module | Version | | Module | Version |
| ---------- | ------- | | ---------- | ------- |
| Az | 4.5.0 | | Az | 4.6.1 |
| MarkdownPS | 1.9 | | MarkdownPS | 1.9 |
| Pester | 5.0.3 | | Pester | 5.0.3 |
### Xamarin ### Xamarin
#### Visual Studio for Mac #### Visual Studio for Mac
- 8.7.1.15 - 8.7.4.38
#### Mono #### Mono
- 6.12.0.90 - 6.12.0.90
@@ -190,7 +193,7 @@
- 6.2.0.47 - 6.2.0.47
#### Xamarin.Android #### Xamarin.Android
- 11.0.0 - 11.0.2
- 10.3.1 - 10.3.1
- 10.2.0 - 10.2.0
- 10.1.3 - 10.1.3
@@ -200,18 +203,19 @@
- NUnit 3.6.1 - NUnit 3.6.1
### Xcode ### Xcode
| Version | Build | Path | | Version | Build | Path |
| -------------- | -------- | ------------------------------- | | -------------- | -------- | --------------------------------- |
| 12.0 (beta) | 12A8189h | /Applications/Xcode_12_beta.app | | 12.0 (beta) | 12A8189n | /Applications/Xcode_12_beta.app |
| 11.6 (default) | 11E708 | /Applications/Xcode_11.6.app | | 11.7 (beta) | 11E801a | /Applications/Xcode_11.7_beta.app |
| 11.5 | 11E608c | /Applications/Xcode_11.5.app | | 11.6 (default) | 11E708 | /Applications/Xcode_11.6.app |
| 11.4.1 | 11E503a | /Applications/Xcode_11.4.1.app | | 11.5 | 11E608c | /Applications/Xcode_11.5.app |
| 11.4 | 11E146 | /Applications/Xcode_11.4.app | | 11.4.1 | 11E503a | /Applications/Xcode_11.4.1.app |
| 11.3.1 | 11C505 | /Applications/Xcode_11.3.1.app | | 11.4 | 11E146 | /Applications/Xcode_11.4.app |
| 11.2.1 | 11B500 | /Applications/Xcode_11.2.1.app | | 11.3.1 | 11C505 | /Applications/Xcode_11.3.1.app |
| 11.1 | 11A1027 | /Applications/Xcode_11.1.app | | 11.2.1 | 11B500 | /Applications/Xcode_11.2.1.app |
| 11.0 | 11A420a | /Applications/Xcode_11.app | | 11.1 | 11A1027 | /Applications/Xcode_11.1.app |
| 10.3 | 10G8 | /Applications/Xcode_10.3.app | | 11.0 | 11A420a | /Applications/Xcode_11.app |
| 10.3 | 10G8 | /Applications/Xcode_10.3.app |
#### Xcode Support Tools #### Xcode Support Tools
- Nomad CLI 3.1.4 - Nomad CLI 3.1.4
@@ -221,73 +225,76 @@
- xcversion 2.6.6 - xcversion 2.6.6
#### Installed SDKs #### Installed SDKs
| SDK | SDK Name | Xcode Version | | SDK | SDK Name | Xcode Version |
| ----------------------- | -------------------- | ---------------------------------------------------- | | ----------------------- | -------------------- | ---------------------------------------------------------- |
| macOS 10.14 | macosx10.14 | 10.3 | | macOS 10.14 | macosx10.14 | 10.3 |
| macOS 10.15 | macosx10.15 | 11.0, 11.1, 11.2.1, 11.3.1, 11.4, 11.4.1, 11.5, 11.6 | | macOS 10.15 | macosx10.15 | 11.0, 11.1, 11.2.1, 11.3.1, 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| macOS 11.0 | macosx11.0 | 12.0 | | macOS 11.0 | macosx11.0 | 12.0 |
| iOS 12.4 | iphoneos12.4 | 10.3 | | iOS 12.4 | iphoneos12.4 | 10.3 |
| iOS 13.0 | iphoneos13.0 | 11.0 | | iOS 13.0 | iphoneos13.0 | 11.0 |
| iOS 13.1 | iphoneos13.1 | 11.1 | | iOS 13.1 | iphoneos13.1 | 11.1 |
| iOS 13.2 | iphoneos13.2 | 11.2.1, 11.3.1 | | iOS 13.2 | iphoneos13.2 | 11.2.1, 11.3.1 |
| iOS 13.4 | iphoneos13.4 | 11.4, 11.4.1 | | iOS 13.4 | iphoneos13.4 | 11.4, 11.4.1 |
| iOS 13.5 | iphoneos13.5 | 11.5 | | iOS 13.5 | iphoneos13.5 | 11.5 |
| iOS 13.6 | iphoneos13.6 | 11.6 | | iOS 13.6 | iphoneos13.6 | 11.6 |
| iOS 14.0 | iphoneos14.0 | 12.0 | | iOS 13.7 | iphoneos13.7 | 11.7 |
| Simulator - iOS 12.4 | iphonesimulator12.4 | 10.3 | | iOS 14.0 | iphoneos14.0 | 12.0 |
| Simulator - iOS 13.0 | iphonesimulator13.0 | 11.0 | | Simulator - iOS 12.4 | iphonesimulator12.4 | 10.3 |
| Simulator - iOS 13.1 | iphonesimulator13.1 | 11.1 | | Simulator - iOS 13.0 | iphonesimulator13.0 | 11.0 |
| Simulator - iOS 13.2 | iphonesimulator13.2 | 11.2.1, 11.3.1 | | Simulator - iOS 13.1 | iphonesimulator13.1 | 11.1 |
| Simulator - iOS 13.4 | iphonesimulator13.4 | 11.4, 11.4.1 | | Simulator - iOS 13.2 | iphonesimulator13.2 | 11.2.1, 11.3.1 |
| Simulator - iOS 13.5 | iphonesimulator13.5 | 11.5 | | Simulator - iOS 13.4 | iphonesimulator13.4 | 11.4, 11.4.1 |
| Simulator - iOS 13.6 | iphonesimulator13.6 | 11.6 | | Simulator - iOS 13.5 | iphonesimulator13.5 | 11.5 |
| Simulator - iOS 14.0 | iphonesimulator14.0 | 12.0 | | Simulator - iOS 13.6 | iphonesimulator13.6 | 11.6 |
| tvOS 12.4 | appletvos12.4 | 10.3 | | Simulator - iOS 13.7 | iphonesimulator13.7 | 11.7 |
| tvOS 13.0 | appletvos13.0 | 11.0, 11.1 | | Simulator - iOS 14.0 | iphonesimulator14.0 | 12.0 |
| tvOS 13.2 | appletvos13.2 | 11.2.1, 11.3.1 | | tvOS 12.4 | appletvos12.4 | 10.3 |
| tvOS 13.4 | appletvos13.4 | 11.4, 11.4.1, 11.5, 11.6 | | tvOS 13.0 | appletvos13.0 | 11.0, 11.1 |
| tvOS 14.0 | appletvos14.0 | 12.0 | | tvOS 13.2 | appletvos13.2 | 11.2.1, 11.3.1 |
| Simulator - tvOS 12.4 | appletvsimulator12.4 | 10.3 | | tvOS 13.4 | appletvos13.4 | 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| Simulator - tvOS 13.0 | appletvsimulator13.0 | 11.0, 11.1 | | tvOS 14.0 | appletvos14.0 | 12.0 |
| Simulator - tvOS 13.2 | appletvsimulator13.2 | 11.2.1, 11.3.1 | | Simulator - tvOS 12.4 | appletvsimulator12.4 | 10.3 |
| Simulator - tvOS 13.4 | appletvsimulator13.4 | 11.4, 11.4.1, 11.5, 11.6 | | Simulator - tvOS 13.0 | appletvsimulator13.0 | 11.0, 11.1 |
| Simulator - tvOS 14.0 | appletvsimulator14.0 | 12.0 | | Simulator - tvOS 13.2 | appletvsimulator13.2 | 11.2.1, 11.3.1 |
| watchOS 5.3 | watchos5.3 | 10.3 | | Simulator - tvOS 13.4 | appletvsimulator13.4 | 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| watchOS 6.0 | watchos6.0 | 11.0, 11.1 | | Simulator - tvOS 14.0 | appletvsimulator14.0 | 12.0 |
| watchOS 6.1 | watchos6.1 | 11.2.1, 11.3.1 | | watchOS 5.3 | watchos5.3 | 10.3 |
| watchOS 6.2 | watchos6.2 | 11.4, 11.4.1, 11.5, 11.6 | | watchOS 6.0 | watchos6.0 | 11.0, 11.1 |
| watchOS 7.0 | watchos7.0 | 12.0 | | watchOS 6.1 | watchos6.1 | 11.2.1, 11.3.1 |
| Simulator - watchOS 5.3 | watchsimulator5.3 | 10.3 | | watchOS 6.2 | watchos6.2 | 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| Simulator - watchOS 6.0 | watchsimulator6.0 | 11.0, 11.1 | | watchOS 7.0 | watchos7.0 | 12.0 |
| Simulator - watchOS 6.1 | watchsimulator6.1 | 11.2.1, 11.3.1 | | Simulator - watchOS 5.3 | watchsimulator5.3 | 10.3 |
| Simulator - watchOS 6.2 | watchsimulator6.2 | 11.4, 11.4.1, 11.5, 11.6 | | Simulator - watchOS 6.0 | watchsimulator6.0 | 11.0, 11.1 |
| Simulator - watchOS 7.0 | watchsimulator7.0 | 12.0 | | Simulator - watchOS 6.1 | watchsimulator6.1 | 11.2.1, 11.3.1 |
| DriverKit 19.0 | driverkit.macosx19.0 | 11.0, 11.1, 11.2.1, 11.3.1, 11.4, 11.4.1, 11.5, 11.6 | | Simulator - watchOS 6.2 | watchsimulator6.2 | 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| DriverKit 20.0 | driverkit.macosx20.0 | 12.0 | | Simulator - watchOS 7.0 | watchsimulator7.0 | 12.0 |
| DriverKit 19.0 | driverkit.macosx19.0 | 11.0, 11.1, 11.2.1, 11.3.1, 11.4, 11.4.1, 11.5, 11.6, 11.7 |
| DriverKit 20.0 | driverkit.macosx20.0 | 12.0 |
#### Installed Simulators #### Installed Simulators
| OS | Xcode Version | Simulators | | OS | Xcode Version | Simulators |
| ----------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ----------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| iOS 12.4 | 10.3 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone Xs<br>iPhone Xs Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air (3rd generation)<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) | | iOS 12.4 | 10.3 | iPhone 5s<br>iPhone 6<br>iPhone 6 Plus<br>iPhone 6s<br>iPhone 6s Plus<br>iPhone 7<br>iPhone 7 Plus<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE<br>iPhone X<br>iPhone XR<br>iPhone Xs<br>iPhone Xs Max<br>iPad (5th generation)<br>iPad (6th generation)<br>iPad Air<br>iPad Air (3rd generation)<br>iPad Air 2<br>iPad Pro (10.5-inch)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch)<br>iPad Pro (12.9-inch) (2nd generation)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.0 | 11.0 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) | | iOS 13.0 | 11.0 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.1 | 11.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) | | iOS 13.1 | 11.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.2 | 11.2.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) | | iOS 13.2 | 11.2.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.3 | 11.3.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) | | iOS 13.3 | 11.3.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPad Air (3rd generation)<br>iPad Pro (11-inch)<br>iPad Pro (12.9-inch) (3rd generation)<br>iPad Pro (9.7-inch) |
| iOS 13.4 | 11.4<br>11.4.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) | | iOS 13.4 | 11.4<br>11.4.1 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) |
| iOS 13.5 | 11.5 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) | | iOS 13.5 | 11.5 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) |
| iOS 13.6 | 11.6 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) | | iOS 13.6 | 11.6 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) |
| iOS 14.0 | 12.0 | iPod touch (7th generation)<br>iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) | | iOS 13.7 | 11.7 | iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) |
| tvOS 12.4 | 10.3 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | iOS 14.0 | 12.0 | iPod touch (7th generation)<br>iPhone 11<br>iPhone 11 Pro<br>iPhone 11 Pro Max<br>iPhone 8<br>iPhone 8 Plus<br>iPhone SE (2nd generation)<br>iPad (7th generation)<br>iPad Air (3rd generation)<br>iPad Pro (11-inch) (2nd generation)<br>iPad Pro (12.9-inch) (4th generation)<br>iPad Pro (9.7-inch) |
| tvOS 13.0 | 11.0<br>11.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | tvOS 12.4 | 10.3 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.2 | 11.2.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | tvOS 13.0 | 11.0<br>11.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.3 | 11.3.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | tvOS 13.2 | 11.2.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 13.4 | 11.4<br>11.4.1<br>11.5<br>11.6 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | tvOS 13.3 | 11.3.1 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| tvOS 14.0 | 12.0 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) | | tvOS 13.4 | 11.4<br>11.4.1<br>11.5<br>11.6<br>11.7 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| watchOS 5.3 | 10.3 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm | | tvOS 14.0 | 12.0 | Apple TV<br>Apple TV 4K<br>Apple TV 4K (at 1080p) |
| watchOS 6.0 | 11.0<br>11.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm | | watchOS 5.3 | 10.3 | Apple Watch Series 2 - 38mm<br>Apple Watch Series 2 - 42mm<br>Apple Watch Series 3 - 38mm<br>Apple Watch Series 3 - 42mm<br>Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm |
| watchOS 6.1 | 11.2.1<br>11.3.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm | | watchOS 6.0 | 11.0<br>11.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
| watchOS 6.2 | 11.4<br>11.4.1<br>11.5<br>11.6 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm | | watchOS 6.1 | 11.2.1<br>11.3.1 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
| watchOS 7.0 | 12.0 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm | | watchOS 6.2 | 11.4<br>11.4.1<br>11.5<br>11.6<br>11.7 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
| watchOS 7.0 | 12.0 | Apple Watch Series 4 - 40mm<br>Apple Watch Series 4 - 44mm<br>Apple Watch Series 5 - 40mm<br>Apple Watch Series 5 - 44mm |
### Android ### Android
#### Android SDK Tools #### Android SDK Tools
@@ -340,6 +347,7 @@
| build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 | | build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 |
| build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 | | build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 |
| build-tools-30.0.1 | Android SDK Build-Tools, Revision 30.0.1 | | build-tools-30.0.1 | Android SDK Build-Tools, Revision 30.0.1 |
| build-tools-30.0.2 | Android SDK Build-Tools, Revision 30.0.2 |
#### Android NDKs #### Android NDKs
| Version | Path | | Version | Path |
@@ -352,7 +360,7 @@
| Package Name | Version | | Package Name | Version |
| ---------------- | ----------- | | ---------------- | ----------- |
| cmake | 3.6.4111459 | | cmake | 3.6.4111459 |
| Android Emulator | 30.0.12 | | Android Emulator | 30.0.26 |
#### Android Google APIs #### Android Google APIs
| Package Name | Description | | Package Name | Description |

View File

@@ -4,7 +4,7 @@
*** ***
# Microsoft Windows Server 2016 Datacenter # Microsoft Windows Server 2016 Datacenter
- OS Version: 10.0.14393 Build 3866 - OS Version: 10.0.14393 Build 3866
- Image Version: 20200820.1 - Image Version: 20200827.1
## Installed Software ## Installed Software
### Language and Runtime ### Language and Runtime
@@ -16,7 +16,7 @@
- Ruby 2.5.8p224 - Ruby 2.5.8p224
- Go 1.14.7 - Go 1.14.7
- PHP 7.4.9 - PHP 7.4.9
- Julia 1.5.0 - Julia 1.5.1
- Perl 5.30.3 - Perl 5.30.3
- Node 12.18.3 - Node 12.18.3
@@ -39,17 +39,17 @@
- sbt 1.3.13 - sbt 1.3.13
### Tools ### Tools
- Azure CosmosDb Emulator 2.11.3.0 - Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0 - azcopy 10.6.0
- Bazel 3.4.1 - Bazel 3.4.1
- Bazelisk 1.6.1 - Bazelisk 1.6.1
- CMake 3.18.1 - CMake 3.18.2
- R 4.0.2 - R 4.0.2
- Docker 19.03.11 - Docker 19.03.11
- Docker-compose 1.26.2 - Docker-compose 1.26.2
- Git 2.28.0 - Git 2.28.0
- Git LFS 2.11.0 - Git LFS 2.11.0
- Google Cloud SDK 306.0.0 - Google Cloud SDK 307.0.0
- InnoSetup 6.0.5 - InnoSetup 6.0.5
- jq 1.6 - jq 1.6
- Kubectl 1.18.8 - Kubectl 1.18.8
@@ -74,13 +74,13 @@
- yamllint 1.24.2 - yamllint 1.24.2
### CLI Tools ### CLI Tools
- Azure CLI 2.10.1 - Azure CLI 2.11.0
- Azure DevOps CLI extension 0.18.0 - Azure DevOps CLI extension 0.18.0
- AWS CLI 2.0.41 - AWS CLI 2.0.43
- AWS SAM CLI 1.1.0 - AWS SAM CLI 1.1.0
- AWS Session Manager CLI 1.1.61.0 - AWS Session Manager CLI 1.1.61.0
- Alibaba Cloud CLI 3.0.56 - Alibaba Cloud CLI 3.0.56
- Cloud Foundry CLI 6.51.0 - Cloud Foundry CLI 6.52.0
- Hub CLI 2.14.2 - Hub CLI 2.14.2
- GitHub CLI gh version 0.11.1 (2020-07-28) https://github.com/cli/cli/releases/tag/v0.11.1 - GitHub CLI gh version 0.11.1 (2020-07-28) https://github.com/cli/cli/releases/tag/v0.11.1
@@ -88,17 +88,17 @@
- Rust 1.45.2 - Rust 1.45.2
#### Packages #### Packages
- bindgen 0.54.1 - bindgen 0.55.1
- cbindgen 0.14.3 - cbindgen 0.14.4
- cargo-audit 0.12.0 - cargo-audit 0.12.0
- cargo-outdated v0.9.11 - cargo-outdated v0.9.11
### Browsers and webdrivers ### Browsers and webdrivers
- Google Chrome 84.0.4147.135 - Google Chrome 85.0.4183.83
- Chrome Driver 84.0.4147.30 - Chrome Driver 85.0.4183.83
- Microsoft Edge 84.0.522.61 - Microsoft Edge 84.0.522.63
- Microsoft Edge Driver 84.0.522.61 - Microsoft Edge Driver 84.0.522.63
- Mozilla Firefox 79.0 - Mozilla Firefox 80.0
- Gecko Driver 0.27.0 - Gecko Driver 0.27.0
- IE Driver 3.150.1.0 - IE Driver 3.150.1.0
@@ -574,6 +574,8 @@ All other versions are saved but not installed.
| build-tools-29.0.2 | Android SDK Build-Tools, Revision 29.0.2 | | 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 | | build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 |
| build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 | | build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 |
| build-tools-30.0.1 | Android SDK Build-Tools, Revision 30.0.1 |
| build-tools-30.0.2 | Android SDK Build-Tools, Revision 30.0.2 |
### Android Extra Packages ### Android Extra Packages
| Package Name | Version | | Package Name | Version |

View File

@@ -4,7 +4,7 @@
*** ***
# Microsoft Windows Server 2019 Datacenter # Microsoft Windows Server 2019 Datacenter
- OS Version: 10.0.17763 Build 1397 - OS Version: 10.0.17763 Build 1397
- Image Version: 20200820.1 - Image Version: 20200827.1
## Enabled windows optional features ## Enabled windows optional features
- Windows Subsystem for Linux - Windows Subsystem for Linux
@@ -19,7 +19,7 @@
- Ruby 2.5.8p224 - Ruby 2.5.8p224
- Go 1.14.7 - Go 1.14.7
- PHP 7.4.9 - PHP 7.4.9
- Julia 1.5.0 - Julia 1.5.1
- Perl 5.30.3 - Perl 5.30.3
- Node 12.18.3 - Node 12.18.3
@@ -42,17 +42,17 @@
- sbt 1.3.13 - sbt 1.3.13
### Tools ### Tools
- Azure CosmosDb Emulator 2.11.3.0 - Azure CosmosDb Emulator 2.11.5.0
- azcopy 10.6.0 - azcopy 10.6.0
- Bazel 3.4.1 - Bazel 3.4.1
- Bazelisk 1.6.1 - Bazelisk 1.6.1
- CMake 3.18.1 - CMake 3.18.2
- R 4.0.2 - R 4.0.2
- Docker 19.03.11 - Docker 19.03.11
- Docker-compose 1.26.2 - Docker-compose 1.26.2
- Git 2.28.0 - Git 2.28.0
- Git LFS 2.11.0 - Git LFS 2.11.0
- Google Cloud SDK 306.0.0 - Google Cloud SDK 307.0.0
- InnoSetup 6.0.5 - InnoSetup 6.0.5
- jq 1.6 - jq 1.6
- Kubectl 1.18.8 - Kubectl 1.18.8
@@ -77,13 +77,13 @@
- yamllint 1.24.2 - yamllint 1.24.2
### CLI Tools ### CLI Tools
- Azure CLI 2.10.1 - Azure CLI 2.11.0
- Azure DevOps CLI extension 0.18.0 - Azure DevOps CLI extension 0.18.0
- AWS CLI 2.0.41 - AWS CLI 2.0.43
- AWS SAM CLI 1.1.0 - AWS SAM CLI 1.1.0
- AWS Session Manager CLI 1.1.61.0 - AWS Session Manager CLI 1.1.61.0
- Alibaba Cloud CLI 3.0.56 - Alibaba Cloud CLI 3.0.56
- Cloud Foundry CLI 6.51.0 - Cloud Foundry CLI 6.52.0
- Hub CLI 2.14.2 - Hub CLI 2.14.2
- GitHub CLI gh version 0.11.1 (2020-07-28) https://github.com/cli/cli/releases/tag/v0.11.1 - GitHub CLI gh version 0.11.1 (2020-07-28) https://github.com/cli/cli/releases/tag/v0.11.1
@@ -91,17 +91,17 @@
- Rust 1.45.2 - Rust 1.45.2
#### Packages #### Packages
- bindgen 0.54.1 - bindgen 0.55.1
- cbindgen 0.14.3 - cbindgen 0.14.4
- cargo-audit 0.12.0 - cargo-audit 0.12.0
- cargo-outdated v0.9.11 - cargo-outdated v0.9.11
### Browsers and webdrivers ### Browsers and webdrivers
- Google Chrome 84.0.4147.135 - Google Chrome 85.0.4183.83
- Chrome Driver 84.0.4147.30 - Chrome Driver 85.0.4183.83
- Microsoft Edge 84.0.522.61 - Microsoft Edge 84.0.522.63
- Microsoft Edge Driver 84.0.522.61 - Microsoft Edge Driver 84.0.522.63
- Mozilla Firefox 79.0 - Mozilla Firefox 80.0
- Gecko Driver 0.27.0 - Gecko Driver 0.27.0
- IE Driver 3.150.1.0 - IE Driver 3.150.1.0
@@ -423,7 +423,7 @@ Note: MSYS2 is pre-installed on image but not added to PATH.
| Microsoft.VisualStudio.Workload.Universal | 16.7.30310.162 | | Microsoft.VisualStudio.Workload.Universal | 16.7.30310.162 |
| Microsoft.VisualStudio.Workload.VisualStudioExtension | 16.4.29409.204 | | Microsoft.VisualStudio.Workload.VisualStudioExtension | 16.4.29409.204 |
| SSDT Microsoft Analysis Services Projects | 2.9.12 | | SSDT Microsoft Analysis Services Projects | 2.9.12 |
| SSDT SQL Server Integration Services Projects | 3.8 | | SSDT SQL Server Integration Services Projects | 3.9 |
| SSDT Microsoft Reporting Services Projects | 2.6.7 | | SSDT Microsoft Reporting Services Projects | 2.6.7 |
| Windows Driver Kit | 3.11.4516 | | Windows Driver Kit | 3.11.4516 |
| Windows Driver Kit Visual Studio Extension | 10.1.19041.1 | | Windows Driver Kit Visual Studio Extension | 10.1.19041.1 |
@@ -554,6 +554,8 @@ All other versions are saved but not installed.
| build-tools-29.0.2 | Android SDK Build-Tools, Revision 29.0.2 | | 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 | | build-tools-29.0.3 | Android SDK Build-Tools, Revision 29.0.3 |
| build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 | | build-tools-30.0.0 | Android SDK Build-Tools, Revision 30.0.0 |
| build-tools-30.0.1 | Android SDK Build-Tools, Revision 30.0.1 |
| build-tools-30.0.2 | Android SDK Build-Tools, Revision 30.0.2 |
### Android Extra Packages ### Android Extra Packages
| Package Name | Version | | Package Name | Version |

View File

@@ -35,8 +35,7 @@ Export-ModuleMember -Function @(
'Get-EnvironmentVariable' 'Get-EnvironmentVariable'
'Invoke-PesterTests' 'Invoke-PesterTests'
'Get-VsCatalogJsonPath' 'Get-VsCatalogJsonPath'
'Get-VisualStudioPath'
'Install-AndroidSDKPackages' 'Install-AndroidSDKPackages'
'Get-VisualStudioPackages' 'Get-VisualStudioProduct'
'Get-VisualStudioComponents' 'Get-VisualStudioComponents'
) )

View File

@@ -258,34 +258,6 @@ function Install-VsixExtension
} }
} }
function Get-VSExtensionVersion
{
Param
(
[Parameter(Mandatory=$true)]
[string] $packageName
)
$instanceFolders = Get-ChildItem -Path "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances"
if ($instanceFolders -is [array])
{
Write-Host "More than one instance installed"
exit 1
}
$stateContent = Get-Content -Path (Join-Path $instanceFolders.FullName '\state.packages.json')
$state = $stateContent | ConvertFrom-Json
$packageVersion = ($state.packages | Where-Object { $_.id -eq $packageName }).version
if (-not $packageVersion)
{
Write-Host "installed package $packageName for Visual Studio 2019 was not found"
exit 1
}
return $packageVersion
}
function Get-ToolcachePackages function Get-ToolcachePackages
{ {
$toolcachePath = Join-Path $env:ROOT_FOLDER "toolcache.json" $toolcachePath = Join-Path $env:ROOT_FOLDER "toolcache.json"

View File

@@ -60,21 +60,60 @@ Function Install-VisualStudio
} }
} }
function Get-VisualStudioInstancePath {
return "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances\" + (Get-VisualStudioProduct -ProductType "VisualStudio").InstanceId
}
function Get-VsCatalogJsonPath { function Get-VsCatalogJsonPath {
$instanceFolder = Get-Item "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances\*" | Select-Object -First 1 return Join-Path (Get-VisualStudioInstancePath) "catalog.json"
return Join-Path $instanceFolder.FullName "catalog.json"
} }
function Get-VisualStudioPath { function Get-VisualStudioProduct {
return (Get-VSSetupInstance | Select-VSSetupInstance -Product *).InstallationPath Param
} (
[Parameter(Mandatory)]
[ValidateSet('VisualStudio','BuildTools')]
[String] $ProductType
)
function Get-VisualStudioPackages { if ($ProductType -eq "VisualStudio")
return (Get-VSSetupInstance | Select-VSSetupInstance -Product *).Packages {
$VSSelectionType = "*Enterprise*"
}
elseif ($ProductType -eq "BuildTools")
{
$VSSelectionType = "*Build*"
}
return Get-VSSetupInstance | Where-Object -Property DisplayName -like $VSSelectionType
} }
function Get-VisualStudioComponents { function Get-VisualStudioComponents {
Get-VisualStudioPackages | Where-Object type -in 'Component', 'Workload' | Param
(
[Parameter(Mandatory)]
[String] $ProductType
)
(Get-VisualStudioProduct -ProductType $ProductType).Packages | Where-Object type -in 'Component', 'Workload' |
Sort-Object Id, Version | Select-Object @{n = 'Package'; e = {$_.Id}}, Version | Sort-Object Id, Version | Select-Object @{n = 'Package'; e = {$_.Id}}, Version |
Where-Object { $_.Package -notmatch "[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}" } Where-Object { $_.Package -notmatch "[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}" }
} }
function Get-VSExtensionVersion
{
Param
(
[Parameter(Mandatory=$true)]
[string] $PackageName
)
$state = Get-Content -Path (Join-Path (Get-VisualStudioInstancePath) '\state.packages.json') | ConvertFrom-Json
$packageVersion = ($state.packages | Where-Object { $_.id -eq $PackageName }).version
if (-not $packageVersion)
{
Write-Host "installed package $PackageName for Visual Studio 2019 was not found"
exit 1
}
return $packageVersion
}

View File

@@ -1,38 +1,35 @@
################################################################################ ################################################################################
## File: Install-VS.ps1 ## File: Install-VS.ps1
## Desc: Install Visual Studio ## Desc: Install Visual Studio and build tools
################################################################################ ################################################################################
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$toolset = Get-ToolsetContent $toolset = Get-ToolsetContent
$requiredComponents = $toolset.visualStudio.workloads | ForEach-Object { "--add $_" } $requiredComponents = $toolset.visualStudio.workloads | ForEach-Object { "--add $_" }
$buildToolsRequiredComponents = $toolset.visualStudio.buildtools_workloads | ForEach-Object { "--add $_" }
$workLoads = @( $workLoads = @(
"--allWorkloads --includeRecommended" "--allWorkloads --includeRecommended"
$requiredComponents $requiredComponents
"--remove Component.CPython3.x64" "--remove Component.CPython3.x64"
) )
$workLoadsArgument = [String]::Join(" ", $workLoads) $workLoadsArgument = [String]::Join(" ", $workLoads)
$buildToolsWorkloads= @(
"--includeRecommended"
$buildToolsRequiredComponents
)
$buildWorkLoadsArgument = [String]::Join(" ", $buildToolsWorkloads)
$releaseInPath = $toolset.visualStudio.edition $releaseInPath = $toolset.visualStudio.edition
$subVersion = $toolset.visualStudio.subversion $subVersion = $toolset.visualStudio.subversion
$bootstrapperUrl = "https://aka.ms/vs/${subVersion}/release/vs_${releaseInPath}.exe" $bootstrapperUrl = "https://aka.ms/vs/${subVersion}/release/vs_${releaseInPath}.exe"
$buildbootstrapperUrl = "https://aka.ms/vs/${subVersion}/release/vs_buildtools.exe"
# Install VS # Install VS and VS Build tools
Install-VisualStudio -BootstrapperUrl $bootstrapperUrl -WorkLoads $workLoadsArgument Install-VisualStudio -BootstrapperUrl $bootstrapperUrl -WorkLoads $workLoadsArgument
Install-VisualStudio -BootstrapperUrl $buildbootstrapperUrl -WorkLoads $buildWorkLoadsArgument
# Find the version of VS installed for this instance $vsInstallRoot = (Get-VisualStudioProduct -ProductType "VisualStudio").InstallationPath
# Only supports a single instance
$vsProgramData = Get-Item -Path "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances"
$instanceFolders = Get-ChildItem -Path $vsProgramData.FullName
if ($instanceFolders -is [array])
{
Write-Host "More than one instance installed"
exit 1
}
$vsInstallRoot = Get-VisualStudioPath
# Initialize Visual Studio Experimental Instance # Initialize Visual Studio Experimental Instance
& "$vsInstallRoot\Common7\IDE\devenv.exe" /RootSuffix Exp /ResetSettings General.vssettings /Command File.Exit & "$vsInstallRoot\Common7\IDE\devenv.exe" /RootSuffix Exp /ResetSettings General.vssettings /Command File.Exit

View File

@@ -171,7 +171,12 @@ $markdown += New-MDNewLine
$markdown += New-MDHeader "Workloads, components and extensions:" -Level 4 $markdown += New-MDHeader "Workloads, components and extensions:" -Level 4
$markdown += New-MDNewLine $markdown += New-MDNewLine
$markdown += ((Get-VisualStudioComponents) + (Get-VisualStudioExtensions)) | New-MDTable $markdown += ((Get-VisualStudioComponents -ProductType "VisualStudio") + (Get-VisualStudioExtensions)) | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Build Tools Workloads:" -Level 4
$markdown += New-MDNewLine
$markdown += (Get-VisualStudioComponents -ProductType "BuildTools") | New-MDTable
$markdown += New-MDNewLine $markdown += New-MDNewLine
$markdown += New-MDHeader "Microsoft Visual C++:" -Level 4 $markdown += New-MDHeader "Microsoft Visual C++:" -Level 4

View File

@@ -23,18 +23,18 @@ function Get-VisualStudioExtensions {
# Wix # Wix
$vs = (Get-VisualStudioVersion).Name.Split()[-1] $vs = (Get-VisualStudioVersion).Name.Split()[-1]
$wixPackageVersion = Get-WixVersion $wixPackageVersion = Get-WixVersion
$wixExtensionVersion = (Get-VisualStudioPackages | Where-Object {$_.Id -match 'WixToolset.VisualStudioExtension.Dev' -and $_.type -eq 'vsix'}).Version $wixExtensionVersion = ((Get-VisualStudioProduct -ProductType "VisualStudio").Packages | Where-Object {$_.Id -match 'WixToolset.VisualStudioExtension.Dev' -and $_.type -eq 'vsix'}).Version
# WDK # WDK
$wdkPackageVersion = Get-VSExtensionVersion -packageName 'Microsoft.Windows.DriverKit' $wdkPackageVersion = Get-VSExtensionVersion -PackageName 'Microsoft.Windows.DriverKit'
$wdkExtensionVersion = Get-WDKVersion $wdkExtensionVersion = Get-WDKVersion
# SSDT # SSDT
$analysisPackageVersion = Get-VSExtensionVersion -packageName '04a86fc2-dbd5-4222-848e-911638e487fe' $analysisPackageVersion = Get-VSExtensionVersion -PackageName '04a86fc2-dbd5-4222-848e-911638e487fe'
$reportingPackageVersion = Get-VSExtensionVersion -packageName '717ad572-c4b7-435c-c166-c2969777f718' $reportingPackageVersion = Get-VSExtensionVersion -PackageName '717ad572-c4b7-435c-c166-c2969777f718'
$integrationPackageName = ($vs -match "2019") ? '851E7A09-7B2B-4F06-A15D-BABFCB26B970' : 'D1B09713-C12E-43CC-9EF4-6562298285AB' $integrationPackageName = ($vs -match "2019") ? '851E7A09-7B2B-4F06-A15D-BABFCB26B970' : 'D1B09713-C12E-43CC-9EF4-6562298285AB'
$integrationPackageVersion = Get-VSExtensionVersion -packageName $integrationPackageName $integrationPackageVersion = Get-VSExtensionVersion -PackageName $integrationPackageName
$extensions = @( $extensions = @(
@{Package = 'SSDT Microsoft Analysis Services Projects'; Version = $analysisPackageVersion} @{Package = 'SSDT Microsoft Analysis Services Projects'; Version = $analysisPackageVersion}

View File

@@ -9,12 +9,12 @@ Describe "SSDTExtensions" {
) )
It "Extensions id=<id>" -TestCases $testExtenions { It "Extensions id=<id>" -TestCases $testExtenions {
$version = Get-VSExtensionVersion -packageName "${id}" $version = Get-VSExtensionVersion -PackageName "${id}"
$version | Should -Not -BeNullOrEmpty $version | Should -Not -BeNullOrEmpty
} }
} else { } else {
It "Extension SSDT" { It "Extension SSDT" {
$version = Get-VSExtensionVersion -packageName "SSDT" $version = Get-VSExtensionVersion -PackageName "SSDT"
$version | Should -Not -BeNullOrEmpty $version | Should -Not -BeNullOrEmpty
} }
} }

View File

@@ -5,17 +5,27 @@ Describe "Visual Studio" {
} }
It "Devenv.exe" { It "Devenv.exe" {
$vsInstallRoot = Get-VisualStudioPath $vsInstallRoot = (Get-VisualStudioProduct -ProductType "VisualStudio").InstallationPath
$devenvexePath = "${vsInstallRoot}\Common7\IDE\devenv.exe" $devenvexePath = "${vsInstallRoot}\Common7\IDE\devenv.exe"
$devenvexePath | Should -Exist $devenvexePath | Should -Exist
} }
} }
Context "Visual Studio components" { Context "Visual Studio components" {
$expectedComponents = Get-ToolsetContent | Select-Object -ExpandProperty visualStudio | Select-Object -ExpandProperty workloads $testCases = (Get-ToolsetContent).visualStudio.workloads | ForEach-Object { @{ComponentName = $_} }
$testCases = $expectedComponents | ForEach-Object { @{ComponentName = $_} }
BeforeAll { BeforeAll {
$installedComponents = Get-VisualStudioComponents | Select-Object -ExpandProperty Package $installedComponents = Get-VisualStudioComponents -ProductType "VisualStudio" | Select-Object -ExpandProperty Package
}
It "<ComponentName>" -TestCases $testCases {
$installedComponents | Should -Contain $ComponentName
}
}
Context "Visual Studio Build Tools components" {
$testCases = (Get-ToolsetContent).visualStudio.buildtools_workloads | ForEach-Object { @{ComponentName = $_} }
BeforeAll {
$installedComponents = Get-VisualStudioComponents -ProductType "BuildTools" | Select-Object -ExpandProperty Package
} }
It "<ComponentName>" -TestCases $testCases { It "<ComponentName>" -TestCases $testCases {

View File

@@ -5,7 +5,7 @@ Describe "WDK" {
} }
It "WDK version from system" { It "WDK version from system" {
$version = Get-VSExtensionVersion -packageName "Microsoft.Windows.DriverKit" $version = Get-VSExtensionVersion -PackageName "Microsoft.Windows.DriverKit"
$version | Should -Not -BeNullOrEmpty $version | Should -Not -BeNullOrEmpty
} }
} }

View File

@@ -12,11 +12,11 @@ Describe "Wix" {
It "Wix Toolset version from system" { It "Wix Toolset version from system" {
if (Test-IsWin19) if (Test-IsWin19)
{ {
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev16" $exVersion = Get-VSExtensionVersion -PackageName "WixToolset.VisualStudioExtension.Dev16"
} }
else else
{ {
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev15" $exVersion = Get-VSExtensionVersion -PackageName "WixToolset.VisualStudioExtension.Dev15"
} }
$exVersion | Should -Not -BeNullOrEmpty $exVersion | Should -Not -BeNullOrEmpty
} }

View File

@@ -227,6 +227,9 @@
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre", "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
"Microsoft.VisualStudio.Component.Workflow", "Microsoft.VisualStudio.Component.Workflow",
"Microsoft.VisualStudio.Workload.Office" "Microsoft.VisualStudio.Workload.Office"
],
"buildtools_workloads": [
"Microsoft.VisualStudio.Workload.WebBuildTools"
] ]
} }
} }

View File

@@ -239,6 +239,7 @@
"Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools", "Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang",
"Microsoft.VisualStudio.ComponentGroup.Web.CloudTools", "Microsoft.VisualStudio.ComponentGroup.Web.CloudTools",
"Microsoft.VisualStudio.ComponentGroup.UWP.VC",
"Microsoft.VisualStudio.Workload.Azure", "Microsoft.VisualStudio.Workload.Azure",
"Microsoft.VisualStudio.Workload.Data", "Microsoft.VisualStudio.Workload.Data",
"Microsoft.VisualStudio.Workload.DataScience", "Microsoft.VisualStudio.Workload.DataScience",
@@ -258,6 +259,9 @@
"Microsoft.VisualStudio.Workload.VisualStudioExtension", "Microsoft.VisualStudio.Workload.VisualStudioExtension",
"Component.MDD.Linux", "Component.MDD.Linux",
"Component.MDD.Linux.GCC.arm" "Component.MDD.Linux.GCC.arm"
],
"buildtools_workloads": [
"Microsoft.VisualStudio.Workload.WebBuildTools"
] ]
} }
} }