未验证 提交 57c45417 编写于 作者: D dotnet-maestro[bot] 提交者: GitHub

[main] Update dependencies from dotnet/arcade (#1669)

* Update dependencies from https://github.com/dotnet/arcade build 20210920.4

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 7.0.0-beta.21466.4 -> To Version 7.0.0-beta.21470.4

* Update dependencies from https://github.com/dotnet/arcade build 20210921.3

Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.GenAPI , Microsoft.DotNet.Helix.Sdk
 From Version 7.0.0-beta.21466.4 -> To Version 7.0.0-beta.21471.3
Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
上级 8faf2a0c
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Dependencies> <Dependencies>
<ToolsetDependencies> <ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.21466.4"> <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.21471.3">
<Uri>https://github.com/dotnet/arcade</Uri> <Uri>https://github.com/dotnet/arcade</Uri>
<Sha>734d875ba2abfb5c8f5f52368e7d4711ee366e31</Sha> <Sha>42b72b125d07dbc8fb3145fc10a8f332961bc0ba</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.21466.4"> <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.21471.3">
<Uri>https://github.com/dotnet/arcade</Uri> <Uri>https://github.com/dotnet/arcade</Uri>
<Sha>734d875ba2abfb5c8f5f52368e7d4711ee366e31</Sha> <Sha>42b72b125d07dbc8fb3145fc10a8f332961bc0ba</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.GenAPI" Version="7.0.0-beta.21466.4"> <Dependency Name="Microsoft.DotNet.GenAPI" Version="7.0.0-beta.21471.3">
<Uri>https://github.com/dotnet/arcade</Uri> <Uri>https://github.com/dotnet/arcade</Uri>
<Sha>734d875ba2abfb5c8f5f52368e7d4711ee366e31</Sha> <Sha>42b72b125d07dbc8fb3145fc10a8f332961bc0ba</Sha>
</Dependency> </Dependency>
</ToolsetDependencies> </ToolsetDependencies>
<!-- ProductDependencies --> <!-- ProductDependencies -->
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!-- Disabling the check for End of live TFMs since we still target netcoreapp 2.1 --> <!-- Disabling the check for End of live TFMs since we still target netcoreapp 2.1 -->
<CheckEolTargetFramework>false</CheckEolTargetFramework> <CheckEolTargetFramework>false</CheckEolTargetFramework>
<PreReleaseVersionLabel>prerelease</PreReleaseVersionLabel> <PreReleaseVersionLabel>prerelease</PreReleaseVersionLabel>
<MicrosoftDotNetGenAPIPackageVersion>7.0.0-beta.21466.4</MicrosoftDotNetGenAPIPackageVersion> <MicrosoftDotNetGenAPIPackageVersion>7.0.0-beta.21471.3</MicrosoftDotNetGenAPIPackageVersion>
<!-- dotnet/corefx dependencies --> <!-- dotnet/corefx dependencies -->
<SystemDrawingCommonPackageVersion>5.0.2</SystemDrawingCommonPackageVersion> <SystemDrawingCommonPackageVersion>5.0.2</SystemDrawingCommonPackageVersion>
<SystemIOPortsPackageVersion>5.0.1</SystemIOPortsPackageVersion> <SystemIOPortsPackageVersion>5.0.1</SystemIOPortsPackageVersion>
......
...@@ -709,14 +709,7 @@ function MSBuild() { ...@@ -709,14 +709,7 @@ function MSBuild() {
Write-PipelineSetVariable -Name 'NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS' -Value '20' Write-PipelineSetVariable -Name 'NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS' -Value '20'
} }
if ($ci) { Enable-Nuget-EnhancedRetry
$env:NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY = 'true'
$env:NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT = 6
$env:NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS = 1000
Write-PipelineSetVariable -Name 'NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY' -Value 'true'
Write-PipelineSetVariable -Name 'NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT' -Value '6'
Write-PipelineSetVariable -Name 'NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS' -Value '1000'
}
$toolsetBuildProject = InitializeToolset $toolsetBuildProject = InitializeToolset
$basePath = Split-Path -parent $toolsetBuildProject $basePath = Split-Path -parent $toolsetBuildProject
...@@ -764,6 +757,8 @@ function MSBuild-Core() { ...@@ -764,6 +757,8 @@ function MSBuild-Core() {
} }
} }
Enable-Nuget-EnhancedRetry
$buildTool = InitializeBuildTool $buildTool = InitializeBuildTool
$cmdArgs = "$($buildTool.Command) /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci" $cmdArgs = "$($buildTool.Command) /m /nologo /clp:Summary /v:$verbosity /nr:$nodeReuse /p:ContinuousIntegrationBuild=$ci"
...@@ -904,3 +899,18 @@ function Try-LogClientIpAddress() ...@@ -904,3 +899,18 @@ function Try-LogClientIpAddress()
Write-Host "Unable to get this machine's effective IP address for logging: $_" Write-Host "Unable to get this machine's effective IP address for logging: $_"
} }
} }
#
# If $ci flag is set, turn on (and log that we did) special environment variables for improved Nuget client retry logic.
#
function Enable-Nuget-EnhancedRetry() {
if ($ci) {
Write-Host "Setting NUGET enhanced retry environment variables"
$env:NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY = 'true'
$env:NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT = 6
$env:NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS = 1000
Write-PipelineSetVariable -Name 'NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY' -Value 'true'
Write-PipelineSetVariable -Name 'NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT' -Value '6'
Write-PipelineSetVariable -Name 'NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS' -Value '1000'
}
}
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"version": "6.0.100-rc.1.21430.12" "version": "6.0.100-rc.1.21430.12"
}, },
"msbuild-sdks": { "msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21466.4", "Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.21471.3",
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21466.4" "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.21471.3"
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册