mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Merge branch 'master' of github.com:actions/virtual-environments into v-ivnosa/add-gcc-gfort-clang
This commit is contained in:
@@ -25,6 +25,7 @@ apt-fast install -y --no-install-recommends \
|
||||
locales \
|
||||
netcat \
|
||||
openssh-client \
|
||||
parallel \
|
||||
rsync \
|
||||
shellcheck \
|
||||
sudo \
|
||||
@@ -55,7 +56,7 @@ apt-fast install -y --no-install-recommends \
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip upx wget zip; do
|
||||
for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet time unzip upx wget zip; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -78,6 +79,7 @@ DocumentInstalledItemIndent "libunwind8"
|
||||
DocumentInstalledItemIndent "locales"
|
||||
DocumentInstalledItemIndent "netcat"
|
||||
DocumentInstalledItemIndent "openssh-client"
|
||||
DocumentInstalledItemIndent "parallel"
|
||||
DocumentInstalledItemIndent "rsync"
|
||||
DocumentInstalledItemIndent "shellcheck"
|
||||
DocumentInstalledItemIndent "sudo"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
source $HELPER_SCRIPTS/apt.sh
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
LATEST_DOTNET_PACKAGE=dotnet-sdk-3.0
|
||||
LATEST_DOTNET_PACKAGES=("dotnet-sdk-3.0" "dotnet-sdk-3.1")
|
||||
|
||||
LSB_RELEASE=$(lsb_release -rs)
|
||||
|
||||
@@ -30,21 +30,23 @@ mksamples()
|
||||
|
||||
set -e
|
||||
|
||||
echo "Determing if .NET Core ($LATEST_DOTNET_PACKAGE) is installed"
|
||||
if ! IsInstalled $LATEST_DOTNET_PACKAGE; then
|
||||
echo "Could not find .NET Core ($LATEST_DOTNET_PACKAGE), installing..."
|
||||
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
||||
dpkg -i packages-microsoft-prod.deb
|
||||
apt-get update
|
||||
apt-get install apt-transport-https
|
||||
apt-get update
|
||||
apt-get install $LATEST_DOTNET_PACKAGE
|
||||
else
|
||||
echo ".NET Core ($LATEST_DOTNET_PACKAGE) is already installed"
|
||||
fi
|
||||
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"
|
||||
fi
|
||||
done
|
||||
|
||||
# Get list of all released SDKs from channels which are not end-of-life or preview
|
||||
release_urls=("https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.2/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json")
|
||||
release_urls=("https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.2/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.0/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.1/releases.json")
|
||||
sdks=()
|
||||
for release_url in ${release_urls[@]}; do
|
||||
echo "${release_url}"
|
||||
|
||||
@@ -118,9 +118,12 @@ apt-get install -y --no-install-recommends zsync
|
||||
echo "Install curl"
|
||||
apt-get install -y --no-install-recommends curl
|
||||
|
||||
echo "Install parallel"
|
||||
apt-get install -y --no-install-recommends parallel
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip wget zip; do
|
||||
for cmd in curl file ftp jq netcat ssh parallel rsync shellcheck sudo telnet time unzip wget zip; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -143,6 +146,7 @@ DocumentInstalledItemIndent "libunwind8"
|
||||
DocumentInstalledItemIndent "locales"
|
||||
DocumentInstalledItemIndent "netcat"
|
||||
DocumentInstalledItemIndent "openssh-client"
|
||||
DocumentInstalledItemIndent "parallel"
|
||||
DocumentInstalledItemIndent "rsync"
|
||||
DocumentInstalledItemIndent "shellcheck"
|
||||
DocumentInstalledItemIndent "sudo"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
source $HELPER_SCRIPTS/apt.sh
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
LATEST_DOTNET_PACKAGE=dotnet-sdk-3.0
|
||||
LATEST_DOTNET_PACKAGES=("dotnet-sdk-3.0" "dotnet-sdk-3.1")
|
||||
|
||||
LSB_RELEASE=$(lsb_release -rs)
|
||||
|
||||
@@ -30,21 +30,23 @@ mksamples()
|
||||
|
||||
set -e
|
||||
|
||||
echo "Determing if .NET Core ($LATEST_DOTNET_PACKAGE) is installed"
|
||||
if ! IsInstalled $LATEST_DOTNET_PACKAGE; then
|
||||
echo "Could not find .NET Core ($LATEST_DOTNET_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_DOTNET_PACKAGE -y
|
||||
else
|
||||
echo ".NET Core ($LATEST_DOTNET_PACKAGE) is already installed"
|
||||
fi
|
||||
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"
|
||||
fi
|
||||
done
|
||||
|
||||
# Get list of all released SDKs from channels which are not end-of-life or preview
|
||||
release_urls=("https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.2/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.0/releases.json")
|
||||
release_urls=("https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.1/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/2.2/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.0/releases.json" "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/3.1/releases.json")
|
||||
sdks=()
|
||||
for release_url in ${release_urls[@]}; do
|
||||
echo "${release_url}"
|
||||
|
||||
@@ -24,6 +24,7 @@ apt-get install -y \
|
||||
ghc-8.6.4 \
|
||||
ghc-8.6.5 \
|
||||
ghc-8.8.1 \
|
||||
ghc-8.8.2 \
|
||||
cabal-install-2.0 \
|
||||
cabal-install-2.2 \
|
||||
cabal-install-2.4 \
|
||||
@@ -35,7 +36,7 @@ curl -sSL https://raw.githubusercontent.com/commercialhaskell/stack/v2.1.3/etc/s
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
# Check all ghc versions
|
||||
for version in 8.0.2 8.2.2 8.4.4 8.6.2 8.6.3 8.6.4 8.6.5 8.8.1; do
|
||||
for version in 8.0.2 8.2.2 8.4.4 8.6.2 8.6.3 8.6.4 8.6.5 8.8.1 8.8.2; do
|
||||
if ! command -v /opt/ghc/$version/bin/ghc; then
|
||||
echo "ghc $version was not installed"
|
||||
exit 1
|
||||
@@ -58,7 +59,7 @@ echo "Lastly, documenting what we added to the metadata file"
|
||||
for version in 2.0 2.2 2.4 3.0; do
|
||||
DocumentInstalledItem "Haskell Cabal ($(/opt/cabal/$version/bin/cabal --version))"
|
||||
done
|
||||
for version in 8.0.2 8.2.2 8.4.4 8.6.2 8.6.3 8.6.4 8.6.5 8.8.1; do
|
||||
for version in 8.0.2 8.2.2 8.4.4 8.6.2 8.6.3 8.6.4 8.6.5 8.8.1 8.8.2; do
|
||||
DocumentInstalledItem "GHC ($(/opt/ghc/$version/bin/ghc --version))"
|
||||
done
|
||||
DocumentInstalledItem "Haskell Stack ($(stack --version))"
|
||||
|
||||
@@ -12,6 +12,9 @@ export ACCEPT_EULA=Y
|
||||
# Install MySQL Client
|
||||
apt-get install mysql-client -y
|
||||
|
||||
# InstallMySQL database development files
|
||||
apt-get install libmysqlclient-dev -y
|
||||
|
||||
# Install MySQL Server
|
||||
MYSQL_ROOT_PASSWORD=root
|
||||
echo "mysql-server mysql-server/root_password password $MYSQL_ROOT_PASSWORD" | debconf-set-selections
|
||||
|
||||
16
images/linux/scripts/installers/postgresql.sh
Normal file
16
images/linux/scripts/installers/postgresql.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: postgresql.sh
|
||||
## Desc: Installs Postgresql
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
echo "Install libpq-dev"
|
||||
apt-get install libpq-dev
|
||||
|
||||
echo "Install Postgresql Client"
|
||||
apt-get install postgresql-client
|
||||
|
||||
DocumentInstalledItem "$(psql -V 2>&1 | cut -d ' ' -f 1,2,3)"
|
||||
@@ -77,9 +77,10 @@
|
||||
"systemctl disable apt-daily.timer",
|
||||
"systemctl disable apt-daily-upgrade.timer",
|
||||
"systemctl disable apt-daily-upgrade.service",
|
||||
"echo '* soft nofile 50000 \n* hard nofile 50000' >> /etc/security/limits.conf",
|
||||
"echo '* soft nofile 65536 \n* hard nofile 65536' >> /etc/security/limits.conf",
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session",
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive"
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive",
|
||||
"echo 'DefaultLimitNOFILE=65536' >> /etc/systemd/system.conf"
|
||||
],
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
@@ -153,6 +154,7 @@
|
||||
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
||||
"{{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",
|
||||
|
||||
@@ -80,9 +80,10 @@
|
||||
"systemctl disable apt-daily.timer",
|
||||
"systemctl disable apt-daily-upgrade.timer",
|
||||
"systemctl disable apt-daily-upgrade.service",
|
||||
"echo '* soft nofile 50000 \n* hard nofile 50000' >> /etc/security/limits.conf",
|
||||
"echo '* soft nofile 65536 \n* hard nofile 65536' >> /etc/security/limits.conf",
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session",
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive"
|
||||
"echo 'session required pam_limits.so' >> /etc/pam.d/common-session-noninteractive",
|
||||
"echo 'DefaultLimitNOFILE=65536' >> /etc/systemd/system.conf"
|
||||
],
|
||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
||||
},
|
||||
@@ -156,6 +157,7 @@
|
||||
"{{template_dir}}/scripts/installers/phantomjs.sh",
|
||||
"{{template_dir}}/scripts/installers/1804/php.sh",
|
||||
"{{template_dir}}/scripts/installers/pollinate.sh",
|
||||
"{{template_dir}}/scripts/installers/postgresql.sh",
|
||||
"{{template_dir}}/scripts/installers/1804/powershellcore.sh",
|
||||
"{{template_dir}}/scripts/installers/ruby.sh",
|
||||
"{{template_dir}}/scripts/installers/rust.sh",
|
||||
|
||||
@@ -354,6 +354,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-Chrome.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-Edge.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
@@ -661,6 +667,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Chrome.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Edge.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Windows Server 2016
|
||||
|
||||
The following software is installed on machines with the 20191009.1 update.
|
||||
The following software is installed on machines with the 20200120.1 update.
|
||||
|
||||
Components marked with **\*** have been upgraded since the previous version of the image.
|
||||
|
||||
@@ -13,33 +13,32 @@ _Environment:_
|
||||
|
||||
## Docker
|
||||
|
||||
_Version:_ 19.03.3<br/>
|
||||
_Version:_ 19.03.5<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of docker.exe
|
||||
|
||||
## Docker-compose
|
||||
|
||||
_Version:_ 1.24.0<br/>
|
||||
_Version:_ 1.25.1<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of docker-compose.exe
|
||||
|
||||
## Powershell Core
|
||||
|
||||
_Version:_ 6.2.3
|
||||
<br/>
|
||||
_Version:_ 6.2.3
|
||||
<br/>
|
||||
|
||||
## Docker images
|
||||
|
||||
* mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016 (Digest: sha256:f247ce2cdad4711b6a597bf3a84581278251e13176a2129158e3138fa7c6730d)
|
||||
* mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016 (Digest: sha256:ebb0693431d47cbd070f8b6473b5a3b79896e8a146d202f78b92cabf6ceb4b3d)
|
||||
* mcr.microsoft.com/windows/servercore:ltsc2016 (Digest: sha256:45469202b1d2630e502330c0c4e977fac9b4540611c9778dedfc140f683f8f68)
|
||||
The following container images have been cached:
|
||||
* mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2016 (Digest: sha256:a1bd1a6dc00f2734b5071b9295f715f36a653e4b2d259c1a4a4d9e8cd6f3ade8)
|
||||
* mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016 (Digest: sha256:7e81f462be36ba1362062306426c65547e6d63b2eab0b5583808581081393a79)
|
||||
* mcr.microsoft.com/windows/servercore:ltsc2016 (Digest: sha256:42be24b8810c861cc1b3fe75c5e99f75061cb45fdbae1de46d151c18cc8e6a9a)
|
||||
* microsoft/aspnetcore-build:1.0-2.0 (Digest: sha256:9ecc7c5a8a7a11dca5f08c860165646cb30d084606360a3a72b9cbe447241c0c)
|
||||
* mcr.microsoft.com/windows/nanoserver:10.0.14393.953 (Digest: sha256:fc60bd5ae0e61b334ce1cf1bcbf20c10c36b4c5482a01da319c9c989f9e6e268)
|
||||
|
||||
## Visual Studio 2017 Enterprise
|
||||
_Version:_ VisualStudio/15.9.16+28307.858<br/>
|
||||
|
||||
_Version:_ VisualStudio/15.9.19+28307.1000<br/>
|
||||
_Location:_ C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise
|
||||
|
||||
@@ -157,8 +156,8 @@ _Version:_ 10.0.17763.0<br/>
|
||||
_Version:_ 10.0.17763.0<br/>
|
||||
|
||||
## Azure Service Fabric
|
||||
_SDK Version:_ 3.3.617.9590<br/>
|
||||
_Runtime Version:_ 6.4.617.9590
|
||||
|
||||
_SDK Version:_ 4.0.457.9590<br/>
|
||||
_Runtime Version:_ 7.0.457.9590
|
||||
|
||||
## WinAppDriver
|
||||
@@ -326,33 +325,6 @@ _Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-21
|
||||
|
||||
_Location:_ C:\Program Files (x86)\Android\android-sdk\platforms\android-19
|
||||
|
||||
## Azure/AzureRM Powershell modules
|
||||
|
||||
#### 2.1.0
|
||||
|
||||
This version is installed and is available via Get-Module -ListAvailable
|
||||
|
||||
#### 3.8.0
|
||||
|
||||
This version is saved but not installed
|
||||
_Location:_ C:\Modules\azurerm_3.8.0\AzureRM\3.8.0\AzureRM.psd1
|
||||
|
||||
#### 4.2.1
|
||||
|
||||
This version is saved but not installed
|
||||
_Location:_ C:\Modules\azurerm_4.2.1\AzureRM\4.2.1\AzureRM.psd1
|
||||
|
||||
#### 5.1.1
|
||||
|
||||
This version is saved but not installed
|
||||
_Location:_ C:\Modules\azurerm_5.1.1\AzureRM\5.1.1\AzureRM.psd1
|
||||
|
||||
#### 6.7.0
|
||||
|
||||
This version is saved but not installed
|
||||
_Location:_ C:\Modules\azurerm_6.7.0\AzureRM\6.7.0\AzureRM.psd1
|
||||
|
||||
|
||||
|
||||
## TLS12
|
||||
|
||||
@@ -360,25 +332,29 @@ _Description:_ .NET has been configured to use TLS 1.2 by default
|
||||
_Description:_ .NET has been configured to use TLS 1.2 by default
|
||||
|
||||
## Azure CLI
|
||||
_Version:_ 2.0.74
|
||||
|
||||
_Version:_ 2.0.80
|
||||
_Environment:_
|
||||
* PATH: contains location of az.cmd
|
||||
|
||||
## Azure DevOps Cli extension
|
||||
_Version:_ azure-devops 0.13.0
|
||||
|
||||
_Version:_ azure-devops 0.17.0
|
||||
|
||||
## Python
|
||||
_Version:_ 2.7.16 (x64)<br/>_Version:_ 2.7.16 (x86)<br/>_Version:_ 3.4.4 (x64)<br/>_Version:_ 3.4.4 (x86)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.4 (x64)<br/>_Version:_ 3.7.4 (x86)<br/><br/>
|
||||
|
||||
_Version:_ 2.7.17 (x64)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.7.6 (x64)<br/>_Version:_ 3.8.1 (x64)<br/>
|
||||
|
||||
## Python
|
||||
|
||||
_Version:_ 2.7.17 (x64)<br/>_Version:_ 3.5.4 (x64)<br/>_Version:_ 3.6.8 (x64)<br/>_Version:_ 3.7.6 (x64)<br/>_Version:_ 3.8.1 (x64)<br/>_Version:_ 2.7.17 (x86)<br/>_Version:_ 3.5.4 (x86)<br/>_Version:_ 3.6.8 (x86)<br/>_Version:_ 3.7.6 (x86)<br/>_Version:_ 3.8.1 (x86)<br/>
|
||||
|
||||
## PyPy
|
||||
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.5.3 (x86)<br/><br/>
|
||||
|
||||
_Version:_ 2.7.13 (x86)<br/>_Version:_ 3.6.9 (x86)<br/>
|
||||
|
||||
## Ruby
|
||||
_Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/><br/>
|
||||
|
||||
_Version:_ 2.4.9 (x64)<br/>_Version:_ 2.5.7 (x64)<br/>_Version:_ 2.6.5 (x64)<br/>_Version:_ 2.7.0 (x64)<br/>
|
||||
|
||||
## Python (64 bit)
|
||||
@@ -386,19 +362,19 @@ _Version:_ 2.4.6 (x64)<br/>_Version:_ 2.5.5 (x64)<br/>_Version:_ 2.6.3 (x64)<br/
|
||||
#### Python 3.6.8
|
||||
_Environment:_
|
||||
* PATH: contains location of python.exe
|
||||
#### Python 2.7.16
|
||||
|
||||
#### Python 2.7.17
|
||||
|
||||
_Location:_ C:/hostedtoolcache/windows/Python/2.7*/x64
|
||||
|
||||
## Git
|
||||
_Version:_ 2.23.0<br/>
|
||||
|
||||
_Version:_ 2.25.0<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of git.exe
|
||||
|
||||
## Git Large File Storage (LFS)
|
||||
_Version:_ 2.8.0<br/>
|
||||
|
||||
_Version:_ 2.9.2<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of git-lfs.exe
|
||||
@@ -444,26 +420,30 @@ _Environment:_
|
||||
|
||||
|
||||
## PHP (x64)
|
||||
#### 7.3.10
|
||||
|
||||
#### 7.4.1
|
||||
|
||||
* PATH: contains the location of php.exe version 7.3.10
|
||||
* PHPROOT: root directory of the PHP 7.3.10 installation
|
||||
_Environment:_
|
||||
* PATH: contains the location of php.exe version 7.4.1
|
||||
* PHPROOT: root directory of the PHP 7.4.1 installation
|
||||
|
||||
## Ruby (x64)
|
||||
#### 2.5.5p157
|
||||
|
||||
#### 2.5.7p206
|
||||
* Location: C:\hostedtoolcache\windows\Ruby\2.5.5\x64\bin
|
||||
* PATH: contains the location of ruby.exe version 2.5.5p157
|
||||
_Environment:_
|
||||
* Location: C:\hostedtoolcache\windows\Ruby\2.5.7\x64\bin
|
||||
* PATH: contains the location of ruby.exe version 2.5.7p206
|
||||
|
||||
## Rust (64-bit)
|
||||
#### 1.38.0
|
||||
|
||||
#### 1.40.0
|
||||
_Location:_ C:\Rust\.cargo\bin
|
||||
_Environment:_
|
||||
* PATH: contains the location of rustc.exe
|
||||
|
||||
## sbt
|
||||
|
||||
|
||||
|
||||
## Subversion
|
||||
|
||||
@@ -473,12 +453,12 @@ _Environment:_
|
||||
|
||||
## Google Chrome
|
||||
|
||||
77.0.3865.90
|
||||
_version:_
|
||||
79.0.3945.130
|
||||
|
||||
## Mozilla Firefox
|
||||
|
||||
69.0.1
|
||||
_version:_
|
||||
72.0.1
|
||||
|
||||
## Selenium Web Drivers
|
||||
@@ -486,7 +466,7 @@ _version:_
|
||||
|
||||
#### Chrome Driver
|
||||
|
||||
77.0.3865.40
|
||||
_version:_
|
||||
79.0.3945.36
|
||||
|
||||
_Environment:_
|
||||
@@ -510,18 +490,18 @@ _Environment:_
|
||||
|
||||
|
||||
## Node.js
|
||||
_Version:_ 10.16.3<br/>
|
||||
|
||||
_Version:_ 12.14.1<br/>
|
||||
_Architecture:_ x64<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of node.exe<br/>
|
||||
* Gulp CLI version: 2.2.0 Local version: Unknown<br/>
|
||||
* Bower 1.8.8<br/>
|
||||
* Yarn 1.19.1<br/>
|
||||
* Grunt grunt-cli v1.3.2<br/>
|
||||
* Yarn 1.21.1<br/>
|
||||
|
||||
|
||||
## npm
|
||||
_Version:_ 6.9.0<br/>
|
||||
|
||||
_Version:_ 6.13.4<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of npm.cmd
|
||||
@@ -537,9 +517,9 @@ _Environment:_
|
||||
#### 1.7.0_232
|
||||
|
||||
_Location:_ C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
|
||||
#### 11.0.4
|
||||
|
||||
#### 1.7.0_232
|
||||
_Location:_ C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64
|
||||
|
||||
_Location:_
|
||||
|
||||
## Ant
|
||||
@@ -558,13 +538,13 @@ _Environment:_
|
||||
* M2_HOME: Maven installation root
|
||||
|
||||
## Gradle
|
||||
_Version:_ 5.6.2<br/>
|
||||
|
||||
_Version:_ 6.0.1<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of gradle
|
||||
|
||||
## Cmake
|
||||
_Version:_ 3.15.4<br/>
|
||||
|
||||
_Version:_ 3.16.2<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of cmake.exe
|
||||
@@ -580,15 +560,22 @@ _Environment:_
|
||||
_Environment:_
|
||||
* PATH: contains location of dotnet.exe
|
||||
|
||||
_SDK:_
|
||||
* 3.1.101 C:\Program Files\dotnet\sdk\3.1.101
|
||||
* 3.1.100 C:\Program Files\dotnet\sdk\3.1.100
|
||||
* 3.0.102 C:\Program Files\dotnet\sdk\3.0.102
|
||||
* 3.0.101 C:\Program Files\dotnet\sdk\3.0.101
|
||||
* 3.0.100 C:\Program Files\dotnet\sdk\3.0.100
|
||||
* 2.2.402 C:\Program Files\dotnet\sdk\2.2.402
|
||||
* 2.2.401 C:\Program Files\dotnet\sdk\2.2.401
|
||||
* 2.2.301 C:\Program Files\dotnet\sdk\2.2.301
|
||||
* 2.2.300 C:\Program Files\dotnet\sdk\2.2.300
|
||||
* 2.2.207 C:\Program Files\dotnet\sdk\2.2.207
|
||||
* 2.2.206 C:\Program Files\dotnet\sdk\2.2.206
|
||||
* 2.2.205 C:\Program Files\dotnet\sdk\2.2.205
|
||||
* 2.2.204 C:\Program Files\dotnet\sdk\2.2.204
|
||||
* 2.2.203 C:\Program Files\dotnet\sdk\2.2.203
|
||||
* 2.2.202 C:\Program Files\dotnet\sdk\2.2.202
|
||||
* 2.2.110 C:\Program Files\dotnet\sdk\2.2.110
|
||||
* 2.2.109 C:\Program Files\dotnet\sdk\2.2.109
|
||||
* 2.2.108 C:\Program Files\dotnet\sdk\2.2.108
|
||||
@@ -599,15 +586,20 @@ _SDK:_
|
||||
* 2.2.103 C:\Program Files\dotnet\sdk\2.2.103
|
||||
* 2.2.102 C:\Program Files\dotnet\sdk\2.2.102
|
||||
* 2.2.101 C:\Program Files\dotnet\sdk\2.2.101
|
||||
* 2.2.100 C:\Program Files\dotnet\sdk\2.2.100
|
||||
* 2.1.803 C:\Program Files\dotnet\sdk\2.1.803
|
||||
* 2.1.802 C:\Program Files\dotnet\sdk\2.1.802
|
||||
* 2.1.801 C:\Program Files\dotnet\sdk\2.1.801
|
||||
* 2.1.701 C:\Program Files\dotnet\sdk\2.1.701
|
||||
* 2.1.700 C:\Program Files\dotnet\sdk\2.1.700
|
||||
* 2.1.608 C:\Program Files\dotnet\sdk\2.1.608
|
||||
* 2.1.607 C:\Program Files\dotnet\sdk\2.1.607
|
||||
* 2.1.606 C:\Program Files\dotnet\sdk\2.1.606
|
||||
* 2.1.605 C:\Program Files\dotnet\sdk\2.1.605
|
||||
* 2.1.604 C:\Program Files\dotnet\sdk\2.1.604
|
||||
* 2.1.603 C:\Program Files\dotnet\sdk\2.1.603
|
||||
* 2.1.602 C:\Program Files\dotnet\sdk\2.1.602
|
||||
* 2.1.511 C:\Program Files\dotnet\sdk\2.1.511
|
||||
* 2.1.510 C:\Program Files\dotnet\sdk\2.1.510
|
||||
* 2.1.509 C:\Program Files\dotnet\sdk\2.1.509
|
||||
* 2.1.508 C:\Program Files\dotnet\sdk\2.1.508
|
||||
@@ -627,6 +619,12 @@ _SDK:_
|
||||
* 2.1.202 C:\Program Files\dotnet\sdk\2.1.202
|
||||
* 1.1.14 C:\Program Files\dotnet\sdk\1.1.14
|
||||
|
||||
_Runtime:_
|
||||
* 3.1.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.1
|
||||
* 3.1.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.1.0
|
||||
* 3.0.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.2
|
||||
* 3.0.1 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.1
|
||||
* 3.0.0 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0
|
||||
* 2.2.8 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.8
|
||||
* 2.2.7 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.7
|
||||
* 2.2.6 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.6
|
||||
@@ -643,6 +641,8 @@ _Runtime:_
|
||||
* 2.1.5 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.5
|
||||
* 2.1.4 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.4
|
||||
* 2.1.3 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.3
|
||||
* 2.1.2 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.2
|
||||
* 2.1.15 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.15
|
||||
* 2.1.14 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.14
|
||||
* 2.1.13 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.13
|
||||
* 2.1.12 C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.1.12
|
||||
@@ -665,7 +665,7 @@ _Version:_ 1.0
|
||||
_Version:_ 1.0
|
||||
|
||||
## SQLServer PS
|
||||
_Version:_ 21.1.18179
|
||||
|
||||
_Version:_ 21.1.18218
|
||||
|
||||
## MinGW
|
||||
@@ -675,7 +675,7 @@ _Environment:_
|
||||
* PATH: contains location of the MinGW 'bin' directory
|
||||
|
||||
## TypeScript
|
||||
_Version:_ Version 3.6.3<br/>
|
||||
|
||||
_Version:_ Version 3.7.5<br/>
|
||||
|
||||
## Miniconda
|
||||
@@ -685,7 +685,7 @@ _Environment:_
|
||||
* CONDA: contains location of the root of the Miniconda installation
|
||||
|
||||
## Azure CosmosDb Emulator
|
||||
_Version:_ 2.5.7.0<br/>
|
||||
|
||||
_Version:_ 2.7.2.0<br/>
|
||||
_Location:_ C:\Program Files\Azure Cosmos DB Emulator\
|
||||
|
||||
@@ -702,7 +702,7 @@ _Version:_ jq-1.6<br/>
|
||||
_Version:_ jq-1.6<br/>
|
||||
|
||||
## Inno Setup
|
||||
_Version:_ 6.0.2<br/>
|
||||
|
||||
_Version:_ 6.0.3<br/>
|
||||
|
||||
## Perl
|
||||
@@ -710,19 +710,31 @@ _Version:_ v5.26.2<br/>
|
||||
_Version:_ v5.26.2<br/>
|
||||
|
||||
## GitVersion
|
||||
_Version:_ 5.0.1.0<br/>
|
||||
|
||||
_Version:_ 5.1.3.0<br/>
|
||||
|
||||
## OpenSSL
|
||||
_Version:_ 1.1.1c at C:\Program Files\Git\usr\bin\openssl.exe<br/>_Version:_ 1.1.1c at C:\Program Files\Git\mingw64\bin\openssl.exe<br/>_Version:_ 1.0.2j at C:\Program Files (x86)\Subversion\bin\openssl.exe<br/>_Version:_ 1.1.1b at C:\Strawberry\c\bin\openssl.exe<br/>_Version:_ 1.1.1 at C:\Program Files\OpenSSL\bin\openssl.exe<br/>
|
||||
|
||||
_Version:_ 1.1.1d at C:\Program Files\Git\mingw64\bin\openssl.exe<br/>_Version:_ 1.1.1d at C:\Program Files\Git\usr\bin\openssl.exe<br/>_Version:_ 1.0.2j at C:\Program Files (x86)\Subversion\bin\openssl.exe<br/>_Version:_ 1.1.1c at C:\Strawberry\c\bin\openssl.exe<br/>_Version:_ 1.1.1 at C:\Program Files\OpenSSL\bin\openssl.exe<br/>
|
||||
|
||||
## Cloud Foundry CLI
|
||||
_Version:_ 6.46.1<br/>
|
||||
|
||||
_Version:_ 6.49.0<br/>
|
||||
|
||||
## Vcpkg
|
||||
_Version:_ 2019.09.12-nohash<br/>
|
||||
|
||||
_Version:_ 2020.01.17-nohash<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of the vcpkg directory
|
||||
* VCPKG_INSTALLATION_ROOT: root directory of the vcpkg installation
|
||||
|
||||
## Kubectl
|
||||
|
||||
_Version:_ Client Version: v1.17.1<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of kubectl.exe
|
||||
|
||||
## Kind
|
||||
|
||||
_Version:_ v0.5.1<br/>
|
||||
_Environment:_
|
||||
|
||||
@@ -323,6 +323,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-Chrome.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-Edge.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
@@ -349,6 +355,12 @@
|
||||
"elevated_user": "{{user `install_user`}}",
|
||||
"elevated_password": "{{user `install_password`}}"
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Install-VSWhere.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
@@ -630,6 +642,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Chrome.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Edge.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
@@ -774,6 +792,12 @@
|
||||
"{{ template_dir }}/scripts/Installers/Validate-Vcpkg.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Validate-VSWhere.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
|
||||
6
images/win/scripts/Installers/Install-Edge.ps1
Normal file
6
images/win/scripts/Installers/Install-Edge.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
################################################################################
|
||||
## File: Install-Edge.ps1
|
||||
## Desc: Install latest stable version of Microsoft Edge browser
|
||||
################################################################################
|
||||
|
||||
choco install microsoft-edge -y
|
||||
@@ -17,11 +17,13 @@ catch {
|
||||
Expand-Archive -Path $DriversZipFile -DestinationPath $DestinationPath -Force;
|
||||
Remove-Item $DriversZipFile;
|
||||
|
||||
$ChromeDriverPath = "$DestinationPath\SeleniumWebDrivers\ChromeDriver";
|
||||
$ChromeDriverPath = "${DestinationPath}SeleniumWebDrivers\ChromeDriver";
|
||||
Write-Host "Chrome driver path: [$ChromeDriverPath]";
|
||||
Remove-Item -Path "$ChromeDriverPath\*" -Force;
|
||||
|
||||
$ChromePath = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(default)';
|
||||
# Reinstall Chrome Web Driver
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths"
|
||||
$ChromePath = (Get-ItemProperty "$RegistryPath\chrome.exe").'(default)';
|
||||
[version]$ChromeVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($ChromePath).ProductVersion;
|
||||
Write-Host "Chrome version: [$ChromeVersion]";
|
||||
|
||||
@@ -44,16 +46,39 @@ Write-Host "Chrome driver install....";
|
||||
Expand-Archive -Path "$ChromeDriverPath\chromedriver_win32.zip" -DestinationPath $ChromeDriverPath -Force;
|
||||
Remove-Item -Path "$ChromeDriverPath\chromedriver_win32.zip" -Force;
|
||||
|
||||
Write-Host "Setting the environment variables";
|
||||
# Install Microsoft Edge Web Driver
|
||||
Write-Host "Microsoft Edge driver download...."
|
||||
$EdgeDriverPath = "${DestinationPath}SeleniumWebDrivers\EdgeDriver"
|
||||
if (-not (Test-Path -Path $EdgeDriverPath)) {
|
||||
New-Item -Path $EdgeDriverPath -ItemType "directory"
|
||||
}
|
||||
|
||||
$EdgePath = (Get-ItemProperty "$RegistryPath\msedge.exe").'(default)'
|
||||
[version]$EdgeVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($EdgePath).ProductVersion
|
||||
$EdgeDriverVersionUrl = "https://msedgedriver.azureedge.net/LATEST_RELEASE_$($EdgeVersion.Major)"
|
||||
$EdgeDriverVersionFile = "$EdgeDriverPath\versioninfo.txt"
|
||||
Invoke-WebRequest -Uri $EdgeDriverVersionUrl -OutFile $EdgeDriverVersionFile
|
||||
|
||||
$EdgeDriverLatestVersion = Get-Content -Path $EdgeDriverVersionFile
|
||||
$EdgeDriverDownloadUrl="https://msedgedriver.azureedge.net/${EdgeDriverLatestVersion}/edgedriver_win64.zip"
|
||||
$DestFile = "$EdgeDriverPath\edgedriver_win64.zip"
|
||||
Invoke-WebRequest -Uri $EdgeDriverDownloadUrl -OutFile $DestFile
|
||||
|
||||
Write-Host "Microsoft Edge driver install...."
|
||||
Expand-Archive -Path $DestFile -DestinationPath $EdgeDriverPath -Force
|
||||
Remove-Item -Path $DestFile -Force
|
||||
|
||||
Write-Host "Setting the environment variables"
|
||||
|
||||
setx IEWebDriver "C:\SeleniumWebDrivers\IEDriver" /M;
|
||||
setx GeckoWebDriver "C:\SeleniumWebDrivers\GeckoDriver" /M;
|
||||
setx ChromeWebDriver "C:\SeleniumWebDrivers\ChromeDriver" /M;
|
||||
setx ChromeWebDriver "$ChromeDriverPath" /M;
|
||||
setx EdgeWebDriver "$EdgeDriverPath" /M;
|
||||
|
||||
$regEnvKey = 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\';
|
||||
$PathValue = Get-ItemPropertyValue -Path $regEnvKey -Name 'Path';
|
||||
$PathValue += ";C:\SeleniumWebDrivers\ChromeDriver\";
|
||||
$PathValue += ";$ChromeDriverPath\";
|
||||
$PathValue += ";$EdgeDriverPath\";
|
||||
Set-ItemProperty -Path $regEnvKey -Name 'Path' -Value $PathValue;
|
||||
|
||||
exit 0;
|
||||
|
||||
|
||||
6
images/win/scripts/Installers/Install-VSWhere.ps1
Normal file
6
images/win/scripts/Installers/Install-VSWhere.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
################################################################################
|
||||
## File: Install-VSWhere.ps1
|
||||
## Desc: Install latest stable version of VSWhere
|
||||
################################################################################
|
||||
|
||||
choco install vswhere -y
|
||||
25
images/win/scripts/Installers/Validate-Edge.ps1
Normal file
25
images/win/scripts/Installers/Validate-Edge.ps1
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
## File: Validate-Edge.ps1
|
||||
## Desc: Validate Microsoft Edge installation.
|
||||
################################################################################
|
||||
|
||||
$RegistryKey = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\msedge.exe"
|
||||
if (Test-Path $RegistryKey)
|
||||
{
|
||||
$SoftwareName = "Microsoft Edge"
|
||||
$VersionInfo = (Get-Item (Get-ItemProperty $RegistryKey).'(Default)').VersionInfo
|
||||
$VersionInfo
|
||||
$Description = @"
|
||||
_version:_
|
||||
$($VersionInfo.FileVersion)
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
exit 0
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "Microsoft Edge is not installed."
|
||||
exit 1
|
||||
}
|
||||
@@ -6,24 +6,36 @@
|
||||
$IEDriverPath = $env:IEWebDriver
|
||||
$GeckoDriverPath = $env:GeckoWebDriver
|
||||
$ChromeDriverPath = $env:ChromeWebDriver
|
||||
$EdgeDriverPath = $env:EdgeWebDriver
|
||||
|
||||
if(($IEDriverPath -like "C:\SeleniumWebDrivers\IEDriver") -and ($GeckoDriverPath -like "C:\SeleniumWebDrivers\GeckoDriver") -and ($ChromeDriverPath -like "C:\SeleniumWebDrivers\ChromeDriver"))
|
||||
if (
|
||||
($IEDriverPath -like "C:\SeleniumWebDrivers\IEDriver") -and
|
||||
($GeckoDriverPath -like "C:\SeleniumWebDrivers\GeckoDriver") -and
|
||||
($ChromeDriverPath -like "C:\SeleniumWebDrivers\ChromeDriver") -and
|
||||
($EdgeDriverPath -like "C:\SeleniumWebDrivers\EdgeDriver")
|
||||
)
|
||||
{
|
||||
|
||||
Write-Host "IEDriver installed at "
|
||||
(Get-Item "C:\SeleniumWebDrivers\IEDriver\IEDriverServer.exe").VersionInfo
|
||||
(Get-Item "$IEDriverPath\IEDriverServer.exe").VersionInfo
|
||||
|
||||
|
||||
Write-Host "Gecko Driver installed at "
|
||||
(Get-Item "C:\SeleniumWebDrivers\GeckoDriver\geckodriver.exe").VersionInfo
|
||||
(Get-Item "$GeckoDriverPath\geckodriver.exe").VersionInfo
|
||||
|
||||
|
||||
Write-Host "Chrome Driver installed at "
|
||||
(Get-Item "C:\SeleniumWebDrivers\ChromeDriver\chromedriver.exe").VersionInfo
|
||||
(Get-Item "$ChromeDriverPath\chromedriver.exe").VersionInfo
|
||||
|
||||
$chromedriverversion = Get-Content -Path "C:\SeleniumWebDrivers\ChromeDriver\versioninfo.txt"
|
||||
$geckodriverversion = Get-Content -Path "C:\SeleniumWebDrivers\GeckoDriver\versioninfo.txt"
|
||||
$iedriverversion = Get-Content -Path "C:\SeleniumWebDrivers\IEDriver\versioninfo.txt"
|
||||
|
||||
Write-Host "Edge Driver installed at "
|
||||
(Get-Item "$EdgeDriverPath\msedgedriver.exe").VersionInfo
|
||||
|
||||
$versionFileName = "versioninfo.txt";
|
||||
$chromedriverversion = Get-Content -Path "$IEDriverPath\$versionFileName"
|
||||
$geckodriverversion = Get-Content -Path "$GeckoDriverPath\$versionFileName"
|
||||
$iedriverversion = Get-Content -Path "$ChromeDriverPath\$versionFileName"
|
||||
$edgedriverversion = Get-Content -Path "$EdgeDriverPath\$versionFileName"
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Selenium Web Drivers"
|
||||
@@ -54,6 +66,14 @@ $iedriverversion
|
||||
_Environment:_
|
||||
* IEWebDriver: location of IEDriverServer.exe
|
||||
|
||||
#### Microsoft Edge Driver
|
||||
|
||||
_version:_
|
||||
$edgedriverversion
|
||||
|
||||
_Environment:_
|
||||
* EdgeWebDriver: location of msedgedriver.exe
|
||||
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
25
images/win/scripts/Installers/Validate-VSWhere.ps1
Normal file
25
images/win/scripts/Installers/Validate-VSWhere.ps1
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
## File: Validate-VSWhere.ps1
|
||||
## Desc: Validate vswhere
|
||||
################################################################################
|
||||
|
||||
if(Get-Command -Name 'vswhere')
|
||||
{
|
||||
Write-Host "vswhere $(vswhere) on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "vswhere is not on path"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "VSWhere"
|
||||
$VswhereVersion = $(vswhere)
|
||||
|
||||
$Description = @"
|
||||
_Version_: $VswhereVersion<br/>
|
||||
* PATH: contains location of vswhere.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
@@ -92,6 +92,7 @@ else {
|
||||
}
|
||||
|
||||
# Run the installer
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
|
||||
# Turn off confirmation
|
||||
|
||||
@@ -92,6 +92,7 @@ else {
|
||||
}
|
||||
|
||||
# Run the installer
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||
Invoke-Expression ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
|
||||
# Turn off confirmation
|
||||
|
||||
@@ -113,6 +113,7 @@ $WorkLoads = '--allWorkloads --includeRecommended ' + `
|
||||
'--add Microsoft.VisualStudio.Component.Windows10SDK.17134 ' + `
|
||||
'--add Microsoft.VisualStudio.Component.Windows10SDK.17763 ' + `
|
||||
'--add Microsoft.VisualStudio.Component.Windows10SDK.18362 ' + `
|
||||
'--add Microsoft.VisualStudio.Component.WinXP ' + `
|
||||
'--add Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices ' + `
|
||||
'--add Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools ' + `
|
||||
'--add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang ' + `
|
||||
|
||||
Reference in New Issue
Block a user