Skip to content

Commit 62e145f

Browse files
authored
Merge branch 'release/9.0.1xx' into marcpopMSFT-automateimplicitversion
2 parents 050229d + 16da613 commit 62e145f

File tree

17 files changed

+273
-536
lines changed

17 files changed

+273
-536
lines changed

.vsts-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ variables:
3030
# Helix testing requires a token when internally run.
3131
# Variables used: HelixApiAccessToken
3232
- group: DotNet-HelixApi-Access
33+
- group: AzureDevOps-Artifact-Feeds-Pats
3334
# Allows Arcade to run a signed build by disabling post-build signing for release-branch builds or manual builds that are not running tests.
3435
- ${{ if and(eq(parameters.runTestBuild, false), or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual'))) }}:
3536
- name: PostBuildSign
@@ -68,12 +69,10 @@ extends:
6869
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
6970
centosStream9:
7071
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9
71-
debian11Amd64:
72-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-amd64
72+
debian12Amd64:
73+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-gcc14-amd64
7374
fedora39:
7475
image: mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-39
75-
ubuntu2204:
76-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04
7776
mariner20CrossArm:
7877
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm
7978
ubuntu2204DebPkg:
@@ -296,6 +295,7 @@ extends:
296295
############### SOURCE BUILD ###############
297296
- template: /eng/common/templates-official/job/source-build.yml@self
298297
parameters:
298+
enableInternalSources: true
299299
platform:
300300
name: Managed
301301
container: centosStream9
@@ -308,6 +308,7 @@ extends:
308308
parameters:
309309
oneESCompat:
310310
publishTaskPrefix: 1ES.
311+
runtimeSourceProperties: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
311312

312313
############### PUBLISH STAGE ###############
313314
- ${{ if and(eq(parameters.runTestBuild, false), ne(variables['Build.Reason'], 'PullRequest')) }}:

.vsts-pr.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ resources:
2020
image: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
2121
- container: centosStream9
2222
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9
23-
- container: debian11Amd64
24-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-amd64
23+
- container: debian12Amd64
24+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-gcc14-amd64
2525
- container: fedora39
2626
image: mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-39
27-
- container: ubuntu2204
28-
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04
27+
- container: ubuntu2204DebPkg
28+
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
2929

3030
stages:
3131
############### BUILD STAGE ###############
@@ -62,6 +62,7 @@ stages:
6262
############### SOURCE BUILD ###############
6363
- template: /eng/common/templates/job/source-build.yml
6464
parameters:
65+
enableInternalSources: true
6566
platform:
6667
name: Managed
6768
container: centosStream9

eng/Version.Details.xml

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

eng/Versions.props

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

eng/common/tools.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ function IsWindowsPlatform() {
900900
}
901901

902902
function Get-Darc($version) {
903-
$darcPath = "$TempDir\darc\$(New-Guid)"
903+
$darcPath = "$TempDir\darc\$([guid]::NewGuid())"
904904
if ($version -ne $null) {
905905
& $PSScriptRoot\darc-init.ps1 -toolpath $darcPath -darcVersion $version | Out-Host
906906
} else {

eng/dotnet-format/dotnet-format-integration.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ parameters:
6060
- name: timeoutInMinutes
6161
type: number
6262
default: 90
63+
- name: runtimeSourceProperties
64+
type: string
65+
default: ''
6366

6467
jobs:
6568
- job: Formatting_Check
@@ -74,11 +77,13 @@ jobs:
7477
os: windows
7578
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
7679
steps:
77-
- script: .\restore.cmd
80+
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
81+
- template: /eng/common/templates/steps/enable-internal-sources.yml
82+
- script: .\restore.cmd ${{ parameters.runtimeSourceProperties }}
7883
displayName: Restore dependencies
7984
- script: |
8085
.\artifacts\sdk-build-env.bat
81-
dotnet run --project .\src\BuiltInTools\dotnet-format\dotnet-format.csproj -c Release -- @eng\dotnet-format\validate.rsp
86+
dotnet run --project .\src\BuiltInTools\dotnet-format\dotnet-format.csproj -c Release -- @eng\dotnet-format\validate.rsp
8287
displayName: Run dotnet-format
8388
- task: ${{ parameters.oneESCompat.publishTaskPrefix }}PublishBuildArtifacts@1
8489
displayName: Publish Logs
@@ -101,7 +106,9 @@ jobs:
101106
os: windows
102107
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
103108
steps:
104-
- script: eng\dotnet-format\integration-test.cmd -repo '${{ testArgs._repo }}' -branchName '${{ testArgs._branchName }}' -sha '${{ testArgs._sha }}' -targetSolution '${{ testArgs._targetSolution }}' -useParentSdk ${{ testArgs._useParentSdk }} -testPath '$(Agent.TempDirectory)\temp' -stage 'prepare'
109+
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
110+
- template: /eng/common/templates/steps/enable-internal-sources.yml
111+
- script: eng\dotnet-format\integration-test.cmd -repo '${{ testArgs._repo }}' -branchName '${{ testArgs._branchName }}' -sha '${{ testArgs._sha }}' -targetSolution '${{ testArgs._targetSolution }}' -useParentSdk ${{ testArgs._useParentSdk }} -testPath '$(Agent.TempDirectory)\temp' -stage 'prepare' -runtimeSourceProperties '${{ parameters.runtimeSourceProperties }}'
105112
displayName: Prepare ${{ testArgs._repoName }} for formatting
106113

107114
- script: eng\dotnet-format\integration-test.cmd -repo '${{ testArgs._repo }}' -branchName '${{ testArgs._branchName }}' -sha '${{ testArgs._sha }}' -targetSolution '${{ testArgs._targetSolution }}' -useParentSdk ${{ testArgs._useParentSdk }} -testPath '$(Agent.TempDirectory)\temp' -stage 'format-workspace'

eng/dotnet-format/format-verifier.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ Param(
44
[string]$sha,
55
[string]$branchName,
66
[string]$targetSolution,
7+
[string]$runtimeSourceProperties,
78
[bool]$useParentSdk,
89
[string]$testPath,
910
[string]$stage # Valid values are "prepare", "format-workspace", "format-folder"
1011
)
1112

1213
if ($stage -eq "prepare") {
1314
Write-Output "$(Get-Date) - Building dotnet-format."
14-
.\build.cmd -c Release
15+
.\build.cmd -c Release $runtimeSourceProperties
1516
}
1617

1718
$currentLocation = Get-Location

eng/pipelines/templates/jobs/sdk-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
artifactName: BuildConfiguration
6363

6464
# Populate internal runtime variables.
65+
- template: /eng/common/templates/steps/enable-internal-sources.yml
66+
parameters:
67+
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
6568
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
6669

6770
############### BUILDING ###############

eng/pipelines/templates/jobs/sdk-job-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ parameters:
2828
# Don't run the tests on arm64. Only perform the build itself.
2929
runTests: false
3030
- categoryName: ContainerBased
31-
container: ubuntu2204
31+
container: ubuntu2204DebPkg
3232
helixTargetContainer: $(helixTargetContainerPrefix)ubuntu-22.04-helix-amd64
3333
osProperties: $(linuxOsPortableProperties)
3434
# Skipping all container-based testing for now.
@@ -50,7 +50,7 @@ parameters:
5050
# See: https://github.com/dotnet/sdk/issues/40935
5151
runTests: false
5252
- categoryName: ContainerBased
53-
container: debian11Amd64
53+
container: debian12Amd64
5454
helixTargetContainer: $(helixTargetContainerPrefix)debian-11-helix-amd64
5555
osProperties: /p:OSName=linux /p:BuildSdkDeb=true
5656
# Skipping all container-based testing for now.

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "9.0.100-rc.1.24452.12",
3+
"dotnet": "9.0.100-rc.2.24474.11",
44
"runtimes": {
55
"dotnet": [
66
"$(VSRedistCommonNetCoreSharedFrameworkx6490PackageVersion)"
@@ -17,8 +17,8 @@
1717
"cmake": "latest"
1818
},
1919
"msbuild-sdks": {
20-
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24503.2",
21-
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.24503.2",
20+
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24509.3",
21+
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.24509.3",
2222
"Microsoft.Build.NoTargets": "3.7.0",
2323
"Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.24217.1"
2424
}

0 commit comments

Comments
 (0)