Skip to content

Commit bb66e68

Browse files
vseanreesermsftmmitche
authored andcommitted
Merged PR 31953: [internal/release/6.0] Merge from public
Merge from public release/6.0 to internal/release/6.0 and resolve conflicts if necessary
2 parents 191dd6b + ec36c16 commit bb66e68

File tree

5 files changed

+40
-20
lines changed

5 files changed

+40
-20
lines changed

eng/Version.Details.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,22 +280,22 @@
280280
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
281281
<Sha>fcf11495c6989362aa1012dc0d303ce619413624</Sha>
282282
</Dependency>
283-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.23211.7">
283+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="6.0.0-beta.23313.5">
284284
<Uri>https://github.com/dotnet/arcade</Uri>
285-
<Sha>7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26</Sha>
285+
<Sha>91616785a1a6578c83f7e93d98c34a1eb83d6223</Sha>
286286
<SourceBuild RepoName="arcade" ManagedOnly="true" />
287287
</Dependency>
288-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.23211.7">
288+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="6.0.0-beta.23313.5">
289289
<Uri>https://github.com/dotnet/arcade</Uri>
290-
<Sha>7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26</Sha>
290+
<Sha>91616785a1a6578c83f7e93d98c34a1eb83d6223</Sha>
291291
</Dependency>
292-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="6.0.0-beta.23211.7">
292+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="6.0.0-beta.23313.5">
293293
<Uri>https://github.com/dotnet/arcade</Uri>
294-
<Sha>7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26</Sha>
294+
<Sha>91616785a1a6578c83f7e93d98c34a1eb83d6223</Sha>
295295
</Dependency>
296-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.23211.7">
296+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.23313.5">
297297
<Uri>https://github.com/dotnet/arcade</Uri>
298-
<Sha>7bca7a24dfc0eded1f3e364b4ff7bf1235b6eb26</Sha>
298+
<Sha>91616785a1a6578c83f7e93d98c34a1eb83d6223</Sha>
299299
</Dependency>
300300
</ToolsetDependencies>
301301
</Dependencies>

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@
131131
<MicrosoftEntityFrameworkCoreVersion>6.0.19</MicrosoftEntityFrameworkCoreVersion>
132132
<MicrosoftEntityFrameworkCoreDesignVersion>6.0.19</MicrosoftEntityFrameworkCoreDesignVersion>
133133
<!-- Packages from dotnet/arcade -->
134-
<MicrosoftDotNetBuildTasksInstallersVersion>6.0.0-beta.23211.7</MicrosoftDotNetBuildTasksInstallersVersion>
135-
<MicrosoftDotNetBuildTasksTemplatingVersion>6.0.0-beta.23211.7</MicrosoftDotNetBuildTasksTemplatingVersion>
134+
<MicrosoftDotNetBuildTasksInstallersVersion>6.0.0-beta.23313.5</MicrosoftDotNetBuildTasksInstallersVersion>
135+
<MicrosoftDotNetBuildTasksTemplatingVersion>6.0.0-beta.23313.5</MicrosoftDotNetBuildTasksTemplatingVersion>
136136
</PropertyGroup>
137137
<!--
138138

eng/common/templates/job/job.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ parameters:
2424
enablePublishBuildAssets: false
2525
enablePublishTestResults: false
2626
enablePublishUsingPipelines: false
27-
disableComponentGovernance: false
27+
disableComponentGovernance: ''
2828
mergeTestResults: false
2929
testRunTitle: ''
3030
testResultsFormat: ''
@@ -73,6 +73,10 @@ jobs:
7373
- ${{ if eq(parameters.enableRichCodeNavigation, 'true') }}:
7474
- name: EnableRichCodeNavigation
7575
value: 'true'
76+
# Retry signature validation up to three times, waiting 2 seconds between attempts.
77+
# See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures
78+
- name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY
79+
value: 3,2000
7680
- ${{ each variable in parameters.variables }}:
7781
# handle name-value variable syntax
7882
# example:
@@ -81,7 +85,7 @@ jobs:
8185
- ${{ if ne(variable.name, '') }}:
8286
- name: ${{ variable.name }}
8387
value: ${{ variable.value }}
84-
88+
8589
# handle variable groups
8690
- ${{ if ne(variable.group, '') }}:
8791
- group: ${{ variable.group }}
@@ -141,14 +145,20 @@ jobs:
141145
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
142146
continueOnError: true
143147

144-
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}:
145-
- task: ComponentGovernanceComponentDetection@0
146-
continueOnError: true
148+
- template: /eng/common/templates/steps/component-governance.yml
149+
parameters:
150+
${{ if eq(parameters.disableComponentGovernance, '') }}:
151+
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
152+
disableComponentGovernance: false
153+
${{ else }}:
154+
disableComponentGovernance: true
155+
${{ else }}:
156+
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
147157

148158
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
149159
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
150160
- task: MicroBuildCleanup@1
151-
displayName: Execute Microbuild cleanup tasks
161+
displayName: Execute Microbuild cleanup tasks
152162
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
153163
continueOnError: ${{ parameters.continueOnError }}
154164
env:
@@ -216,7 +226,7 @@ jobs:
216226
displayName: Publish XUnit Test Results
217227
inputs:
218228
testResultsFormat: 'xUnit'
219-
testResultsFiles: '*.xml'
229+
testResultsFiles: '*.xml'
220230
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
221231
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit
222232
mergeTestResults: ${{ parameters.mergeTestResults }}
@@ -227,7 +237,7 @@ jobs:
227237
displayName: Publish TRX Test Results
228238
inputs:
229239
testResultsFormat: 'VSTest'
230-
testResultsFiles: '*.trx'
240+
testResultsFiles: '*.trx'
231241
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
232242
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx
233243
mergeTestResults: ${{ parameters.mergeTestResults }}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
parameters:
2+
disableComponentGovernance: false
3+
4+
steps:
5+
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
6+
- script: "echo ##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
7+
displayName: Set skipComponentGovernanceDetection variable
8+
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
9+
- task: ComponentGovernanceComponentDetection@0
10+
continueOnError: true

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"msbuild-sdks": {
3131
"Yarn.MSBuild": "1.22.10",
32-
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.23211.7",
33-
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23211.7"
32+
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.23313.5",
33+
"Microsoft.DotNet.Helix.Sdk": "6.0.0-beta.23313.5"
3434
}
3535
}

0 commit comments

Comments
 (0)