Skip to content

Commit cbf06ef

Browse files
Bump to dotnet/dotnet@fb84ad6786 11.0.100-rc.2.26427.127 (#12581)
Changes: dotnet/dotnet@7cdb217...fb84ad6 - **Dependency Updates**: - From [11.0.0-beta.26411.119 to 11.0.0-beta.26427.127][1] - Microsoft.DotNet.Arcade.Sdk - Microsoft.DotNet.Build.Tasks.Feed - From [0.11.5-preview.26411.119 to 0.11.5-preview.26427.127][1] - Microsoft.DotNet.Cecil - From [11.0.0-rc.1.26411.119 to 11.0.0-rc.2.26427.127][1] - Microsoft.NET.ILLink - Microsoft.NETCore.App.Ref - From [11.0.100-rc.1.26411.119 to 11.0.100-rc.2.26427.127][1] - Microsoft.NET.Sdk - Microsoft.TemplateEngine.Authoring.Tasks [1]: dotnet/dotnet@7cdb217...fb84ad6
1 parent cf93dff commit cbf06ef

8 files changed

Lines changed: 77 additions & 41 deletions

File tree

eng/Version.Details.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Dependencies>
22
<ProductDependencies>
3-
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-rc.1.26411.119">
3+
<Dependency Name="Microsoft.NET.Sdk" Version="11.0.100-rc.2.26427.127">
44
<Uri>https://github.com/dotnet/dotnet</Uri>
5-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
5+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
66
</Dependency>
7-
<Dependency Name="Microsoft.NET.ILLink" Version="11.0.0-rc.1.26411.119">
7+
<Dependency Name="Microsoft.NET.ILLink" Version="11.0.0-rc.2.26427.127">
88
<Uri>https://github.com/dotnet/dotnet</Uri>
9-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
9+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
1010
</Dependency>
11-
<Dependency Name="Microsoft.NETCore.App.Ref" Version="11.0.0-rc.1.26411.119">
11+
<Dependency Name="Microsoft.NETCore.App.Ref" Version="11.0.0-rc.2.26427.127">
1212
<Uri>https://github.com/dotnet/dotnet</Uri>
13-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
13+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
1414
</Dependency>
15-
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-preview.26411.119">
15+
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-preview.26427.127">
1616
<Uri>https://github.com/dotnet/dotnet</Uri>
17-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
17+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
1818
</Dependency>
1919
<Dependency Name="Microsoft.NET.Workload.Mono.Toolchain.Current.Manifest-11.0.100-preview.4" Version="11.0.100-preview.4.26215.121">
2020
<Uri>https://github.com/dotnet/dotnet</Uri>
@@ -36,17 +36,17 @@
3636
</Dependency>
3737
</ProductDependencies>
3838
<ToolsetDependencies>
39-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26411.119">
39+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.26427.127">
4040
<Uri>https://github.com/dotnet/dotnet</Uri>
41-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
41+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
4242
</Dependency>
43-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.26411.119">
43+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.26427.127">
4444
<Uri>https://github.com/dotnet/dotnet</Uri>
45-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
45+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
4646
</Dependency>
47-
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-rc.1.26411.119">
47+
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-rc.2.26427.127">
4848
<Uri>https://github.com/dotnet/dotnet</Uri>
49-
<Sha>7cdb217445905f3342bbb0266a4497b9a014389a</Sha>
49+
<Sha>fb84ad6786f66923632768b97128d7343ae4eae8</Sha>
5050
</Dependency>
5151
<Dependency Name="MSTest" Version="4.4.0-preview.26418.7">
5252
<Uri>https://github.com/microsoft/testfx</Uri>

eng/Versions.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project>
22
<!--Package versions-->
33
<PropertyGroup>
4-
<MicrosoftNETSdkPackageVersion>11.0.100-rc.1.26411.119</MicrosoftNETSdkPackageVersion>
4+
<MicrosoftNETSdkPackageVersion>11.0.100-rc.2.26427.127</MicrosoftNETSdkPackageVersion>
55
<MicrosoftDotnetSdkInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetSdkInternalPackageVersion>
6-
<MicrosoftNETILLinkPackageVersion>11.0.0-rc.1.26411.119</MicrosoftNETILLinkPackageVersion>
7-
<MicrosoftNETCoreAppRefPackageVersion>11.0.0-rc.1.26411.119</MicrosoftNETCoreAppRefPackageVersion>
6+
<MicrosoftNETILLinkPackageVersion>11.0.0-rc.2.26427.127</MicrosoftNETILLinkPackageVersion>
7+
<MicrosoftNETCoreAppRefPackageVersion>11.0.0-rc.2.26427.127</MicrosoftNETCoreAppRefPackageVersion>
88
<MicrosoftDotNetApiCompatPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetApiCompatPackageVersion>
99
<!-- Last version built for net10.0, needed for CI steps that only have the .NET 10 SDK installed (e.g., BAR manifest publishing) -->
1010
<MicrosoftDotNetBuildTasksFeedPackageVersionNet10>11.0.0-beta.26060.102</MicrosoftDotNetBuildTasksFeedPackageVersionNet10>
11-
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.26411.119</MicrosoftDotNetBuildTasksFeedPackageVersion>
11+
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.26427.127</MicrosoftDotNetBuildTasksFeedPackageVersion>
1212
<MicrosoftNETWorkloadMonoToolchainCurrentManifest110100preview4PackageVersion>11.0.100-preview.4.26215.121</MicrosoftNETWorkloadMonoToolchainCurrentManifest110100preview4PackageVersion>
1313
<MicrosoftNETWorkloadEmscriptenCurrentManifest110100preview4PackageVersion>11.0.100-preview.4.26215.121</MicrosoftNETWorkloadEmscriptenCurrentManifest110100preview4PackageVersion>
1414
<MicrosoftNETWorkloadMonoToolChainPackageVersion>$(MicrosoftNETWorkloadMonoToolChainCurrentManifest110100preview4PackageVersion)</MicrosoftNETWorkloadMonoToolChainPackageVersion>
1515
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest110100preview4PackageVersion)</MicrosoftNETWorkloadEmscriptenPackageVersion>
16-
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-rc.1.26411.119</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
17-
<MicrosoftDotNetCecilPackageVersion>0.11.5-preview.26411.119</MicrosoftDotNetCecilPackageVersion>
16+
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-rc.2.26427.127</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
17+
<MicrosoftDotNetCecilPackageVersion>0.11.5-preview.26427.127</MicrosoftDotNetCecilPackageVersion>
1818
<MSTestPackageVersion>4.4.0-preview.26418.7</MSTestPackageVersion>
1919
<SystemIOHashingPackageVersion>10.0.11</SystemIOHashingPackageVersion>
2020
<SystemReflectionMetadataPackageVersion>11.0.0-preview.1.26104.118</SystemReflectionMetadataPackageVersion>

eng/common/Get-GitHubAppToken.ps1

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,13 @@ try {
113113
$installations = @()
114114
$page = 1
115115
do {
116-
$pageInstallations = @(Invoke-RestMethod `
116+
# Assign the response before wrapping it in @(). PowerShell otherwise
117+
# preserves a top-level JSON array as one nested pipeline object.
118+
$pageResponse = Invoke-RestMethod `
117119
-Uri "https://api.github.com/app/installations?per_page=100&page=$page" `
118120
-Headers $headers `
119-
-Method Get)
121+
-Method Get
122+
$pageInstallations = @($pageResponse)
120123
$installations += $pageInstallations
121124
$page++
122125
} while ($pageInstallations.Count -eq 100)
@@ -125,12 +128,19 @@ catch {
125128
Write-PipelineTelemetryError -Category 'Build' -Message "Failed to list GitHub App installations: $_. The signed JWT may be invalid or the App's Client ID ('$AppClientId') may be incorrect."
126129
exit 1
127130
}
128-
$installation = $installations | Where-Object { $_.account.login -ieq $InstallationOwner } | Select-Object -First 1
129-
if (-not $installation) {
131+
$matchingInstallations = @($installations | Where-Object { $_.account.login -ieq $InstallationOwner })
132+
if ($matchingInstallations.Count -eq 0) {
130133
$found = ($installations | ForEach-Object { $_.account.login }) -join ', '
131134
Write-PipelineTelemetryError -Category 'Build' -Message "No installation found for '$InstallationOwner'. App is installed on: $found"
132135
exit 1
133136
}
137+
if ($matchingInstallations.Count -ne 1) {
138+
$matchingIds = ($matchingInstallations | ForEach-Object { $_.id }) -join ', '
139+
Write-PipelineTelemetryError -Category 'Build' -Message "Found multiple installations for '$InstallationOwner': $matchingIds"
140+
exit 1
141+
}
142+
$installation = $matchingInstallations[0]
143+
Write-Host "Using installation $($installation.id) for '$($installation.account.login)'."
134144

135145
try {
136146
$tokenResponse = Invoke-RestMethod `

eng/common/core-templates/job/helix-job-monitor.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ parameters:
8484
type: boolean
8585
default: false
8686

87+
# Controls per-test output attachments. Defaults to Failed.
88+
- name: testResultAttachmentMode
89+
type: string
90+
default: Failed
91+
values:
92+
- Failed
93+
- All
94+
- None
95+
8796
# Advanced: optional pipeline artifact (produced earlier in this run) that contains the tool
8897
# nupkg. When set, the artifact is downloaded and the tool is installed from the nupkg into
8998
# a local tool-path; this bypasses the repo's .config/dotnet-tools.json manifest and is
@@ -210,6 +219,7 @@ jobs:
210219
211220
organization='${{ parameters.organization }}'
212221
repository='${{ parameters.repository }}'
222+
testResultAttachmentMode='${{ parameters.testResultAttachmentMode }}'
213223
214224
# Fall back to Azure DevOps-provided environment variables when the caller did not
215225
# supply organization / repository explicitly. BUILD_REPOSITORY_NAME is typically
@@ -232,6 +242,9 @@ jobs:
232242
233243
if [ -n "$organization" ]; then toolArgs+=( --organization "$organization" ); fi
234244
if [ -n "$repository" ]; then toolArgs+=( --repository "$repository" ); fi
245+
if [ -n "$testResultAttachmentMode" ]; then
246+
toolArgs+=( --test-result-attachment-mode "$testResultAttachmentMode" )
247+
fi
235248
236249
# Build.Reason and Build.SourceBranch are required to derive the Helix source filter
237250
# the same way the Helix SDK submitter does (PR -> 'pr', internal -> 'official',

eng/common/core-templates/job/onelocbuild.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ parameters:
1414
# exist, and any pipeline that sets this to '' fall back to PAT-based auth via the CeapexPat parameter.
1515
CeapexServiceConnection: 'dnceng-onelocbuild-ceapex'
1616

17-
# GitHub App authentication for the OneLoc check-in PR (dnceng/internal only).
18-
# The infrastructure identifiers are centralized here and the App path is enabled by default.
19-
# DevDiv requires its own project-scoped service connection before this path can be enabled there.
17+
# GitHub App authentication for the OneLoc check-in PR.
18+
# dnceng/internal and DevDiv/DevDiv are enabled by default with their project-scoped service
19+
# connections. Other projects must explicitly opt in after provisioning equivalent infrastructure.
2020
UseGitHubAppAuthentication: true
21+
UseGitHubAppAuthenticationInOtherProjects: false
2122
GitHubAppServiceConnection: 'dnceng-oneloc-githubapp'
2223
GitHubAppClientId: 'Iv23lijBU8x3gc9lDOc9'
2324
GitHubAppKeyVaultName: 'EngKeyVault'
@@ -98,13 +99,16 @@ jobs:
9899
outputVariableName: 'CeapexEntraToken'
99100
condition: ${{ parameters.condition }}
100101

101-
# Mint a short-lived GitHub App installation token for the loc check-in PR (dnceng/internal only).
102-
# All other projects fall back to PAT-based auth, since the app service connection is scoped to dnceng/internal.
103-
- ${{ if and(eq(parameters.RepoType, 'gitHub'), eq(parameters.UseGitHubAppAuthentication, true), eq(variables['System.TeamProject'], 'internal')) }}:
102+
# Mint a short-lived GitHub App installation token for the loc check-in PR. Use the connection
103+
# provisioned in each supported project; other projects must explicitly opt in and override it.
104+
- ${{ if and(eq(parameters.RepoType, 'gitHub'), eq(parameters.UseGitHubAppAuthentication, true), or(eq(variables['System.TeamProject'], 'internal'), eq(variables['System.TeamProject'], 'DevDiv'), eq(parameters.UseGitHubAppAuthenticationInOtherProjects, true))) }}:
104105
- template: /eng/common/core-templates/steps/get-github-app-token.yml
105106
parameters:
106107
is1ESPipeline: ${{ parameters.is1ESPipeline }}
107-
azureSubscription: ${{ parameters.GitHubAppServiceConnection }}
108+
${{ if and(eq(variables['System.TeamProject'], 'DevDiv'), eq(parameters.GitHubAppServiceConnection, 'dnceng-oneloc-githubapp')) }}:
109+
azureSubscription: 'devdiv-oneloc-githubapp'
110+
${{ else }}:
111+
azureSubscription: ${{ parameters.GitHubAppServiceConnection }}
108112
keyVaultName: ${{ parameters.GitHubAppKeyVaultName }}
109113
keyName: ${{ parameters.GitHubAppKeyName }}
110114
appClientId: ${{ parameters.GitHubAppClientId }}
@@ -133,9 +137,9 @@ jobs:
133137
patVariable: ${{ parameters.CeapexPat }}
134138
${{ if eq(parameters.RepoType, 'gitHub') }}:
135139
repoType: ${{ parameters.RepoType }}
136-
${{ if and(eq(parameters.UseGitHubAppAuthentication, true), eq(variables['System.TeamProject'], 'internal')) }}:
140+
${{ if and(eq(parameters.UseGitHubAppAuthentication, true), or(eq(variables['System.TeamProject'], 'internal'), eq(variables['System.TeamProject'], 'DevDiv'), eq(parameters.UseGitHubAppAuthenticationInOtherProjects, true))) }}:
137141
gitHubPatVariable: "$(GitHubAppInstallationToken)"
138-
${{ if or(eq(parameters.UseGitHubAppAuthentication, false), ne(variables['System.TeamProject'], 'internal')) }}:
142+
${{ else }}:
139143
gitHubPatVariable: "${{ parameters.GithubPat }}"
140144
${{ if ne(parameters.MirrorRepo, '') }}:
141145
isMirrorRepoSelected: true

eng/common/core-templates/post-build/post-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ stages:
236236
StageLabel: 'Validation'
237237
JobLabel: 'Signing'
238238
BinlogToolVersion: $(BinlogToolVersion)
239+
enableInternalRuntimes: false
239240

240241
# SourceLink validation has been removed — the underlying CLI tool
241242
# (targeting netcoreapp2.1) has not functioned for years.

eng/common/core-templates/steps/publish-logs.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ parameters:
55
# A default - in case value from eng/common/core-templates/post-build/common-variables.yml is not passed
66
BinlogToolVersion: '1.0.11'
77
is1ESPipeline: false
8+
enableInternalRuntimes: true
89

910
steps:
1011
- task: Powershell@2
@@ -25,13 +26,20 @@ steps:
2526
# Sensitive data can as well be added to $(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt'
2627
# If the file exists - sensitive data for redaction will be sourced from it
2728
# (single entry per line, lines starting with '# ' are considered comments and skipped)
28-
arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs'
29-
-BinlogToolVersion '${{parameters.BinlogToolVersion}}'
30-
-TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt'
31-
-runtimeSourceFeed https://ci.dot.net/internal
32-
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'
33-
'$(System.AccessToken)'
34-
${{parameters.CustomSensitiveDataList}}
29+
${{ if and(eq(parameters.enableInternalRuntimes, true), ne(variables['System.TeamProject'], 'public')) }}:
30+
arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs'
31+
-BinlogToolVersion '${{parameters.BinlogToolVersion}}'
32+
-TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt'
33+
-runtimeSourceFeed https://ci.dot.net/internal
34+
-runtimeSourceFeedKey '$(dotnetbuilds-internal-container-read-token-base64)'
35+
'$(System.AccessToken)'
36+
${{parameters.CustomSensitiveDataList}}
37+
${{ else }}:
38+
arguments: -InputPath '$(System.DefaultWorkingDirectory)/PostBuildLogs'
39+
-BinlogToolVersion '${{parameters.BinlogToolVersion}}'
40+
-TokensFilePath '$(System.DefaultWorkingDirectory)/eng/BinlogSecretsRedactionFile.txt'
41+
'$(System.AccessToken)'
42+
${{parameters.CustomSensitiveDataList}}
3543
continueOnError: true
3644
condition: always()
3745

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
},
55
"msbuild-sdks": {
66
"Microsoft.Build.NoTargets": "3.7.134",
7-
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26411.119",
7+
"Microsoft.DotNet.Arcade.Sdk": "11.0.0-beta.26427.127",
88
"Microsoft.DotNet.Helix.Sdk": "11.0.0-beta.26411.119"
99
}
1010
}

0 commit comments

Comments
 (0)