Update dependencies from https://github.com/dotnet/arcade build 20210225.5 (#9809)
[master] Update dependencies from dotnet/arcade - Coherency Updates: - Microsoft.SourceLink.GitHub: from 1.1.0-beta-21101-02 to 1.1.0-beta-21115-02 (parent: Microsoft.DotNet.Arcade.Sdk) - XliffTasks: from 1.0.0-beta.21103.1 to 1.0.0-beta.21110.1 (parent: Microsoft.DotNet.Arcade.Sdk)
This commit is contained in:
parent
b496a22a71
commit
f73afb2305
13 changed files with 52 additions and 118 deletions
|
@ -148,25 +148,25 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21105.12">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.21125.5">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>938b3e8b4edcd96ca0f0cbbae63c87b3f51f7afe</Sha>
|
<Sha>15246f4af00a1cb2e580783d32ec2937b1878a64</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21105.12">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.21125.5">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>938b3e8b4edcd96ca0f0cbbae63c87b3f51f7afe</Sha>
|
<Sha>15246f4af00a1cb2e580783d32ec2937b1878a64</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
<Dependency Name="Private.SourceBuild.ReferencePackages" Version="1.0.0-beta.20217.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
<Sha>639aeb4d76c8b1a6226bf7c4edb34fbdae30e6e1</Sha>
|
<Sha>639aeb4d76c8b1a6226bf7c4edb34fbdae30e6e1</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21101-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21115-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||||
<Sha>ca11cbd5e7fac44ae5a7228f5cd89d9df99dd90e</Sha>
|
<Sha>6cef6be0fcc782dbd4f869ce0b730e87409a7175</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="XliffTasks" Version="1.0.0-beta.21103.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="XliffTasks" Version="1.0.0-beta.21110.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||||
<Sha>257d8978123dcd3c029ad93cbaffded900dce450</Sha>
|
<Sha>ddb0115655ba465d9201af0a68fe556fafc24fd6</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ToolsetDependencies>
|
</ToolsetDependencies>
|
||||||
</Dependencies>
|
</Dependencies>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21105.12</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>6.0.0-beta.21125.5</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
|
@ -6,7 +6,7 @@ usage()
|
||||||
{
|
{
|
||||||
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
|
echo "Usage: $0 [BuildArch] [CodeName] [lldbx.y] [--skipunmount] --rootfsdir <directory>]"
|
||||||
echo "BuildArch can be: arm(default), armel, arm64, x86"
|
echo "BuildArch can be: arm(default), armel, arm64, x86"
|
||||||
echo "CodeName - optional, Code name for Linux, can be: trusty, xenial(default), zesty, bionic, alpine. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
|
echo "CodeName - optional, Code name for Linux, can be: trusty, xenial(default), zesty, bionic, alpine, alpine3.9 or alpine3.13. If BuildArch is armel, LinuxCodeName is jessie(default) or tizen."
|
||||||
echo " for FreeBSD can be: freebsd11 or freebsd12."
|
echo " for FreeBSD can be: freebsd11 or freebsd12."
|
||||||
echo " for illumos can be: illumos."
|
echo " for illumos can be: illumos."
|
||||||
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FReeBSD"
|
echo "lldbx.y - optional, LLDB version, can be: lldb3.9(default), lldb4.0, lldb5.0, lldb6.0 no-lldb. Ignored for alpine and FReeBSD"
|
||||||
|
@ -183,9 +183,20 @@ while :; do
|
||||||
__UbuntuRepo=
|
__UbuntuRepo=
|
||||||
__Tizen=tizen
|
__Tizen=tizen
|
||||||
;;
|
;;
|
||||||
alpine)
|
alpine|alpine3.9)
|
||||||
__CodeName=alpine
|
__CodeName=alpine
|
||||||
__UbuntuRepo=
|
__UbuntuRepo=
|
||||||
|
__AlpineVersion=3.9
|
||||||
|
;;
|
||||||
|
alpine3.13)
|
||||||
|
__CodeName=alpine
|
||||||
|
__UbuntuRepo=
|
||||||
|
__AlpineVersion=3.13
|
||||||
|
# Alpine 3.13 has all the packages we need in the 3.13 repository
|
||||||
|
__AlpinePackages+=$__AlpinePackagesEdgeCommunity
|
||||||
|
__AlpinePackagesEdgeCommunity=
|
||||||
|
__AlpinePackages+=$__AlpinePackagesEdgeMain
|
||||||
|
__AlpinePackagesEdgeMain=
|
||||||
;;
|
;;
|
||||||
freebsd11)
|
freebsd11)
|
||||||
__FreeBSDBase="11.3-RELEASE"
|
__FreeBSDBase="11.3-RELEASE"
|
||||||
|
@ -243,7 +254,6 @@ __RootfsDir="$( cd "$__RootfsDir" && pwd )"
|
||||||
|
|
||||||
if [[ "$__CodeName" == "alpine" ]]; then
|
if [[ "$__CodeName" == "alpine" ]]; then
|
||||||
__ApkToolsVersion=2.9.1
|
__ApkToolsVersion=2.9.1
|
||||||
__AlpineVersion=3.9
|
|
||||||
__ApkToolsDir=$(mktemp -d)
|
__ApkToolsDir=$(mktemp -d)
|
||||||
wget https://github.com/alpinelinux/apk-tools/releases/download/v$__ApkToolsVersion/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -P $__ApkToolsDir
|
wget https://github.com/alpinelinux/apk-tools/releases/download/v$__ApkToolsVersion/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -P $__ApkToolsDir
|
||||||
tar -xf $__ApkToolsDir/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -C $__ApkToolsDir
|
tar -xf $__ApkToolsDir/apk-tools-$__ApkToolsVersion-x86_64-linux.tar.gz -C $__ApkToolsDir
|
||||||
|
@ -256,15 +266,19 @@ if [[ "$__CodeName" == "alpine" ]]; then
|
||||||
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
||||||
add $__AlpinePackages
|
add $__AlpinePackages
|
||||||
|
|
||||||
$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
|
if [[ -n "$__AlpinePackagesEdgeMain" ]]; then
|
||||||
-X http://dl-cdn.alpinelinux.org/alpine/edge/main \
|
$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
|
||||||
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
-X http://dl-cdn.alpinelinux.org/alpine/edge/main \
|
||||||
add $__AlpinePackagesEdgeMain
|
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
||||||
|
add $__AlpinePackagesEdgeMain
|
||||||
|
fi
|
||||||
|
|
||||||
$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
|
if [[ -n "$__AlpinePackagesEdgeCommunity" ]]; then
|
||||||
-X http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
$__ApkToolsDir/apk-tools-$__ApkToolsVersion/apk \
|
||||||
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
-X http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||||
add $__AlpinePackagesEdgeCommunity
|
-U --allow-untrusted --root $__RootfsDir --arch $__AlpineArch --initdb \
|
||||||
|
add $__AlpinePackagesEdgeCommunity
|
||||||
|
fi
|
||||||
|
|
||||||
rm -r $__ApkToolsDir
|
rm -r $__ApkToolsDir
|
||||||
elif [[ "$__CodeName" == "freebsd" ]]; then
|
elif [[ "$__CodeName" == "freebsd" ]]; then
|
||||||
|
|
|
@ -79,14 +79,6 @@ $CommonSetupArguments="--channel master --queue $Queue --build-number $BuildNumb
|
||||||
$SetupArguments = "--repository https://github.com/$Repository --branch $Branch --get-perf-hash --commit-sha $CommitSha $CommonSetupArguments"
|
$SetupArguments = "--repository https://github.com/$Repository --branch $Branch --get-perf-hash --commit-sha $CommitSha $CommonSetupArguments"
|
||||||
|
|
||||||
|
|
||||||
#This grabs the LKG version number of dotnet and passes it to our scripts
|
|
||||||
$VersionJSON = Get-Content global.json | ConvertFrom-Json
|
|
||||||
$DotNetVersion = $VersionJSON.tools.dotnet
|
|
||||||
# TODO: Change this back to parsing when we have a good story for dealing with TFM changes or when the LKG in runtime gets updated to include net6.0
|
|
||||||
# $SetupArguments = "--dotnet-versions $DotNetVersion $SetupArguments"
|
|
||||||
$SetupArguments = "--dotnet-versions 6.0.100-alpha.1.20553.6 $SetupArguments"
|
|
||||||
|
|
||||||
|
|
||||||
if ($RunFromPerformanceRepo) {
|
if ($RunFromPerformanceRepo) {
|
||||||
$SetupArguments = "--perf-hash $CommitSha $CommonSetupArguments"
|
$SetupArguments = "--perf-hash $CommitSha $CommonSetupArguments"
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,10 @@ while (($# > 0)); do
|
||||||
internal=true
|
internal=true
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
|
--alpine)
|
||||||
|
alpine=true
|
||||||
|
shift 1
|
||||||
|
;;
|
||||||
--llvm)
|
--llvm)
|
||||||
llvm=true
|
llvm=true
|
||||||
shift 1
|
shift 1
|
||||||
|
@ -143,6 +147,7 @@ while (($# > 0)); do
|
||||||
echo " --monodotnet Pass the path to the mono dotnet for mono performance testing."
|
echo " --monodotnet Pass the path to the mono dotnet for mono performance testing."
|
||||||
echo " --wasm Path to the unpacked wasm runtime pack."
|
echo " --wasm Path to the unpacked wasm runtime pack."
|
||||||
echo " --latestdotnet --dotnet-versions will not be specified. --dotnet-versions defaults to LKG version in global.json "
|
echo " --latestdotnet --dotnet-versions will not be specified. --dotnet-versions defaults to LKG version in global.json "
|
||||||
|
echo " --alpine Set for runs on Alpine"
|
||||||
echo ""
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
@ -198,12 +203,20 @@ if [[ "$internal" == true ]]; then
|
||||||
else
|
else
|
||||||
queue=Ubuntu.1804.Amd64.Tiger.Perf
|
queue=Ubuntu.1804.Amd64.Tiger.Perf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$alpine" = "true" ]]; then
|
||||||
|
queue=alpine.amd64.tiger.perf
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [[ "$architecture" = "arm64" ]]; then
|
if [[ "$architecture" = "arm64" ]]; then
|
||||||
queue=ubuntu.1804.armarch.open
|
queue=ubuntu.1804.armarch.open
|
||||||
else
|
else
|
||||||
queue=Ubuntu.1804.Amd64.Open
|
queue=Ubuntu.1804.Amd64.Open
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$alpine" = "true" ]]; then
|
||||||
|
queue=alpine.amd64.tiger.perf
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$mono_dotnet" != "" ]] && [[ "$monointerpreter" == "false" ]]; then
|
if [[ "$mono_dotnet" != "" ]] && [[ "$monointerpreter" == "false" ]]; then
|
||||||
|
@ -224,16 +237,6 @@ fi
|
||||||
common_setup_arguments="--channel master --queue $queue --build-number $build_number --build-configs $configurations --architecture $architecture"
|
common_setup_arguments="--channel master --queue $queue --build-number $build_number --build-configs $configurations --architecture $architecture"
|
||||||
setup_arguments="--repository https://github.com/$repository --branch $branch --get-perf-hash --commit-sha $commit_sha $common_setup_arguments"
|
setup_arguments="--repository https://github.com/$repository --branch $branch --get-perf-hash --commit-sha $commit_sha $common_setup_arguments"
|
||||||
|
|
||||||
|
|
||||||
if [[ "$use_latest_dotnet" = false ]]; then
|
|
||||||
# Get the tools section from the global.json.
|
|
||||||
# This grabs the LKG version number of dotnet and passes it to our scripts
|
|
||||||
dotnet_version=`cat global.json | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj["tools"]["dotnet"])'`
|
|
||||||
# TODO: Change this back to parsing when we have a good story for dealing with TFM changes or when the LKG in runtime gets updated to include net6.0
|
|
||||||
# setup_arguments="--dotnet-versions $dotnet_version $setup_arguments"
|
|
||||||
setup_arguments="--dotnet-versions 6.0.100-alpha.1.20553.6 $setup_arguments"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$run_from_perf_repo" = true ]]; then
|
if [[ "$run_from_perf_repo" = true ]]; then
|
||||||
payload_directory=
|
payload_directory=
|
||||||
workitem_directory=$source_directory
|
workitem_directory=$source_directory
|
||||||
|
|
|
@ -87,10 +87,6 @@ try {
|
||||||
& $(Join-Path $PSScriptRoot 'run-sdl.ps1') -GuardianCliLocation $guardianCliLocation -WorkingDirectory $workingDirectory -TargetDirectory $SourceDirectory -GdnFolder $gdnFolder -ToolsList $SourceToolsList -AzureDevOpsAccessToken $AzureDevOpsAccessToken -UpdateBaseline $UpdateBaseline -GuardianLoggerLevel $GuardianLoggerLevel -CrScanAdditionalRunConfigParams $CrScanAdditionalRunConfigParams -PoliCheckAdditionalRunConfigParams $PoliCheckAdditionalRunConfigParams
|
& $(Join-Path $PSScriptRoot 'run-sdl.ps1') -GuardianCliLocation $guardianCliLocation -WorkingDirectory $workingDirectory -TargetDirectory $SourceDirectory -GdnFolder $gdnFolder -ToolsList $SourceToolsList -AzureDevOpsAccessToken $AzureDevOpsAccessToken -UpdateBaseline $UpdateBaseline -GuardianLoggerLevel $GuardianLoggerLevel -CrScanAdditionalRunConfigParams $CrScanAdditionalRunConfigParams -PoliCheckAdditionalRunConfigParams $PoliCheckAdditionalRunConfigParams
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($UpdateBaseline) {
|
|
||||||
& (Join-Path $PSScriptRoot 'push-gdn.ps1') -Repository $RepoName -BranchName $BranchName -GdnFolder $GdnFolder -AzureDevOpsAccessToken $AzureDevOpsAccessToken -PushReason 'Update baseline'
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($TsaPublish) {
|
if ($TsaPublish) {
|
||||||
if ($TsaBranchName -and $BuildNumber) {
|
if ($TsaBranchName -and $BuildNumber) {
|
||||||
if (-not $TsaRepositoryName) {
|
if (-not $TsaRepositoryName) {
|
||||||
|
|
|
@ -46,7 +46,6 @@ try {
|
||||||
Write-PipelineTelemetryError -Force -Category 'Build' -Message "Guardian baseline failed with exit code $LASTEXITCODE."
|
Write-PipelineTelemetryError -Force -Category 'Build' -Message "Guardian baseline failed with exit code $LASTEXITCODE."
|
||||||
ExitWithExitCode $LASTEXITCODE
|
ExitWithExitCode $LASTEXITCODE
|
||||||
}
|
}
|
||||||
& $(Join-Path $PSScriptRoot 'push-gdn.ps1') -Repository $Repository -BranchName $BranchName -GdnFolder $gdnFolder -AzureDevOpsAccessToken $AzureDevOpsAccessToken -PushReason 'Initialize gdn folder'
|
|
||||||
ExitWithExitCode 0
|
ExitWithExitCode 0
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
|
|
@ -1,69 +0,0 @@
|
||||||
Param(
|
|
||||||
[string] $Repository,
|
|
||||||
[string] $BranchName='master',
|
|
||||||
[string] $GdnFolder,
|
|
||||||
[string] $AzureDevOpsAccessToken,
|
|
||||||
[string] $PushReason
|
|
||||||
)
|
|
||||||
|
|
||||||
$ErrorActionPreference = 'Stop'
|
|
||||||
Set-StrictMode -Version 2.0
|
|
||||||
$disableConfigureToolsetImport = $true
|
|
||||||
$LASTEXITCODE = 0
|
|
||||||
|
|
||||||
try {
|
|
||||||
# `tools.ps1` checks $ci to perform some actions. Since the SDL
|
|
||||||
# scripts don't necessarily execute in the same agent that run the
|
|
||||||
# build.ps1/sh script this variable isn't automatically set.
|
|
||||||
$ci = $true
|
|
||||||
. $PSScriptRoot\..\tools.ps1
|
|
||||||
|
|
||||||
# We create the temp directory where we'll store the sdl-config repository
|
|
||||||
$sdlDir = Join-Path $env:TEMP 'sdl'
|
|
||||||
if (Test-Path $sdlDir) {
|
|
||||||
Remove-Item -Force -Recurse $sdlDir
|
|
||||||
}
|
|
||||||
|
|
||||||
Write-Host "git clone https://dnceng:`$AzureDevOpsAccessToken@dev.azure.com/dnceng/internal/_git/sdl-tool-cfg $sdlDir"
|
|
||||||
git clone https://dnceng:$AzureDevOpsAccessToken@dev.azure.com/dnceng/internal/_git/sdl-tool-cfg $sdlDir
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
|
||||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message "Git clone failed with exit code $LASTEXITCODE."
|
|
||||||
ExitWithExitCode $LASTEXITCODE
|
|
||||||
}
|
|
||||||
# We copy the .gdn folder from our local run into the git repository so it can be committed
|
|
||||||
$sdlRepositoryFolder = Join-Path (Join-Path (Join-Path $sdlDir $Repository) $BranchName) '.gdn'
|
|
||||||
if (Get-Command Robocopy) {
|
|
||||||
Robocopy /S $GdnFolder $sdlRepositoryFolder
|
|
||||||
} else {
|
|
||||||
rsync -r $GdnFolder $sdlRepositoryFolder
|
|
||||||
}
|
|
||||||
# cd to the sdl-config directory so we can run git there
|
|
||||||
Push-Location $sdlDir
|
|
||||||
# git add . --> git commit --> git push
|
|
||||||
Write-Host 'git add .'
|
|
||||||
git add .
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
|
||||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message "Git add failed with exit code $LASTEXITCODE."
|
|
||||||
ExitWithExitCode $LASTEXITCODE
|
|
||||||
}
|
|
||||||
Write-Host "git -c user.email=`"dn-bot@microsoft.com`" -c user.name=`"Dotnet Bot`" commit -m `"$PushReason for $Repository/$BranchName`""
|
|
||||||
git -c user.email="dn-bot@microsoft.com" -c user.name="Dotnet Bot" commit -m "$PushReason for $Repository/$BranchName"
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
|
||||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message "Git commit failed with exit code $LASTEXITCODE."
|
|
||||||
ExitWithExitCode $LASTEXITCODE
|
|
||||||
}
|
|
||||||
Write-Host 'git push'
|
|
||||||
git push
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
|
||||||
Write-PipelineTelemetryError -Force -Category 'Sdl' -Message "Git push failed with exit code $LASTEXITCODE."
|
|
||||||
ExitWithExitCode $LASTEXITCODE
|
|
||||||
}
|
|
||||||
|
|
||||||
# Return to the original directory
|
|
||||||
Pop-Location
|
|
||||||
}
|
|
||||||
catch {
|
|
||||||
Write-Host $_.ScriptStackTrace
|
|
||||||
Write-PipelineTelemetryError -Category 'Sdl' -Message $_
|
|
||||||
ExitWithExitCode 1
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
parameters:
|
parameters:
|
||||||
runAsPublic: false
|
runAsPublic: false
|
||||||
sourceIndexPackageVersion: 1.0.0-beta5
|
sourceIndexPackageVersion: 1.0.1-20210225.1
|
||||||
sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
|
sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
|
||||||
sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci"
|
sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci"
|
||||||
preSteps: []
|
preSteps: []
|
||||||
|
|
|
@ -128,7 +128,7 @@ stages:
|
||||||
- job:
|
- job:
|
||||||
displayName: Signing Validation
|
displayName: Signing Validation
|
||||||
dependsOn: setupMaestroVars
|
dependsOn: setupMaestroVars
|
||||||
condition: eq( ${{ parameters.enableSigningValidation }}, 'true')
|
condition: and( eq( ${{ parameters.enableSigningValidation }}, 'true'), ne( variables['PostBuildSign'], 'true'))
|
||||||
variables:
|
variables:
|
||||||
- template: common-variables.yml
|
- template: common-variables.yml
|
||||||
- name: AzDOProjectName
|
- name: AzDOProjectName
|
||||||
|
|
|
@ -169,7 +169,7 @@ function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) {
|
||||||
Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot
|
Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Rename-Item -Force -Path $sdkCacheFileTemp 'sdk.txt'
|
Move-Item -Force $sdkCacheFileTemp (Join-Path $ToolsetDir 'sdk.txt')
|
||||||
} catch {
|
} catch {
|
||||||
# Somebody beat us
|
# Somebody beat us
|
||||||
Remove-Item -Path $sdkCacheFileTemp
|
Remove-Item -Path $sdkCacheFileTemp
|
||||||
|
|
|
@ -273,8 +273,7 @@ function GetDotNetInstallScript {
|
||||||
if command -v curl > /dev/null; then
|
if command -v curl > /dev/null; then
|
||||||
# first, try directly, if this fails we will retry with verbose logging
|
# first, try directly, if this fails we will retry with verbose logging
|
||||||
curl "$install_script_url" -sSL --retry 10 --create-dirs -o "$install_script" || {
|
curl "$install_script_url" -sSL --retry 10 --create-dirs -o "$install_script" || {
|
||||||
if command -v openssl &> /dev/null
|
if command -v openssl &> /dev/null; then
|
||||||
then
|
|
||||||
echo "Curl failed; dumping some information about dotnet.microsoft.com for later investigation"
|
echo "Curl failed; dumping some information about dotnet.microsoft.com for later investigation"
|
||||||
echo | openssl s_client -showcerts -servername dotnet.microsoft.com -connect dotnet.microsoft.com:443
|
echo | openssl s_client -showcerts -servername dotnet.microsoft.com -connect dotnet.microsoft.com:443
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21105.12"
|
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21125.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue