Another mop up commit to add missing changes from the last mop-up.

This commit is contained in:
Shady Ibraheem
2019-12-13 09:48:00 -05:00
parent 95d3c31f21
commit 1dcd276b1e
188 changed files with 7333 additions and 7393 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
################################################################################
## File: containercache.sh
## Desc: Prepulls Docker images used in build tasks and templates
################################################################################
source $HELPER_SCRIPTS/apt.sh source $HELPER_SCRIPTS/apt.sh
source $HELPER_SCRIPTS/document.sh source $HELPER_SCRIPTS/document.sh

View File

@@ -27,13 +27,13 @@ for setup in $setups; do
cd $original_directory; cd $original_directory;
done; 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) pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
for python in $pythons; do for python in $pythons; do
DocumentInstalledItemIndent "Python $python" DocumentInstalledItemIndent "Python $python"
done; 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) rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
for ruby in $rubys; do for ruby in $rubys; do
DocumentInstalledItemIndent "Ruby $ruby" DocumentInstalledItemIndent "Ruby $ruby"

View File

@@ -17,6 +17,7 @@ apt-add-repository ppa:ondrej/php -y
apt-get update apt-get update
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php5.6 \ php5.6 \
php5.6-amqp \
php5.6-bcmath \ php5.6-bcmath \
php5.6-bz2 \ php5.6-bz2 \
php5.6-cgi \ php5.6-cgi \
@@ -58,6 +59,7 @@ apt-get remove --purge -yq php5.6-dev
# Install php7.0 # Install php7.0
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.0 \ php7.0 \
php7.0-amqp \
php7.0-bcmath \ php7.0-bcmath \
php7.0-bz2 \ php7.0-bz2 \
php7.0-cgi \ php7.0-cgi \
@@ -99,6 +101,7 @@ apt-get remove --purge -yq php7.0-dev
# Install php7.1 # Install php7.1
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.1 \ php7.1 \
php7.1-amqp \
php7.1-bcmath \ php7.1-bcmath \
php7.1-bz2 \ php7.1-bz2 \
php7.1-cgi \ php7.1-cgi \
@@ -140,6 +143,8 @@ apt-get remove --purge -yq php7.1-dev
# Install php7.2 # Install php7.2
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.2 \ php7.2 \
php7.2-apcu \
php7.2-amqp \
php7.2-bcmath \ php7.2-bcmath \
php7.2-bz2 \ php7.2-bz2 \
php7.2-cgi \ php7.2-cgi \
@@ -179,6 +184,8 @@ apt-fast install -y --no-install-recommends \
# Install php7.3 # Install php7.3
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.3 \ php7.3 \
php7.3-apcu \
php7.3-amqp \
php7.3-bcmath \ php7.3-bcmath \
php7.3-bz2 \ php7.3-bz2 \
php7.3-cgi \ php7.3-cgi \
@@ -215,47 +222,7 @@ apt-fast install -y --no-install-recommends \
php7.3-xsl \ php7.3-xsl \
php7.3-zip php7.3-zip
# Install php7.4
apt-fast install -y --no-install-recommends \ 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-igbinary \
php-memcache \ php-memcache \
php-memcached \ php-memcached \
@@ -283,7 +250,7 @@ mv phpunit /usr/local/bin/phpunit
# 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"
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 if ! command -v $cmd; then
echo "$cmd was not installed" echo "$cmd was not installed"
exit 1 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.1 ($(php7.1 --version | head -n 1))"
DocumentInstalledItem "PHP 7.2 ($(php7.2 --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.3 ($(php7.3 --version | head -n 1))"
DocumentInstalledItem "PHP 7.4 ($(php7.4 --version | head -n 1))"
DocumentInstalledItem "Composer ($(composer --version))" DocumentInstalledItem "Composer ($(composer --version))"
DocumentInstalledItem "PHPUnit ($(phpunit --version))" DocumentInstalledItem "PHPUnit ($(phpunit --version))"

View File

@@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
## File: dotnetcore-sdk.sh ## File: dotnetcore-sdk.sh
## Team: CI-Platform
## Desc: Installs .NET Core SDK ## Desc: Installs .NET Core SDK
################################################################################ ################################################################################

View File

@@ -27,13 +27,13 @@ for setup in $setups; do
cd $original_directory; cd $original_directory;
done; 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) pythons=$(ls $AGENT_TOOLSDIRECTORY/Python)
for python in $pythons; do for python in $pythons; do
DocumentInstalledItemIndent "Python $python" DocumentInstalledItemIndent "Python $python"
done; 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) rubys=$(ls $AGENT_TOOLSDIRECTORY/Ruby)
for ruby in $rubys; do for ruby in $rubys; do
DocumentInstalledItemIndent "Ruby $ruby" DocumentInstalledItemIndent "Ruby $ruby"

View File

@@ -16,6 +16,7 @@ apt-add-repository ppa:ondrej/php -y
# Install php7.1 # Install php7.1
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.1 \ php7.1 \
php7.1-amqp \
php7.1-bcmath \ php7.1-bcmath \
php7.1-bz2 \ php7.1-bz2 \
php7.1-cgi \ php7.1-cgi \
@@ -57,6 +58,8 @@ apt-get remove --purge -yq php7.1-dev
# Install php7.2 # Install php7.2
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.2 \ php7.2 \
php7.2-apcu \
php7.2-amqp \
php7.2-bcmath \ php7.2-bcmath \
php7.2-bz2 \ php7.2-bz2 \
php7.2-cgi \ php7.2-cgi \
@@ -96,6 +99,8 @@ apt-fast install -y --no-install-recommends \
# Install php7.3 # Install php7.3
apt-fast install -y --no-install-recommends \ apt-fast install -y --no-install-recommends \
php7.3 \ php7.3 \
php7.3-apcu \
php7.3-amqp \
php7.3-bcmath \ php7.3-bcmath \
php7.3-bz2 \ php7.3-bz2 \
php7.3-cgi \ php7.3-cgi \
@@ -132,47 +137,7 @@ apt-fast install -y --no-install-recommends \
php7.3-xsl \ php7.3-xsl \
php7.3-zip php7.3-zip
# Install php7.4
apt-fast install -y --no-install-recommends \ 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-igbinary \
php-memcache \ php-memcache \
php-memcached \ php-memcached \
@@ -200,7 +165,7 @@ mv phpunit /usr/local/bin/phpunit
# 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"
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 if ! command -v $cmd; then
echo "$cmd was not installed" echo "$cmd was not installed"
exit 1 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.1 ($(php7.1 --version | head -n 1))"
DocumentInstalledItem "PHP 7.2 ($(php7.2 --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.3 ($(php7.3 --version | head -n 1))"
DocumentInstalledItem "PHP 7.4 ($(php7.4 --version | head -n 1))"
DocumentInstalledItem "Composer ($(composer --version))" DocumentInstalledItem "Composer ($(composer --version))"
DocumentInstalledItem "PHPUnit ($(phpunit --version))" DocumentInstalledItem "PHPUnit ($(phpunit --version))"

View 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"

View File

@@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
## File: java-tools.sh ## File: java-tools.sh
## Team: CI-Platform
## Desc: Installs Java and related tooling (Ant, Gradle, Maven) ## 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 echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
# Install Maven # 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 unzip -d /usr/share maven.zip
rm maven.zip rm maven.zip
ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn ln -s /usr/share/apache-maven-3.6.2/bin/mvn /usr/bin/mvn
echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment echo "M2_HOME=/usr/share/apache-maven-3.6.2" | tee -a /etc/environment
# Install Gradle # Install Gradle
# This script downloads the latest HTML list of releases at https://gradle.org/releases/. # This script downloads the latest HTML list of releases at https://gradle.org/releases/.

View File

@@ -1,8 +1,7 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
## File: nodejs.sh ## File: nodejs.sh
## Team: CI-Platform ## Desc: Installs Node.js LTS and related tooling (Gulp, Grunt)
## Desc: Installs Node.js LTS and related tooling (Gulp, Bower, Grunt)
################################################################################ ################################################################################
# Source the helpers for use with the script # 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 # Install LTS Node.js and related build tools
curl -sL https://git.io/n-install | bash -s -- -ny - curl -sL https://git.io/n-install | bash -s -- -ny -
~/n/bin/n lts ~/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 --save-dev webpack webpack-cli
npm install -g npm npm install -g npm
rm -rf ~/n 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 # 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"
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 if ! command -v $cmd; then
echo "$cmd was not installed" echo "$cmd was not installed"
exit 1 exit 1
@@ -36,7 +35,6 @@ done
# Document what was added to the image # Document what was added to the image
echo "Lastly, documenting what we added to the metadata file" echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Node.js ($(node --version))" DocumentInstalledItem "Node.js ($(node --version))"
DocumentInstalledItem "Bower ($(bower --version))"
DocumentInstalledItem "Grunt ($(grunt --version))" DocumentInstalledItem "Grunt ($(grunt --version))"
DocumentInstalledItem "Gulp ($(gulp --version))" DocumentInstalledItem "Gulp ($(gulp --version))"
DocumentInstalledItem "n ($(n --version))" DocumentInstalledItem "n ($(n --version))"

View File

@@ -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 $AGENT_TOOLSDIRECTORY/PyPy/2.7.13/x64/bin/pypy -m pip install --ignore-installed pip
# Install PyPy 3.5 to $AGENT_TOOLSDIRECTORY # 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 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.5-v7.0.0-linux64.tar.bz2 tar -x -C /tmp -f /tmp/pypy3.6-v7.2.0-linux64.tar.bz2
rm /tmp/pypy3.5-v7.0.0-linux64.tar.bz2 rm /tmp/pypy3.6-v7.2.0-linux64.tar.bz2
mkdir -p $AGENT_TOOLSDIRECTORY/PyPy/3.5.3 mkdir -p $AGENT_TOOLSDIRECTORY/PyPy/3.6.9
mv /tmp/pypy3.5-v7.0.0-linux64 $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64 mv /tmp/pypy3.6-v7.2.0-linux64 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64
touch $AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64.complete touch $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64.complete
# add pypy3 to PATH by default # 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 # 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 # 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.6.9/x64/bin/pypy3 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/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/python3 $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/x64/bin/python
# Install latest Pip for PyPy3 # Install latest Pip for PyPy3
$AGENT_TOOLSDIRECTORY/PyPy/3.5.3/x64/bin/pypy3 -m ensurepip $AGENT_TOOLSDIRECTORY/PyPy/3.6.9/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 pip install --ignore-installed pip
# 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"

View File

@@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
################################################################################ ################################################################################
## File: scala.sh ## File: scala.sh
## Team: CI-Platform
## Desc: Installs sbt ## Desc: Installs sbt
################################################################################ ################################################################################

View File

@@ -14,7 +14,6 @@ Write-Host "Clean up various directories"
"$env:windir\\logs", "$env:windir\\logs",
"$env:windir\\winsxs\\manifestcache", "$env:windir\\winsxs\\manifestcache",
"$env:windir\\Temp", "$env:windir\\Temp",
"$env:windir\\Installer",
"$env:TEMP" "$env:TEMP"
) | ForEach-Object { ) | ForEach-Object {
if (Test-Path $_) { if (Test-Path $_) {

View 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

View File

@@ -6,7 +6,7 @@
Import-Module -Name ImageHelpers -Force Import-Module -Name ImageHelpers -Force
# .NET 4.8 Dev pack # .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" $InstallerName = "NDP48-DevPack-ENU.exe"
$ArgumentList = ('Setup', '/passive', '/norestart' ) $ArgumentList = ('Setup', '/passive', '/norestart' )

View File

@@ -25,7 +25,6 @@ $env:NPM_CONFIG_CACHE = $CachePath
npm config set registry http://registry.npmjs.org/ npm config set registry http://registry.npmjs.org/
npm install -g bower
npm install -g cordova npm install -g cordova
npm install -g grunt-cli npm install -g grunt-cli
npm install -g gulp-cli npm install -g gulp-cli

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Sbt.ps1 ## File: Install-Sbt.ps1
## Team: CI-X
## Desc: Install sbt for Windows ## Desc: Install sbt for Windows
################################################################################ ################################################################################
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"

View File

@@ -10,4 +10,4 @@ New-Item -Path $temp_install_dir -ItemType Directory -Force
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -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

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-TypeScript.ps1 ## File: Install-TypeScript.ps1
## Team: CI Build
## Desc: Install Latest TypeScript ## Desc: Install Latest TypeScript
################################################################################ ################################################################################

View File

@@ -14,16 +14,15 @@ else
exit 1 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 "Gulp $(gulp -version) on path"
Write-Host "Grunt $(grunt -version) on path" Write-Host "Grunt $(grunt -version) on path"
Write-Host "Bower $(bower -version) on path"
Write-Host "Yarn $(yarn -version) on path" Write-Host "Yarn $(yarn -version) on path"
} }
else 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 exit 1
} }
@@ -41,7 +40,6 @@ $npmVersion = $(npm -version)
$SoftwareName = "Node.js" $SoftwareName = "Node.js"
$GulpInfo = "Gulp $(gulp -version)" $GulpInfo = "Gulp $(gulp -version)"
$GruntInfo = "Grunt $(grunt -version)" $GruntInfo = "Grunt $(grunt -version)"
$BowerInfo = "Bower $(bower -version)"
$YarnInfo = "Yarn $(yarn -version)" $YarnInfo = "Yarn $(yarn -version)"
$Description = @" $Description = @"
@@ -51,7 +49,6 @@ _Environment:_
* PATH: contains location of node.exe<br/> * PATH: contains location of node.exe<br/>
* $GulpInfo<br/> * $GulpInfo<br/>
* $GruntInfo<br/> * $GruntInfo<br/>
* $BowerInfo<br/>
* $YarnInfo<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. > 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.

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-Sbt.ps1 ## File: Validate-Sbt.ps1
## Team: CI-Platform
## Desc: Validate sbt for Windows ## Desc: Validate sbt for Windows
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-TypeScript.ps1 ## File: Validate-TypeScript.ps1
## Team: CI Build
## Desc: Validate Typescript Installation ## Desc: Validate Typescript Installation
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Initialize-VM.ps1 ## File: Initialize-VM.ps1
## Team: CI-Platform
## Desc: VM initialization script, machine level configuration ## Desc: VM initialization script, machine level configuration
################################################################################ ################################################################################
@@ -120,9 +119,9 @@ wmic logicaldisk get size,freespace,caption
# Adding description of the software to Markdown # Adding description of the software to Markdown
$Content = @" $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. Components marked with **\*** have been upgraded since the previous version of the image.

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Python.ps1 ## File: Install-Python.ps1
## Team: CI-X
## Desc: Configure python on path with 3.6.* version from the tools cache ## Desc: Configure python on path with 3.6.* version from the tools cache
## Must run after tools cache is setup ## Must run after tools cache is setup
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-SSDT.ps1 ## File: Install-SSDT.ps1
## Team: CI-Platform
## Desc: Install SQL Server Data Tools for Windows ## Desc: Install SQL Server Data Tools for Windows
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-VS2017.ps1 ## File: Install-VS2017.ps1
## Team: CI-Build
## Desc: Install Visual Studio 2017 ## Desc: Install Visual Studio 2017
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-WDK.ps1 ## File: Install-WDK.ps1
## Team: CI-X
## Desc: Install the Windows Driver Kit ## Desc: Install the Windows Driver Kit
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Win81SDK.ps1 ## File: Install-Win81SDK.ps1
## Team: CI-Platform
## Desc: Install Windows 8.1 SDK ## Desc: Install Windows 8.1 SDK
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Wix.ps1 ## File: Install-Wix.ps1
## Team: CI-Build
## Desc: Install WIX. ## Desc: Install WIX.
################################################################################ ################################################################################
function Install-VsixExtension function Install-VsixExtension

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Run-Antivirus.ps1 ## File: Run-Antivirus.ps1
## Team: CI-Platform
## Desc: Run a full antivirus scan. ## Desc: Run a full antivirus scan.
## Run right after cleanup before we sysprep ## Run right after cleanup before we sysprep
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Update-DockerImages.ps1 ## File: Update-DockerImages.ps1
## Team: ReleaseManagement
## Desc: Pull some standard docker images. ## Desc: Pull some standard docker images.
## Must be run after docker is installed. ## Must be run after docker is installed.
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-SSDT.ps1 ## File: Validate-SSDT.ps1
## Team: CI-Platform
## Desc: Validate SQL Server Data Tools for Windows ## Desc: Validate SQL Server Data Tools for Windows
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-WDK.ps1 ## File: Validate-WDK.ps1
## Team: CI-X
## Desc: Validate the installation of the Windows Driver Kit ## Desc: Validate the installation of the Windows Driver Kit
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-Wix.ps1 ## File: Validate-Wix.ps1
## Team: CI-Build
## Desc: Validate WIX. ## Desc: Validate WIX.
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Initialize-VM.ps1 ## File: Initialize-VM.ps1
## Team: CI-Platform
## Desc: VM initialization script, machine level configuration ## Desc: VM initialization script, machine level configuration
################################################################################ ################################################################################
@@ -119,9 +118,9 @@ wmic logicaldisk get size,freespace,caption
# Adding description of the software to Markdown # Adding description of the software to Markdown
$Content = @" $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. Components marked with **\*** have been upgraded since the previous version of the image.

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Python.ps1 ## File: Install-Python.ps1
## Team: CI-X
## Desc: Configure python on path with 3.7.* version from the tools cache ## Desc: Configure python on path with 3.7.* version from the tools cache
## Must run after tools cache is setup ## Must run after tools cache is setup
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-VS2019.ps1 ## File: Install-VS2019.ps1
## Team: CI-Build
## Desc: Install Visual Studio 2019 ## Desc: Install Visual Studio 2019
################################################################################ ################################################################################
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
@@ -102,7 +101,6 @@ $WorkLoads = '--allWorkloads --includeRecommended ' + `
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre ' + ` '--add Microsoft.VisualStudio.Component.VC.MFC.ARM.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM64 ' + ` '--add Microsoft.VisualStudio.Component.VC.MFC.ARM64 ' + `
'--add Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre ' + ` '--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.ARM.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre ' + ` '--add Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre ' + `
'--add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre ' + ` '--add Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre ' + `

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-WDK.ps1 ## File: Install-WDK.ps1
## Team: CI-X
## Desc: Install the Windows Driver Kit ## Desc: Install the Windows Driver Kit
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Install-Wix.ps1 ## File: Install-Wix.ps1
## Team: CI-Build
## Desc: Install WIX. ## Desc: Install WIX.
################################################################################ ################################################################################
function Install-VsixExtension function Install-VsixExtension

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Run-Antivirus.ps1 ## File: Run-Antivirus.ps1
## Team: CI-Platform
## Desc: Run a full antivirus scan. ## Desc: Run a full antivirus scan.
## Run right after cleanup before we sysprep ## Run right after cleanup before we sysprep
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Update-DockerImages.ps1 ## File: Update-DockerImages.ps1
## Team: ReleaseManagement
## Desc: Pull some standard docker images. ## Desc: Pull some standard docker images.
## Must be run after docker is installed. ## Must be run after docker is installed.
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-WDK.ps1 ## File: Validate-WDK.ps1
## Team: CI-X
## Desc: Validate the installation of the Windows Driver Kit ## Desc: Validate the installation of the Windows Driver Kit
################################################################################ ################################################################################

View File

@@ -1,6 +1,5 @@
################################################################################ ################################################################################
## File: Validate-Wix.ps1 ## File: Validate-Wix.ps1
## Team: CI-Build
## Desc: Validate WIX. ## Desc: Validate WIX.
################################################################################ ################################################################################