Skip to content

Commit 4d7459e

Browse files
committed
Merge branch 'release/5.0-rc2' into 'release/5.0'
2 parents a0ede85 + 6c37a76 commit 4d7459e

File tree

733 files changed

+21278
-4087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

733 files changed

+21278
-4087
lines changed

.azure/pipelines/ci.yml

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ variables:
5151
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
5252
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
5353
# Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
54+
- name: WindowsArm64LogArgs
55+
value: -ExcludeCIBinaryLog
5456
- name: Windows64LogArgs
5557
value: -ExcludeCIBinaryLog
5658
- name: Windows86LogArgs
@@ -59,12 +61,16 @@ variables:
5961
value: -ExcludeCIBinaryLog
6062
- name: WindowsInstallersLogArgs
6163
value: -ExcludeCIBinaryLog
64+
- name: WindowsArm64InstallersLogArgs
65+
value: -ExcludeCIBinaryLog
6266
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
6367
- name: _BuildArgs
6468
value: '/p:SkipTestBuild=true'
6569
- name: _PublishArgs
6670
value: ''
6771
# Write binary logs for all main Windows build steps except the x86 one in public and PR builds.
72+
- name: WindowsArm64LogArgs
73+
value: /bl:artifacts/log/Release/Build.arm64.binlog
6874
- name: Windows64LogArgs
6975
value: /bl:artifacts/log/Release/Build.x64.binlog
7076
- name: Windows86LogArgs
@@ -73,6 +79,8 @@ variables:
7379
value: /bl:artifacts/log/Release/Build.CodeSign.binlog
7480
- name: WindowsInstallersLogArgs
7581
value: /bl:artifacts/log/Release/Build.Installers.binlog
82+
- name: WindowsArm64InstallersLogArgs
83+
value: /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
7684
- ${{ if ne(variables['System.TeamProject'], 'internal') }}:
7785
- name: _UseHelixOpenQueues
7886
value: 'true'
@@ -210,7 +218,7 @@ stages:
210218
displayName: Build Installers
211219

212220
# A few files must also go to the VS package feed.
213-
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
221+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['PostBuildSign'], 'true')) }}:
214222
- task: NuGetCommand@2
215223
displayName: Push Visual Studio packages
216224
inputs:
@@ -263,18 +271,6 @@ stages:
263271
jobName: Windows_arm64_build
264272
jobDisplayName: "Build: Windows ARM64"
265273
agentOs: Windows
266-
buildArgs:
267-
-arch arm64
268-
-sign
269-
-pack
270-
-noBuildNodeJS
271-
-noBuildJava
272-
/p:DotNetSignType=$(_SignType)
273-
/p:OnlyPackPlatformSpecificPackages=true
274-
/p:AssetManifestFileName=aspnetcore-win-arm64.xml
275-
$(_BuildArgs)
276-
$(_PublishArgs)
277-
$(_InternalRuntimeDownloadArgs)
278274
installNodeJs: false
279275
installJdk: false
280276
artifacts:
@@ -286,6 +282,47 @@ stages:
286282
path: artifacts/packages/
287283
- name: Windows_arm64_Installers
288284
path: artifacts/installers/
285+
steps:
286+
- script: ./build.cmd
287+
-ci
288+
-arch arm64
289+
-sign
290+
-pack
291+
-noBuildJava
292+
-noBuildNative
293+
/p:DotNetSignType=$(_SignType)
294+
/p:OnlyPackPlatformSpecificPackages=true
295+
$(_BuildArgs)
296+
$(_InternalRuntimeDownloadArgs)
297+
$(WindowsArm64LogArgs)
298+
displayName: Build ARM64
299+
300+
# Windows installers bundle for arm64
301+
- script: ./build.cmd
302+
-ci
303+
-noBuildRepoTasks
304+
-arch arm64
305+
-sign
306+
-buildInstallers
307+
-noBuildNative
308+
/p:DotNetSignType=$(_SignType)
309+
/p:AssetManifestFileName=aspnetcore-win-arm64.xml
310+
$(_BuildArgs)
311+
$(_PublishArgs)
312+
$(_InternalRuntimeDownloadArgs)
313+
$(WindowsArm64InstallersLogArgs)
314+
displayName: Build Arm64 Installers
315+
316+
# A few files must also go to the VS package feed.
317+
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
318+
- task: NuGetCommand@2
319+
displayName: Push Visual Studio packages
320+
inputs:
321+
command: push
322+
packagesToPush: 'artifacts/packages/**/VS.Redist.Common.AspNetCore.*.nupkg'
323+
nuGetFeedType: external
324+
publishFeedCredentials: 'DevDiv - VS package feed'
325+
289326

290327
# Build MacOS
291328
- template: jobs/default-build.yml
@@ -573,6 +610,7 @@ stages:
573610
jobName: MacOS_Test
574611
jobDisplayName: "Test: macOS 10.14"
575612
agentOs: macOS
613+
timeoutInMinutes: 240
576614
isTestingJob: true
577615
buildArgs: --all --test "/p:RunTemplateTests=false /p:SkipHelixReadyTests=true" $(_InternalRuntimeDownloadArgs)
578616
beforeBuild:
@@ -621,17 +659,18 @@ stages:
621659
timeoutInMinutes: 240
622660
steps:
623661
# Build the shared framework
624-
- script: ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
662+
- script: ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
625663
displayName: Build shared fx
626-
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj
664+
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj $(_InternalRuntimeDownloadArgs)
627665
displayName: Restore interop projects
628666
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildNative -projects eng\helix\helix.proj
629-
/p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true
667+
/p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true $(_InternalRuntimeDownloadArgs)
630668
/p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
631669
displayName: Run build.cmd helix target
632670
env:
633671
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
634672
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
673+
635674
artifacts:
636675
- name: Helix_logs
637676
path: artifacts/log/
@@ -665,7 +704,7 @@ stages:
665704
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
666705
env:
667706
Token: $(dn-bot-dnceng-artifact-feeds-rw)
668-
- script: ./eng/scripts/ci-source-build.sh --ci --nobl --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
707+
- script: ./eng/scripts/ci-source-build.sh --ci --nobl --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false $(_InternalRuntimeDownloadArgs)
669708
displayName: Run ci-source-build.sh
670709
- task: PublishBuildArtifacts@1
671710
displayName: Upload logs
@@ -711,6 +750,7 @@ stages:
711750
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
712751
- template: /eng/common/templates/post-build/post-build.yml
713752
parameters:
753+
publishingInfraVersion: 3
714754
enableSymbolValidation: false
715755
enableSigningValidation: false
716756
enableNugetValidation: false

.azure/pipelines/helix-matrix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ jobs:
5050
agentOs: Linux
5151
timeoutInMinutes: 480
5252
steps:
53-
- script: ./restore.sh -ci -nobl
53+
- script: ./restore.sh --ci --nobl --arch arm64
5454
displayName: Restore
55-
- script: ./build.sh --ci --nobl --noBuildRepoTasks --arch arm64 -test --no-build-nodejs --all --projects
56-
$(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true
55+
- script: ./build.sh --ci --nobl --arch arm64 --noBuildRepoTasks --no-build-nodejs --no-restore --test --all
56+
--projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true
5757
/p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
5858
displayName: Run build.sh helix arm64 target
5959
env:

.azure/pipelines/quarantined-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- powershell: "& ./build.ps1 -CI -nobl -all -pack -NoBuildJava"
6060
displayName: Build
6161
# The templates part can be removed when the Blazor Templates run on Helix
62-
- script: ./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
62+
- script: ./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuildNative -NoBuilddeps "/p:RunTemplateTests=true"
6363
displayName: Pack Templates
6464
- script: ./build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:RunQuarantinedTests=true /p:SkipHelixReadyTests=true"
6565
displayName: Run Quarantined Tests
@@ -86,7 +86,7 @@ jobs:
8686
jobName: MacOS_Quarantined_Test
8787
jobDisplayName: "Tests: macOS 10.14"
8888
agentOs: macOS
89-
timeoutInMinutes: 60
89+
timeoutInMinutes: 120
9090
isTestingJob: true
9191
steps:
9292
- bash: ./build.sh --all --pack --ci --nobl --no-build-java

.azure/pipelines/quarantined-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353
agentOs: Linux
5454
timeoutInMinutes: 480
5555
steps:
56-
- script: ./restore.sh -ci -nobl
56+
- script: ./restore.sh --ci --nobl --arch arm64
5757
displayName: Restore
58-
- script: ./build.sh --ci --nobl --noBuildRepoTasks --arch arm64 -test --no-build-nodejs --all --projects
59-
$(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:RunQuarantinedTests=true
60-
/p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
58+
- script: ./build.sh --ci --nobl --arch arm64 --noBuildRepoTasks --no-build-nodejs --no-restore --test --all
59+
--projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true
60+
/p:RunQuarantinedTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
6161
displayName: Run build.sh helix arm64 target
6262
continueOnError: true
6363
env:

0 commit comments

Comments
 (0)