Skip to content

Commit e79992e

Browse files
authored
Merge branch 'dotnet:main' into ladeak-canhavemessagebody
2 parents 60aacc6 + 4d23e51 commit e79992e

File tree

195 files changed

+11379
-522
lines changed

Some content is hidden

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

195 files changed

+11379
-522
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,10 @@ stages:
582582
/p:VsTestUseMSBuildOutput=false
583583
displayName: Build shared fx
584584
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
585-
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
585+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
586586
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
587587
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
588-
/p:VsTestUseMSBuildOutput=false
588+
/p:VsTestUseMSBuildOutput=false /p:RunTemplateTests=false
589589
displayName: Run build.cmd helix target
590590
env:
591591
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues

.azure/pipelines/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,9 @@ extends:
634634
MSBUILDUSESERVER: "1"
635635
displayName: Build shared fx
636636
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
637-
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
637+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
638638
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
639-
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
639+
/p:CrossgenOutput=false /p:RunTemplateTests=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
640640
displayName: Run build.cmd helix target
641641
env:
642642
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues

.azure/pipelines/identitymodel-helix-matrix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ extends:
3737
compiled:
3838
enabled: false
3939
justificationForDisabling: 'This is a test-only pipeline. The same product code is already scanned in the main pipeline (aspnetcore-ci)'
40+
featureFlags:
41+
autoEnablePREfastWithNewRuleset: false
4042

4143
stages:
4244
- stage: build
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Configure which branches trigger builds
2+
# We want to run template tests on release/8.0 and later as well as on certain PRs
3+
trigger:
4+
batch: true
5+
branches:
6+
include:
7+
- main
8+
- release/*
9+
10+
# Run PR validation on branches that include Helix tests
11+
pr:
12+
autoCancel: true
13+
branches:
14+
include:
15+
- main
16+
- release/*
17+
paths:
18+
include:
19+
- src/ProjectTemplates/*
20+
21+
variables:
22+
- name: _UseHelixOpenQueues
23+
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
24+
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
25+
- group: DotNet-HelixApi-Access
26+
- template: /eng/common/templates/variables/pool-providers.yml
27+
28+
jobs:
29+
- template: jobs/default-build.yml
30+
parameters:
31+
jobName: Helix_templates_x64
32+
jobDisplayName: 'Tests: Helix template tests x64'
33+
agentOs: Windows
34+
timeoutInMinutes: 180
35+
steps:
36+
- script: git submodule update --init
37+
displayName: Update submodules
38+
# Build the shared framework
39+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
40+
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log /p:VsTestUseMSBuildOutput=false
41+
displayName: Build shared fx
42+
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
43+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
44+
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
45+
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
46+
/p:VsTestUseMSBuildOutput=false /p:OnlyTestProjectTemplates=true
47+
displayName: Run build.cmd helix target
48+
artifacts:
49+
- name: Helix_logs
50+
path: artifacts/log/
51+
publishOnError: true

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
backport:
17-
uses: dotnet/arcade/.github/workflows/backport-base.yml@7a09c1144283309440a7966c664199944198c920 # 2025-01-13
17+
uses: dotnet/arcade/.github/workflows/backport-base.yml@0e335649fe2d2f98ea51e55cc1a0899af3617eba # 2025-01-13
1818
with:
1919
pr_description_template: |
2020
Backport of #%source_pr_number% to %target_branch%

.github/workflows/inter-branch-merge-flow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ permissions:
1010

1111
jobs:
1212
Merge:
13-
uses: dotnet/arcade/.github/workflows/backport-base.yml@7a09c1144283309440a7966c664199944198c920 # 2024-06-24
13+
uses: dotnet/arcade/.github/workflows/backport-base.yml@0e335649fe2d2f98ea51e55cc1a0899af3617eba # 2024-06-24

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ modules/
3636
*.user
3737
*.userprefs
3838
*.vspx
39+
*.json.bak
3940

4041
# Specific files, typically generated by tools
4142
.config/dotnet-tools.json

AspNetCore.slnx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@
409409
<Folder Name="/src/Identity/samples/">
410410
<Project Path="src/Identity/samples/IdentitySample.DefaultUI/IdentitySample.DefaultUI.csproj" />
411411
<Project Path="src/Identity/samples/IdentitySample.Mvc/IdentitySample.Mvc.csproj" />
412+
<Project Path="src/Identity/samples/IdentitySample.PasskeyConformance/IdentitySample.PasskeyConformance.csproj" />
413+
<Project Path="src/Identity/samples/IdentitySample.PasskeyUI/IdentitySample.PasskeyUI.csproj" />
412414
</Folder>
413415
<Folder Name="/src/Identity/Specification.Tests/">
414416
<Project Path="src/Identity/Specification.Tests/src/Microsoft.AspNetCore.Identity.Specification.Tests.csproj" />

eng/Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
the format is correct) and undo any temporary changes. When complete, only BuildAfterTargetingPack.csproj and
1010
other @(RequiresDelayedBuild) projects should mention projects listed in RequiresDelayedBuildProjects.props.
1111
-->
12-
<Import Project="RequiresDelayedBuildProjects.props" />
12+
<Import Project="RequiresDelayedBuildProjects.props" Condition="'$(OnlyTestProjectTemplates)' != 'true'" />
1313

1414
<!-- These projects are always excluded, even when -projects is specified on command line. -->
1515
<ItemGroup>

eng/Dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ and are generated based on the last package release.
8383
<LatestPackageReference Include="System.Diagnostics.DiagnosticSource" />
8484
<LatestPackageReference Include="System.Diagnostics.EventLog" />
8585
<LatestPackageReference Include="System.DirectoryServices.Protocols" />
86+
<LatestPackageReference Include="System.Formats.Cbor" />
8687
<LatestPackageReference Include="System.IdentityModel.Tokens.Jwt" />
8788
<LatestPackageReference Include="System.IO.Pipelines" />
8889
<LatestPackageReference Include="System.Memory" />

0 commit comments

Comments
 (0)