Skip to content

Commit 2fedbd3

Browse files
committed
Merge branch 'main' of https://github.com/dotnet/aspnetcore into safia/openapi-preview7
2 parents c404996 + 0b520c3 commit 2fedbd3

File tree

131 files changed

+9955
-874
lines changed

Some content is hidden

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

131 files changed

+9955
-874
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ stages:
392392
jobName: Linux_musl_x64_build
393393
jobDisplayName: "Build: Linux Musl x64"
394394
agentOs: Linux
395-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
395+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
396396
buildArgs:
397397
--arch x64
398398
--os-name linux-musl
@@ -426,7 +426,7 @@ stages:
426426
jobDisplayName: "Build: Linux Musl ARM"
427427
agentOs: Linux
428428
useHostedUbuntu: false
429-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm-alpine
429+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
430430
buildArgs:
431431
--arch arm
432432
--os-name linux-musl
@@ -459,7 +459,7 @@ stages:
459459
jobDisplayName: "Build: Linux Musl ARM64"
460460
agentOs: Linux
461461
useHostedUbuntu: false
462-
container: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm64-alpine
462+
container: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
463463
buildArgs:
464464
--arch arm64
465465
--os-name linux-musl
@@ -629,7 +629,7 @@ stages:
629629
parameters:
630630
platform:
631631
name: 'Managed'
632-
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8'
632+
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64'
633633
buildScript: './eng/build.sh --publish --no-build-repo-tasks $(_PublishArgs) $(_InternalRuntimeDownloadArgs)'
634634
skipPublishValidation: true
635635
jobProperties:

.azure/pipelines/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ variables:
7979
- name: WindowsArm64InstallersLogArgs
8080
value: /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
8181
- name: _InternalRuntimeDownloadArgs
82-
value: -RuntimeSourceFeed https://dotnetbuilds.blob.core.windows.net/internal
82+
value: -RuntimeSourceFeed https://ci.dot.net/internal
8383
-RuntimeSourceFeedKey $(dotnetbuilds-internal-container-read-token-base64)
8484
/p:DotNetAssetRootAccessTokenSuffix='$(dotnetbuilds-internal-container-read-token-base64)'
8585
# The code signing doesn't use the aspnet build scripts, so the msbuild parameters have to be passed directly. This
8686
# is awkward but necessary because the eng/common/ build scripts don't add the msbuild properties automatically.
8787
- name: _InternalRuntimeDownloadCodeSignArgs
8888
value: $(_InternalRuntimeDownloadArgs)
89-
/p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
89+
/p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal
9090
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
9191
- group: DotNet-HelixApi-Access
9292
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
@@ -125,12 +125,8 @@ extends:
125125
tsa:
126126
enabled: true
127127
containers:
128-
alpine319WithNode:
129-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
130-
mariner20CrossArmAlpine:
131-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm-alpine
132-
mariner20CrossArm64Alpine:
133-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm64-alpine
128+
azureLinux30Net10BuildAmd64:
129+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-build-amd64
134130
stages:
135131
- stage: build
136132
displayName: Build
@@ -445,7 +441,7 @@ extends:
445441
jobName: Linux_musl_x64_build
446442
jobDisplayName: "Build: Linux Musl x64"
447443
agentOs: Linux
448-
container: alpine319WithNode
444+
container: azureLinux30Net10BuildAmd64
449445
buildArgs:
450446
--arch x64
451447
--os-name linux-musl
@@ -479,7 +475,7 @@ extends:
479475
jobDisplayName: "Build: Linux Musl ARM"
480476
agentOs: Linux
481477
useHostedUbuntu: false
482-
container: mariner20CrossArmAlpine
478+
container: azureLinux30Net10BuildAmd64
483479
buildArgs:
484480
--arch arm
485481
--os-name linux-musl
@@ -512,7 +508,7 @@ extends:
512508
jobDisplayName: "Build: Linux Musl ARM64"
513509
agentOs: Linux
514510
useHostedUbuntu: false
515-
container: mariner20CrossArm64Alpine
511+
container: azureLinux30Net10BuildAmd64
516512
buildArgs:
517513
--arch arm64
518514
--os-name linux-musl

AspNetCore.sln

Lines changed: 67 additions & 111 deletions
Large diffs are not rendered by default.

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@
234234
</PropertyGroup>
235235

236236
<PropertyGroup>
237-
<OfficialBaseURL>https://dotnetcli.blob.core.windows.net/dotnet/</OfficialBaseURL>
237+
<OfficialBaseURL>https://builds.dotnet.microsoft.com/dotnet/</OfficialBaseURL>
238238
<!-- Allow overriding the public base URL for Unified Build scenarios to pull assets from a local build. -->
239-
<PublicBaseURL Condition="'$(PublicBaseURL)' == ''">https://dotnetbuilds.blob.core.windows.net/public/</PublicBaseURL>
240-
<InternalBaseURL>https://dotnetbuilds.blob.core.windows.net/internal/</InternalBaseURL>
239+
<PublicBaseURL Condition="'$(PublicBaseURL)' == ''">https://ci.dot.net/public/</PublicBaseURL>
240+
<InternalBaseURL>https://ci.dot.net/internal/</InternalBaseURL>
241241
<!-- Allow overriding where installers are pulled in from previously completed jobs in Unified Build scenarios. -->
242242
<AddVersionToCrossArchitectureInstallerBasePath Condition="'$(CrossArchitectureInstallerBasePath)' != ''">true</AddVersionToCrossArchitectureInstallerBasePath>
243243
<CrossArchitectureInstallerBasePath Condition="'$(CrossArchitectureInstallerBasePath)' == ''">$(ArtifactsShippingPackagesDir)</CrossArchitectureInstallerBasePath>

eng/Build.props

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,12 @@
254254
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\WindowsHostingBundle\WindowsHostingBundle.wixproj" AdditionalProperties="Platform=x86" />
255255
</ItemGroup>
256256

257-
<!-- In a vertical build, only build the MSIs for the current vertical in the first pass and build the hosting bundle in the second pass -->
257+
<!--
258+
In a vertical build, only build the MSIs for the current vertical that aren't used in the hosting bundle in the first pass
259+
and build the hosting bundle and its dependencies in the second pass.
260+
-->
258261
<ItemGroup Condition="'$(DotNetBuild)' == 'true' and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1') and '$(_BuildWindowsInstallers)' == 'true'">
259-
<!-- Build the ANCM custom action -->
260-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\CustomAction\aspnetcoreCA.vcxproj" AdditionalProperties="Platform=$(_VcxTargetPlatform)" />
261-
<!-- Build the ANCM msis -->
262262
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMIISExpressV2\AncmIISExpressV2.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
263-
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMV2\ANCMV2.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
264263
</ItemGroup>
265264

266265
<ItemGroup>

eng/Dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ and are generated based on the last package release.
8686
<LatestPackageReference Include="System.Net.Http.Json" />
8787
<LatestPackageReference Include="System.Net.Sockets" />
8888
<LatestPackageReference Include="System.Net.ServerSentEvents" />
89-
<LatestPackageReference Include="System.Private.Uri" />
9089
<LatestPackageReference Include="System.Reflection.Metadata" />
9190
<LatestPackageReference Include="System.Runtime.InteropServices.RuntimeInformation" />
9291
<LatestPackageReference Include="System.Runtime.Caching" />
@@ -223,6 +222,7 @@ and are generated based on the last package release.
223222
<LatestPackageReference Include="StackExchange.Redis" />
224223
<LatestPackageReference Include="Swashbuckle.AspNetCore" />
225224
<LatestPackageReference Include="System.Reactive.Linq" />
225+
<LatestPackageReference Include="Verify.SourceGenerators" />
226226
<LatestPackageReference Include="Verify.Xunit" />
227227
<LatestPackageReference Include="xunit.abstractions" />
228228
<LatestPackageReference Include="xunit.analyzers" />

eng/Signing.props

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@
6363
<FileExtensionSignInfo Include=".vsix" CertificateName="VsixSHA2" />
6464
<FileExtensionSignInfo Include=".zip" CertificateName="None" />
6565
<FileExtensionSignInfo Include=".cab" CertificateName="None" />
66-
<!-- If doing post build sign, explicitly give MSIs a cert. If doing in build signing,
67-
this is handled by the wix targets, and .msi should be "None" -->
68-
<FileExtensionSignInfo Include=".msi" CertificateName="MicrosoftDotNet500" Condition="'$(PostBuildSign)' == 'true'" />
69-
<FileExtensionSignInfo Include=".msi" CertificateName="None" Condition="'$(PostBuildSign)' != 'true'" />
66+
<FileExtensionSignInfo Include=".msi" CertificateName="MicrosoftDotNet500" />
7067

7168
<!-- Native .dll's. These don't have a public key token, but are from Microsoft and should be signed. -->
7269
<FileSignInfo Include="aspnetcore.dll" CertificateName="MicrosoftDotNet500" />

0 commit comments

Comments
 (0)