Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>2022-10-31 16:39:44 +0300
committerGitHub <noreply@github.com>2022-10-31 16:39:44 +0300
commitaea1d9fb47b24d5e7cac1db048babbed1df1067f (patch)
treec90f3b3398f39df08e1026f4761499866cd95b10
parentc5d28ae8f83e36c519cd8509cdbaf2ab91e206d2 (diff)
Update dependencies from https://github.com/dotnet/arcade build 20221024.5 (#3092)
[main] Update dependencies from dotnet/arcade
-rw-r--r--eng/Version.Details.xml8
-rw-r--r--eng/Versions.props2
-rw-r--r--eng/common/templates/job/source-build.yml21
-rwxr-xr-xeng/common/tools.sh11
-rw-r--r--global.json2
5 files changed, 26 insertions, 18 deletions
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 9e95715ab..194821d99 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,14 +3,14 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
- <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.22520.1">
+ <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.22524.5">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>7e27c0ab0fc92ec636c26442fd1663dc5714aa4b</Sha>
+ <Sha>c5dd6a1da2e6d9b3423ab809fcda8af2927a408b</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
- <Dependency Name="Microsoft.DotNet.ApiCompat" Version="8.0.0-beta.22520.1">
+ <Dependency Name="Microsoft.DotNet.ApiCompat" Version="8.0.0-beta.22524.5">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>7e27c0ab0fc92ec636c26442fd1663dc5714aa4b</Sha>
+ <Sha>c5dd6a1da2e6d9b3423ab809fcda8af2927a408b</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk.IL" Version="7.0.0-rtm.22507.1">
<Uri>https://github.com/dotnet/runtime</Uri>
diff --git a/eng/Versions.props b/eng/Versions.props
index 6ad4820a8..e250f2772 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -18,7 +18,7 @@
<SystemReflectionMetadataVersion>5.0.0</SystemReflectionMetadataVersion>
<MicrosoftBuildFrameworkVersion>17.0.0-preview-21267-01</MicrosoftBuildFrameworkVersion>
<MicrosoftBuildUtilitiesCoreVersion>17.0.0-preview-21267-01</MicrosoftBuildUtilitiesCoreVersion>
- <MicrosoftDotNetApiCompatVersion>8.0.0-beta.22520.1</MicrosoftDotNetApiCompatVersion>
+ <MicrosoftDotNetApiCompatVersion>8.0.0-beta.22524.5</MicrosoftDotNetApiCompatVersion>
<MicrosoftDotNetCodeAnalysisVersion>6.0.0-beta.21271.1</MicrosoftDotNetCodeAnalysisVersion>
<MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.10.0-2.final</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
<MicrosoftCodeAnalysisVersion>4.5.0-1.22517.9</MicrosoftCodeAnalysisVersion>
diff --git a/eng/common/templates/job/source-build.yml b/eng/common/templates/job/source-build.yml
index 6fe2d737d..e40bf3520 100644
--- a/eng/common/templates/job/source-build.yml
+++ b/eng/common/templates/job/source-build.yml
@@ -34,8 +34,6 @@ parameters:
jobs:
- job: ${{ parameters.jobNamePrefix }}_${{ parameters.platform.name }}
displayName: Source-Build (${{ parameters.platform.name }})
- variables:
- - template: /eng/common/templates/variables/pool-providers.yml
${{ each property in parameters.platform.jobProperties }}:
${{ property.key }}: ${{ property.value }}
@@ -46,13 +44,24 @@ jobs:
${{ if eq(parameters.platform.pool, '') }}:
# The default VM host AzDO pool. This should be capable of running Docker containers: almost all
# source-build builds run in Docker, including the default managed platform.
+ # /eng/common/templates/variables/pool-providers.yml can't be used here (some customers declare variables already), so duplicate its logic
pool:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- name: $(DncEngPublicBuildPool)
+ # Main environments
+ ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), true)) }}:
+ name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- name: $(DncEngInternalBuildPool)
+ ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), true)) }}:
+ name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
+
+ # Servicing build environments
+ ${{ if and(eq(variables['System.TeamProject'], 'public'), contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release')) }}:
+ name: NetCore-Svc-Public
+ demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
+ ${{ if and(eq(variables['System.TeamProject'], 'internal'), contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release')) }}:
+ name: NetCore1ESPool-Svc-Internal
+ demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
+
${{ if ne(parameters.platform.pool, '') }}:
pool: ${{ parameters.platform.pool }}
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
index dc19dfabe..6586eab45 100755
--- a/eng/common/tools.sh
+++ b/eng/common/tools.sh
@@ -417,12 +417,11 @@ function MSBuild {
Write-PipelineSetVariable -name "NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS" -value "20"
Write-PipelineSetVariable -name "NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS" -value "20"
- export NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY=true
- export NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT=6
- export 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"
+ # https://github.com/dotnet/arcade/issues/11369 - disable new MSBuild server feature on linux
+ # This feature is new and can result in build failures from connection timeout errors.
+ export DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER=1
+ Write-PipelineSetVariable -name "DOTNET_CLI_DO_NOT_USE_MSBUILD_SERVER" -value "1"
+
fi
local toolset_dir="${_InitializeToolset%/*}"
diff --git a/global.json b/global.json
index b9e85f9aa..920c7aa12 100644
--- a/global.json
+++ b/global.json
@@ -9,7 +9,7 @@
"xcopy-msbuild": "17.2.1"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22520.1",
+ "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22524.5",
"Microsoft.FIX-85B6-MERGE-9C38-CONFLICT": "1.0.0",
"Microsoft.NET.Sdk.IL": "7.0.0-rtm.22507.1"
}