mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-11 12:07:09 +00:00
Another mop up commit to add missing changes from the last mop-up.
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: containercache.sh
|
||||
## Desc: Prepulls Docker images used in build tasks and templates
|
||||
################################################################################
|
||||
|
||||
source $HELPER_SCRIPTS/apt.sh
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
@@ -27,13 +27,13 @@ for setup in $setups; do
|
||||
cd $original_directory;
|
||||
done;
|
||||
|
||||
DocumentInstalledItem "Python (available through the [setup-python](https://github.com/actions/setup-python/blob/master/README.md) task)"
|
||||
DocumentInstalledItem "Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)"
|
||||
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
||||
for python in $pythons; do
|
||||
DocumentInstalledItemIndent "Python $python"
|
||||
done;
|
||||
|
||||
DocumentInstalledItem "Ruby (available through the [setup-ruby](https://github.com/actions/setup-ruby/blob/master/README.md) task)"
|
||||
DocumentInstalledItem "Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)"
|
||||
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
||||
for ruby in $rubys; do
|
||||
DocumentInstalledItemIndent "Ruby $ruby"
|
||||
|
||||
@@ -17,6 +17,7 @@ apt-add-repository ppa:ondrej/php -y
|
||||
apt-get update
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php5.6 \
|
||||
php5.6-amqp \
|
||||
php5.6-bcmath \
|
||||
php5.6-bz2 \
|
||||
php5.6-cgi \
|
||||
@@ -58,6 +59,7 @@ apt-get remove --purge -yq php5.6-dev
|
||||
# Install php7.0
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.0 \
|
||||
php7.0-amqp \
|
||||
php7.0-bcmath \
|
||||
php7.0-bz2 \
|
||||
php7.0-cgi \
|
||||
@@ -99,6 +101,7 @@ apt-get remove --purge -yq php7.0-dev
|
||||
# Install php7.1
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.1 \
|
||||
php7.1-amqp \
|
||||
php7.1-bcmath \
|
||||
php7.1-bz2 \
|
||||
php7.1-cgi \
|
||||
@@ -140,6 +143,8 @@ apt-get remove --purge -yq php7.1-dev
|
||||
# Install php7.2
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.2 \
|
||||
php7.2-apcu \
|
||||
php7.2-amqp \
|
||||
php7.2-bcmath \
|
||||
php7.2-bz2 \
|
||||
php7.2-cgi \
|
||||
@@ -179,6 +184,8 @@ apt-fast install -y --no-install-recommends \
|
||||
# Install php7.3
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.3 \
|
||||
php7.3-apcu \
|
||||
php7.3-amqp \
|
||||
php7.3-bcmath \
|
||||
php7.3-bz2 \
|
||||
php7.3-cgi \
|
||||
@@ -215,47 +222,7 @@ apt-fast install -y --no-install-recommends \
|
||||
php7.3-xsl \
|
||||
php7.3-zip
|
||||
|
||||
# Install php7.4
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.4 \
|
||||
php7.4-bcmath \
|
||||
php7.4-bz2 \
|
||||
php7.4-cgi \
|
||||
php7.4-cli \
|
||||
php7.4-common \
|
||||
php7.4-curl \
|
||||
php7.4-dba \
|
||||
php7.4-dev \
|
||||
php7.4-enchant \
|
||||
php7.4-fpm \
|
||||
php7.4-gd \
|
||||
php7.4-gmp \
|
||||
php7.4-imap \
|
||||
php7.4-interbase \
|
||||
php7.4-intl \
|
||||
php7.4-json \
|
||||
php7.4-ldap \
|
||||
php7.4-mbstring \
|
||||
php7.4-mysql \
|
||||
php7.4-odbc \
|
||||
php7.4-opcache \
|
||||
php7.4-pgsql \
|
||||
php7.4-phpdbg \
|
||||
php7.4-pspell \
|
||||
php7.4-readline \
|
||||
php7.4-snmp \
|
||||
php7.4-soap \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-sybase \
|
||||
php7.4-tidy \
|
||||
php7.4-xml \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xsl \
|
||||
php7.4-zip
|
||||
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php-amqp \
|
||||
php-apcu \
|
||||
php-igbinary \
|
||||
php-memcache \
|
||||
php-memcached \
|
||||
@@ -283,7 +250,7 @@ mv phpunit /usr/local/bin/phpunit
|
||||
|
||||
# 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 php php5.6 php7.0 php7.1 php7.2 php7.3 php7.4 composer phpunit; do
|
||||
for cmd in php php5.6 php7.0 php7.1 php7.2 php7.3 composer phpunit; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -297,6 +264,5 @@ DocumentInstalledItem "PHP 7.0 ($(php7.0 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.1 ($(php7.1 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.2 ($(php7.2 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.3 ($(php7.3 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.4 ($(php7.4 --version | head -n 1))"
|
||||
DocumentInstalledItem "Composer ($(composer --version))"
|
||||
DocumentInstalledItem "PHPUnit ($(phpunit --version))"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: dotnetcore-sdk.sh
|
||||
## Team: CI-Platform
|
||||
## Desc: Installs .NET Core SDK
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -27,13 +27,13 @@ for setup in $setups; do
|
||||
cd $original_directory;
|
||||
done;
|
||||
|
||||
DocumentInstalledItem "Python (available through the [setup-python](https://github.com/actions/setup-python/blob/master/README.md) task)"
|
||||
DocumentInstalledItem "Python (available through the [Use Python Version](https://go.microsoft.com/fwlink/?linkid=871498) task)"
|
||||
pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
|
||||
for python in $pythons; do
|
||||
DocumentInstalledItemIndent "Python $python"
|
||||
done;
|
||||
|
||||
DocumentInstalledItem "Ruby (available through the [setup-ruby](https://github.com/actions/setup-ruby/blob/master/README.md) task)"
|
||||
DocumentInstalledItem "Ruby (available through the [Use Ruby Version](https://go.microsoft.com/fwlink/?linkid=2005989) task)"
|
||||
rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
|
||||
for ruby in $rubys; do
|
||||
DocumentInstalledItemIndent "Ruby $ruby"
|
||||
|
||||
@@ -16,6 +16,7 @@ apt-add-repository ppa:ondrej/php -y
|
||||
# Install php7.1
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.1 \
|
||||
php7.1-amqp \
|
||||
php7.1-bcmath \
|
||||
php7.1-bz2 \
|
||||
php7.1-cgi \
|
||||
@@ -57,6 +58,8 @@ apt-get remove --purge -yq php7.1-dev
|
||||
# Install php7.2
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.2 \
|
||||
php7.2-apcu \
|
||||
php7.2-amqp \
|
||||
php7.2-bcmath \
|
||||
php7.2-bz2 \
|
||||
php7.2-cgi \
|
||||
@@ -96,6 +99,8 @@ apt-fast install -y --no-install-recommends \
|
||||
# Install php7.3
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.3 \
|
||||
php7.3-apcu \
|
||||
php7.3-amqp \
|
||||
php7.3-bcmath \
|
||||
php7.3-bz2 \
|
||||
php7.3-cgi \
|
||||
@@ -132,47 +137,7 @@ apt-fast install -y --no-install-recommends \
|
||||
php7.3-xsl \
|
||||
php7.3-zip
|
||||
|
||||
# Install php7.4
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php7.4 \
|
||||
php7.4-bcmath \
|
||||
php7.4-bz2 \
|
||||
php7.4-cgi \
|
||||
php7.4-cli \
|
||||
php7.4-common \
|
||||
php7.4-curl \
|
||||
php7.4-dba \
|
||||
php7.4-dev \
|
||||
php7.4-enchant \
|
||||
php7.4-fpm \
|
||||
php7.4-gd \
|
||||
php7.4-gmp \
|
||||
php7.4-imap \
|
||||
php7.4-interbase \
|
||||
php7.4-intl \
|
||||
php7.4-json \
|
||||
php7.4-ldap \
|
||||
php7.4-mbstring \
|
||||
php7.4-mysql \
|
||||
php7.4-odbc \
|
||||
php7.4-opcache \
|
||||
php7.4-pgsql \
|
||||
php7.4-phpdbg \
|
||||
php7.4-pspell \
|
||||
php7.4-readline \
|
||||
php7.4-snmp \
|
||||
php7.4-soap \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-sybase \
|
||||
php7.4-tidy \
|
||||
php7.4-xml \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xsl \
|
||||
php7.4-zip
|
||||
|
||||
apt-fast install -y --no-install-recommends \
|
||||
php-amqp \
|
||||
php-apcu \
|
||||
php-igbinary \
|
||||
php-memcache \
|
||||
php-memcached \
|
||||
@@ -200,7 +165,7 @@ mv phpunit /usr/local/bin/phpunit
|
||||
|
||||
# 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 php php7.1 php7.2 php7.3 php7.4 composer phpunit; do
|
||||
for cmd in php php7.1 php7.2 php7.3 composer phpunit; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -212,6 +177,5 @@ echo "Lastly, documenting what we added to the metadata file"
|
||||
DocumentInstalledItem "PHP 7.1 ($(php7.1 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.2 ($(php7.2 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.3 ($(php7.3 --version | head -n 1))"
|
||||
DocumentInstalledItem "PHP 7.4 ($(php7.4 --version | head -n 1))"
|
||||
DocumentInstalledItem "Composer ($(composer --version))"
|
||||
DocumentInstalledItem "PHPUnit ($(phpunit --version))"
|
||||
|
||||
29
images/linux/scripts/installers/dotnetcore.sh
Normal file
29
images/linux/scripts/installers/dotnetcore.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: dotnetcore.sh
|
||||
## Desc: Installs .NET Core onto the image for running the provisioner
|
||||
################################################################################
|
||||
|
||||
source $HELPER_SCRIPTS/apt.sh
|
||||
source $HELPER_SCRIPTS/document.sh
|
||||
|
||||
DOTNET_PACKAGE=dotnet-dev-1.0.4
|
||||
|
||||
echo "Determing if .NET Core ($DOTNET_PACKAGE) is installed"
|
||||
if ! IsInstalled $DOTNET_PACKAGE; then
|
||||
echo "Could not find .NET Core ($DOTNET_PACKAGE), installing..."
|
||||
echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
|
||||
apt-get update
|
||||
apt-get install $DOTNET_PACKAGE -y
|
||||
else
|
||||
echo ".NET Core ($DOTNET_PACKAGE) is already installed"
|
||||
fi
|
||||
|
||||
echo "Testing .NET Core ($DOTNET_PACKAGE)"
|
||||
echo "Pulling down initial dependencies"
|
||||
dotnet help
|
||||
|
||||
echo "Documenting .NET Core ($DOTNET_PACKAGE)"
|
||||
DOTNET_VERSION=`dotnet --version`
|
||||
DocumentInstalledItem ".NET Core $DOTNET_VERSION"
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: java-tools.sh
|
||||
## Team: CI-Platform
|
||||
## Desc: Installs Java and related tooling (Ant, Gradle, Maven)
|
||||
################################################################################
|
||||
|
||||
@@ -34,11 +33,11 @@ apt-fast install -y --no-install-recommends ant ant-optional
|
||||
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
|
||||
|
||||
# Install Maven
|
||||
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip
|
||||
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip -o maven.zip
|
||||
unzip -d /usr/share maven.zip
|
||||
rm maven.zip
|
||||
ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
|
||||
echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment
|
||||
ln -s /usr/share/apache-maven-3.6.2/bin/mvn /usr/bin/mvn
|
||||
echo "M2_HOME=/usr/share/apache-maven-3.6.2" | tee -a /etc/environment
|
||||
|
||||
# Install Gradle
|
||||
# This script downloads the latest HTML list of releases at https://gradle.org/releases/.
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: nodejs.sh
|
||||
## Team: CI-Platform
|
||||
## Desc: Installs Node.js LTS and related tooling (Gulp, Bower, Grunt)
|
||||
## Desc: Installs Node.js LTS and related tooling (Gulp, Grunt)
|
||||
################################################################################
|
||||
|
||||
# Source the helpers for use with the script
|
||||
@@ -11,7 +10,7 @@ source $HELPER_SCRIPTS/document.sh
|
||||
# Install LTS Node.js and related build tools
|
||||
curl -sL https://git.io/n-install | bash -s -- -ny -
|
||||
~/n/bin/n lts
|
||||
npm install -g bower grunt gulp n parcel-bundler typescript
|
||||
npm install -g grunt gulp n parcel-bundler typescript
|
||||
npm install -g --save-dev webpack webpack-cli
|
||||
npm install -g npm
|
||||
rm -rf ~/n
|
||||
@@ -26,7 +25,7 @@ apt-get install -y --no-install-recommends yarn
|
||||
|
||||
# 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 node bower grunt gulp webpack parcel yarn; do
|
||||
for cmd in node grunt gulp webpack parcel yarn; do
|
||||
if ! command -v $cmd; then
|
||||
echo "$cmd was not installed"
|
||||
exit 1
|
||||
@@ -36,7 +35,6 @@ done
|
||||
# Document what was added to the image
|
||||
echo "Lastly, documenting what we added to the metadata file"
|
||||
DocumentInstalledItem "Node.js ($(node --version))"
|
||||
DocumentInstalledItem "Bower ($(bower --version))"
|
||||
DocumentInstalledItem "Grunt ($(grunt --version))"
|
||||
DocumentInstalledItem "Gulp ($(gulp --version))"
|
||||
DocumentInstalledItem "n ($(n --version))"
|
||||
|
||||
@@ -30,23 +30,23 @@ $AGENT_TOOLSDIRECTORY/PyPy/2.7.13/x64/bin/pypy -m ensurepip
|
||||
$AGENT_TOOLSDIRECTORY/PyPy/2.7.13/x64/bin/pypy -m pip install --ignore-installed pip
|
||||
|
||||
# Install PyPy 3.5 to $AGENT_TOOLSDIRECTORY
|
||||
wget -q -P /tmp https://bitbucket.org/pypy/pypy/downloads/pypy3.5-v7.0.0-linux64.tar.bz2
|
||||
tar -x -C /tmp -f /tmp/pypy3.5-v7.0.0-linux64.tar.bz2
|
||||
rm /tmp/pypy3.5-v7.0.0-linux64.tar.bz2
|
||||
mkdir -p $AGENT_TOOLSDIRECTORY/PyPy/3.5.3
|
||||
mv /tmp/pypy3.5-v7.0.0-linux64 $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64
|
||||
touch $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64.complete
|
||||
wget -q -P /tmp https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.2.0-linux64.tar.bz2
|
||||
tar -x -C /tmp -f /tmp/pypy3.6-v7.2.0-linux64.tar.bz2
|
||||
rm /tmp/pypy3.6-v7.2.0-linux64.tar.bz2
|
||||
mkdir -p $AGENT_TOOLSDIRECTORY/PyPy/3.6.9
|
||||
mv /tmp/pypy3.6-v7.2.0-linux64 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64
|
||||
touch $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64.complete
|
||||
|
||||
# add pypy3 to PATH by default
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/pypy3 /usr/local/bin/pypy3
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/pypy3 /usr/local/bin/pypy3
|
||||
# pypy3 will be the python in PATH when its tools cache directory is prepended to PATH
|
||||
# PEP 394-style symlinking; don't bother with minor version
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/pypy3 $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/python3
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/python3 $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/python
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/pypy3 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/python3
|
||||
ln -s $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/python3 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/python
|
||||
|
||||
# Install latest Pip for PyPy3
|
||||
$AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/pypy3 -m ensurepip
|
||||
$AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/pypy3 -m pip install --ignore-installed pip
|
||||
$AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/pypy3 -m ensurepip
|
||||
$AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/pypy3 -m pip install --ignore-installed pip
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: scala.sh
|
||||
## Team: CI-Platform
|
||||
## Desc: Installs sbt
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ Write-Host "Clean up various directories"
|
||||
"$env:windir\\logs",
|
||||
"$env:windir\\winsxs\\manifestcache",
|
||||
"$env:windir\\Temp",
|
||||
"$env:windir\\Installer",
|
||||
"$env:TEMP"
|
||||
) | ForEach-Object {
|
||||
if (Test-Path $_) {
|
||||
|
||||
13
images/win/scripts/Installers/Install-NET472.ps1
Normal file
13
images/win/scripts/Installers/Install-NET472.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
## File: Install-NET472.ps1
|
||||
## Desc: Install .NET 4.7.2
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
# .NET 4.7.2 Dev pack
|
||||
$InstallerURI = "https://download.microsoft.com/download/3/B/F/3BFB9C35-405D-45DF-BDAF-0EB57D047888/NDP472-DevPack-ENU.exe"
|
||||
$InstallerName = "NDP472-DevPack-ENU.exe"
|
||||
$ArgumentList = ('Setup', '/passive', '/norestart' )
|
||||
|
||||
Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
|
||||
@@ -6,7 +6,7 @@
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
# .NET 4.8 Dev pack
|
||||
$InstallerURI = "https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0307177e14752e359fde5423ab583e43/ndp48-devpack-enu.exe"
|
||||
$InstallerURI = "https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/c8c829444416e811be84c5765ede6148/NDP48-DevPack-ENU.exe"
|
||||
$InstallerName = "NDP48-DevPack-ENU.exe"
|
||||
$ArgumentList = ('Setup', '/passive', '/norestart' )
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ $env:NPM_CONFIG_CACHE = $CachePath
|
||||
|
||||
npm config set registry http://registry.npmjs.org/
|
||||
|
||||
npm install -g bower
|
||||
npm install -g cordova
|
||||
npm install -g grunt-cli
|
||||
npm install -g gulp-cli
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Sbt.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Install sbt for Windows
|
||||
################################################################################
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
@@ -10,4 +10,4 @@ New-Item -Path $temp_install_dir -ItemType Directory -Force
|
||||
|
||||
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
||||
|
||||
WebpiCmd.exe /Install /Products:MicrosoftAzure-ServiceFabric-CoreSDK /AcceptEula
|
||||
WebpiCmd.exe /Install /Products:MicrosoftAzure-ServiceFabric-CoreSDK /AcceptEula /XML:https://webpifeed.blob.core.windows.net/webpifeed/5.1/WebProductList.xml
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-TypeScript.ps1
|
||||
## Team: CI Build
|
||||
## Desc: Install Latest TypeScript
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -14,16 +14,15 @@ else
|
||||
exit 1
|
||||
}
|
||||
|
||||
if((Get-Command -Name 'gulp') -and (Get-Command -Name 'grunt') -and (Get-Command -Name 'bower') -and (Get-Command -Name 'cordova') -and (Get-Command -Name 'yarn'))
|
||||
if((Get-Command -Name 'gulp') -and (Get-Command -Name 'grunt') -and (Get-Command -Name 'cordova') -and (Get-Command -Name 'yarn'))
|
||||
{
|
||||
Write-Host "Gulp $(gulp -version) on path"
|
||||
Write-Host "Grunt $(grunt -version) on path"
|
||||
Write-Host "Bower $(bower -version) on path"
|
||||
Write-Host "Yarn $(yarn -version) on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "One of Gulp, Grunt, Bower, Cordova, or Yarn is not on the path."
|
||||
Write-Host "One of Gulp, Grunt, Cordova, or Yarn is not on the path."
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -41,7 +40,6 @@ $npmVersion = $(npm -version)
|
||||
$SoftwareName = "Node.js"
|
||||
$GulpInfo = "Gulp $(gulp -version)"
|
||||
$GruntInfo = "Grunt $(grunt -version)"
|
||||
$BowerInfo = "Bower $(bower -version)"
|
||||
$YarnInfo = "Yarn $(yarn -version)"
|
||||
|
||||
$Description = @"
|
||||
@@ -51,7 +49,6 @@ _Environment:_
|
||||
* PATH: contains location of node.exe<br/>
|
||||
* $GulpInfo<br/>
|
||||
* $GruntInfo<br/>
|
||||
* $BowerInfo<br/>
|
||||
* $YarnInfo<br/>
|
||||
|
||||
> Note: You can install and use another version of Node.js on Microsoft-hosted agent pools using the [Node tool installer](https://docs.microsoft.com/vsts/pipelines/tasks/tool/node-js) task.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-Sbt.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Validate sbt for Windows
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-TypeScript.ps1
|
||||
## Team: CI Build
|
||||
## Desc: Validate Typescript Installation
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Initialize-VM.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: VM initialization script, machine level configuration
|
||||
################################################################################
|
||||
|
||||
@@ -120,9 +119,9 @@ wmic logicaldisk get size,freespace,caption
|
||||
# Adding description of the software to Markdown
|
||||
|
||||
$Content = @"
|
||||
# Hosted Windows2016 image
|
||||
# Azure Pipelines Hosted VS2017 image
|
||||
|
||||
The following software is installed on machines in the **Hosted Windows2016** (v$env:ImageVersion) pool.
|
||||
The following software is installed on machines in the Azure Pipelines **Hosted VS2017** (v$env:ImageVersion) pool.
|
||||
|
||||
Components marked with **\*** have been upgraded since the previous version of the image.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Python.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Configure python on path with 3.6.* version from the tools cache
|
||||
## Must run after tools cache is setup
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-SSDT.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Install SQL Server Data Tools for Windows
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-VS2017.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Install Visual Studio 2017
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-WDK.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Install the Windows Driver Kit
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Win81SDK.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Install Windows 8.1 SDK
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Wix.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Install WIX.
|
||||
################################################################################
|
||||
function Install-VsixExtension
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Run-Antivirus.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Run a full antivirus scan.
|
||||
## Run right after cleanup before we sysprep
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Update-DockerImages.ps1
|
||||
## Team: ReleaseManagement
|
||||
## Desc: Pull some standard docker images.
|
||||
## Must be run after docker is installed.
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-SSDT.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Validate SQL Server Data Tools for Windows
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-WDK.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Validate the installation of the Windows Driver Kit
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-Wix.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Validate WIX.
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Initialize-VM.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: VM initialization script, machine level configuration
|
||||
################################################################################
|
||||
|
||||
@@ -119,9 +118,9 @@ wmic logicaldisk get size,freespace,caption
|
||||
# Adding description of the software to Markdown
|
||||
|
||||
$Content = @"
|
||||
# Hosted Windows 2019
|
||||
# Azure Pipelines Hosted Windows 2019 with VS2019 image
|
||||
|
||||
The following software is installed on machines in the **Hosted Windows 2019** (v$env:ImageVersion) pool.
|
||||
The following software is installed on machines in the Azure Pipelines **Hosted Windows 2019 with VS2019** (v$env:ImageVersion) pool.
|
||||
|
||||
Components marked with **\*** have been upgraded since the previous version of the image.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Python.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Configure python on path with 3.7.* version from the tools cache
|
||||
## Must run after tools cache is setup
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-VS2019.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Install Visual Studio 2019
|
||||
################################################################################
|
||||
$ErrorActionPreference = "Stop"
|
||||
@@ -102,7 +101,6 @@ $WorkLoads = '--allWorkloads --includeRecommended ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM64 ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.Redist.MSM ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre ' + `
|
||||
'--add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre ' + `
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-WDK.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Install the Windows Driver Kit
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Install-Wix.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Install WIX.
|
||||
################################################################################
|
||||
function Install-VsixExtension
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Run-Antivirus.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Run a full antivirus scan.
|
||||
## Run right after cleanup before we sysprep
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Update-DockerImages.ps1
|
||||
## Team: ReleaseManagement
|
||||
## Desc: Pull some standard docker images.
|
||||
## Must be run after docker is installed.
|
||||
################################################################################
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-WDK.ps1
|
||||
## Team: CI-X
|
||||
## Desc: Validate the installation of the Windows Driver Kit
|
||||
################################################################################
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
################################################################################
|
||||
## File: Validate-Wix.ps1
|
||||
## Team: CI-Build
|
||||
## Desc: Validate WIX.
|
||||
################################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user