Skip to content

Commit 43a25d8

Browse files
Update dependencies from https://github.com/dotnet/arcade build 20230613.4 (#31090)
[release/7.0] Update dependencies from dotnet/arcade
1 parent 1cfb53f commit 43a25d8

File tree

5 files changed

+37
-17
lines changed

5 files changed

+37
-17
lines changed

eng/Version.Details.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
</Dependency>
4040
</ProductDependencies>
4141
<ToolsetDependencies>
42-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.23211.2">
42+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.23313.4">
4343
<Uri>https://github.com/dotnet/arcade</Uri>
44-
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
44+
<Sha>59ac824080b9807fd91dbc8a6d2b4447e74874ab</Sha>
4545
</Dependency>
46-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="7.0.0-beta.23211.2">
46+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="7.0.0-beta.23313.4">
4747
<Uri>https://github.com/dotnet/arcade</Uri>
48-
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
48+
<Sha>59ac824080b9807fd91dbc8a6d2b4447e74874ab</Sha>
4949
</Dependency>
50-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.23211.2">
50+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.23313.4">
5151
<Uri>https://github.com/dotnet/arcade</Uri>
52-
<Sha>7c5e5a782c67460b123c8e41d484ebcca8002c93</Sha>
52+
<Sha>59ac824080b9807fd91dbc8a6d2b4447e74874ab</Sha>
5353
</Dependency>
5454
</ToolsetDependencies>
5555
</Dependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<MicrosoftExtensionsLoggingVersion>7.0.0</MicrosoftExtensionsLoggingVersion>
2626
</PropertyGroup>
2727
<PropertyGroup Label="Dependencies from dotnet/arcade">
28-
<MicrosoftDotNetBuildTasksTemplatingVersion>7.0.0-beta.23211.2</MicrosoftDotNetBuildTasksTemplatingVersion>
28+
<MicrosoftDotNetBuildTasksTemplatingVersion>7.0.0-beta.23313.4</MicrosoftDotNetBuildTasksTemplatingVersion>
2929
</PropertyGroup>
3030
<PropertyGroup Label="Other dependencies">
3131
<!-- NB: Roslyn version affects the minimum required Visual Studio version -->

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 }}
@@ -142,14 +146,20 @@ jobs:
142146
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
143147
continueOnError: true
144148

145-
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(parameters.disableComponentGovernance, 'true')) }}:
146-
- task: ComponentGovernanceComponentDetection@0
147-
continueOnError: true
149+
- template: /eng/common/templates/steps/component-governance.yml
150+
parameters:
151+
${{ if eq(parameters.disableComponentGovernance, '') }}:
152+
${{ 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'))) }}:
153+
disableComponentGovernance: false
154+
${{ else }}:
155+
disableComponentGovernance: true
156+
${{ else }}:
157+
disableComponentGovernance: ${{ parameters.disableComponentGovernance }}
148158

149159
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
150160
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
151161
- task: MicroBuildCleanup@1
152-
displayName: Execute Microbuild cleanup tasks
162+
displayName: Execute Microbuild cleanup tasks
153163
condition: and(always(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
154164
continueOnError: ${{ parameters.continueOnError }}
155165
env:
@@ -217,7 +227,7 @@ jobs:
217227
displayName: Publish XUnit Test Results
218228
inputs:
219229
testResultsFormat: 'xUnit'
220-
testResultsFiles: '*.xml'
230+
testResultsFiles: '*.xml'
221231
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
222232
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit
223233
mergeTestResults: ${{ parameters.mergeTestResults }}
@@ -228,7 +238,7 @@ jobs:
228238
displayName: Publish TRX Test Results
229239
inputs:
230240
testResultsFormat: 'VSTest'
231-
testResultsFiles: '*.trx'
241+
testResultsFiles: '*.trx'
232242
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
233243
testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx
234244
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
@@ -8,7 +8,7 @@
88
"rollForward": "latestMajor"
99
},
1010
"msbuild-sdks": {
11-
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23211.2",
12-
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.23211.2"
11+
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.23313.4",
12+
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.23313.4"
1313
}
1414
}

0 commit comments

Comments
 (0)