Skip to content

Commit 2a3e01e

Browse files
Update dependencies from https://github.com/dotnet/dotnet build 20251120.1
On relative base path root Microsoft.NET.Runtime.MonoTargets.Sdk , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Ref From Version 10.0.0-rc.3.25569.110 -> To Version 10.0.0-rc.3.25570.101 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.SharedFramework.Sdk From Version 11.0.0-beta.25569.110 -> To Version 11.0.0-beta.25570.101 Microsoft.DotNet.Cecil From Version 0.11.5-alpha.25569.110 -> To Version 0.11.5-alpha.25570.101 Microsoft.NET.Sdk From Version 10.0.100-rc.3.25569.110 -> To Version 10.0.100-rc.3.25570.101 Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-alpha.25569.110 -> To Version 11.0.100-alpha.25570.101
1 parent 51e1f75 commit 2a3e01e

18 files changed

+235
-68
lines changed

eng/Version.Details.props

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ This file should be imported by eng/Versions.props
66
<Project>
77
<PropertyGroup>
88
<!-- dotnet/dotnet dependencies -->
9-
<MicrosoftDotNetArcadeSdkPackageVersion>11.0.0-beta.25569.110</MicrosoftDotNetArcadeSdkPackageVersion>
10-
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.25569.110</MicrosoftDotNetBuildTasksFeedPackageVersion>
11-
<MicrosoftDotNetCecilPackageVersion>0.11.5-alpha.25569.110</MicrosoftDotNetCecilPackageVersion>
12-
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>11.0.0-beta.25569.110</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
13-
<MicrosoftNETILLinkPackageVersion>10.0.0-rc.3.25569.110</MicrosoftNETILLinkPackageVersion>
14-
<MicrosoftNETILLinkTasksPackageVersion>10.0.0-rc.3.25569.110</MicrosoftNETILLinkTasksPackageVersion>
15-
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>10.0.0-rc.3.25569.110</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
16-
<MicrosoftNETSdkPackageVersion>10.0.100-rc.3.25569.110</MicrosoftNETSdkPackageVersion>
17-
<MicrosoftNETCoreAppRefPackageVersion>10.0.0-rc.3.25569.110</MicrosoftNETCoreAppRefPackageVersion>
18-
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-alpha.25569.110</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
9+
<MicrosoftDotNetArcadeSdkPackageVersion>11.0.0-beta.25570.101</MicrosoftDotNetArcadeSdkPackageVersion>
10+
<MicrosoftDotNetBuildTasksFeedPackageVersion>11.0.0-beta.25570.101</MicrosoftDotNetBuildTasksFeedPackageVersion>
11+
<MicrosoftDotNetCecilPackageVersion>0.11.5-alpha.25570.101</MicrosoftDotNetCecilPackageVersion>
12+
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>11.0.0-beta.25570.101</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
13+
<MicrosoftNETILLinkPackageVersion>10.0.0-rc.3.25570.101</MicrosoftNETILLinkPackageVersion>
14+
<MicrosoftNETILLinkTasksPackageVersion>10.0.0-rc.3.25570.101</MicrosoftNETILLinkTasksPackageVersion>
15+
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>10.0.0-rc.3.25570.101</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
16+
<MicrosoftNETSdkPackageVersion>10.0.100-rc.3.25570.101</MicrosoftNETSdkPackageVersion>
17+
<MicrosoftNETCoreAppRefPackageVersion>10.0.0-rc.3.25570.101</MicrosoftNETCoreAppRefPackageVersion>
18+
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>11.0.100-alpha.25570.101</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
1919
<!-- dotnet/macios dependencies -->
2020
<MicrosoftiOSSdknet100_260PackageVersion>26.0.11017</MicrosoftiOSSdknet100_260PackageVersion>
2121
<MicrosoftiOSSdknet90_185PackageVersion>18.5.9227</MicrosoftiOSSdknet90_185PackageVersion>

eng/Version.Details.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<Dependencies>
22
<ProductDependencies>
3-
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.100-rc.3.25569.110">
3+
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.100-rc.3.25570.101">
44
<Uri>https://github.com/dotnet/dotnet</Uri>
5-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
5+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
66
</Dependency>
7-
<Dependency Name="Microsoft.NET.ILLink" Version="10.0.0-rc.3.25569.110">
7+
<Dependency Name="Microsoft.NET.ILLink" Version="10.0.0-rc.3.25570.101">
88
<Uri>https://github.com/dotnet/dotnet</Uri>
9-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
9+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
1010
</Dependency>
11-
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="10.0.0-rc.3.25569.110">
11+
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="10.0.0-rc.3.25570.101">
1212
<Uri>https://github.com/dotnet/dotnet</Uri>
13-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
13+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
1414
</Dependency>
15-
<Dependency Name="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="10.0.0-rc.3.25569.110">
15+
<Dependency Name="Microsoft.NET.Runtime.MonoTargets.Sdk" Version="10.0.0-rc.3.25570.101">
1616
<Uri>https://github.com/dotnet/dotnet</Uri>
17-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
17+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
1818
</Dependency>
1919
<!-- Set TRACKING_DOTNET_RUNTIME_SEPARATELY to something in Make.config if changing the version outside of dependency flow -->
20-
<Dependency Name="Microsoft.NETCore.App.Ref" Version="10.0.0-rc.3.25569.110">
20+
<Dependency Name="Microsoft.NETCore.App.Ref" Version="10.0.0-rc.3.25570.101">
2121
<Uri>https://github.com/dotnet/dotnet</Uri>
22-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
22+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
2323
</Dependency>
24-
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-alpha.25569.110">
24+
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.5-alpha.25570.101">
2525
<Uri>https://github.com/dotnet/dotnet</Uri>
26-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
26+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
2727
</Dependency>
2828
<!-- This is a subscription of the .NET 9 latest stable versions of our packages -->
2929
<Dependency Name="Microsoft.MacCatalyst.Sdk.net9.0_18.5" Version="18.5.9227">
@@ -95,25 +95,25 @@
9595
</Dependency>
9696
</ProductDependencies>
9797
<ToolsetDependencies>
98-
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.25569.110">
98+
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="11.0.0-beta.25570.101">
9999
<Uri>https://github.com/dotnet/dotnet</Uri>
100-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
100+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
101101
</Dependency>
102-
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="11.0.0-beta.25569.110">
102+
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="11.0.0-beta.25570.101">
103103
<Uri>https://github.com/dotnet/dotnet</Uri>
104-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
104+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
105105
</Dependency>
106-
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-alpha.25569.110">
106+
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="11.0.100-alpha.25570.101">
107107
<Uri>https://github.com/dotnet/dotnet</Uri>
108-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
108+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
109109
</Dependency>
110110
<Dependency Name="Microsoft.DotNet.XHarness.iOS.Shared" Version="10.0.0-prerelease.25516.4">
111111
<Uri>https://github.com/dotnet/xharness</Uri>
112112
<Sha>88399512021dfa8b5f45d91f84c8ce6f0959b127</Sha>
113113
</Dependency>
114-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.25569.110">
114+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="11.0.0-beta.25570.101">
115115
<Uri>https://github.com/dotnet/dotnet</Uri>
116-
<Sha>ea77dd1498eeaae360c4309d07ccd68c8936fe48</Sha>
116+
<Sha>e9a2ab63ad60de1afff34ddc3f09257093ea034a</Sha>
117117
<SourceBuild RepoName="arcade" ManagedOnly="true" />
118118
</Dependency>
119119
</ToolsetDependencies>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ parameters:
3131
testRunTitle: ''
3232
testResultsFormat: ''
3333
name: ''
34+
componentGovernanceSteps: []
3435
preSteps: []
3536
artifactPublishSteps: []
3637
runAsPublic: false
@@ -149,6 +150,9 @@ jobs:
149150
- ${{ each step in parameters.steps }}:
150151
- ${{ step }}
151152

153+
- ${{ each step in parameters.componentGovernanceSteps }}:
154+
- ${{ step }}
155+
152156
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
153157
- template: /eng/common/core-templates/steps/cleanup-microbuild.yml
154158
parameters:

eng/common/core-templates/job/publish-build-assets.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ jobs:
122122

123123
# Populate internal runtime variables.
124124
- template: /eng/common/templates/steps/enable-internal-sources.yml
125-
parameters:
126-
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
125+
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
126+
parameters:
127+
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
127128

128129
- template: /eng/common/templates/steps/enable-internal-runtimes.yml
129130

@@ -172,7 +173,7 @@ jobs:
172173
artifactName: AssetManifests
173174
displayName: 'Publish Merged Manifest'
174175
retryCountOnTaskFailure: 10 # for any logs being locked
175-
isProduction: false
176+
sbomEnabled: false # we don't need SBOM for logs
176177

177178
- template: /eng/common/core-templates/steps/publish-build-artifacts.yml
178179
parameters:

eng/common/core-templates/job/source-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
pool:
6161
${{ if eq(variables['System.TeamProject'], 'public') }}:
6262
name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]
63-
demands: ImageOverride -equals build.ubuntu.2004.amd64
63+
demands: ImageOverride -equals build.ubuntu.2204.amd64
6464
${{ if eq(variables['System.TeamProject'], 'internal') }}:
6565
name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]
6666
image: 1es-mariner-2

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,9 @@ stages:
305305
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
306306
is1ESPipeline: ${{ parameters.is1ESPipeline }}
307307

308-
- task: NuGetAuthenticate@1 # Populate internal runtime variables.
308+
- task: NuGetAuthenticate@1
309309

310+
# Populate internal runtime variables.
310311
- template: /eng/common/templates/steps/enable-internal-sources.yml
311312
parameters:
312313
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
parameters:
2+
disableComponentGovernance: false
3+
componentGovernanceIgnoreDirectories: ''
4+
is1ESPipeline: false
5+
displayName: 'Component Detection'
6+
7+
steps:
8+
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
9+
- script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
10+
displayName: Set skipComponentGovernanceDetection variable
11+
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
12+
- task: ComponentGovernanceComponentDetection@0
13+
continueOnError: true
14+
displayName: ${{ parameters.displayName }}
15+
inputs:
16+
ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}
Lines changed: 50 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,54 @@
1+
# BuildDropPath - The root folder of the drop directory for which the manifest file will be generated.
2+
# PackageName - The name of the package this SBOM represents.
3+
# PackageVersion - The version of the package this SBOM represents.
4+
# ManifestDirPath - The path of the directory where the generated manifest files will be placed
5+
# IgnoreDirectories - Directories to ignore for SBOM generation. This will be passed through to the CG component detector.
6+
17
parameters:
2-
PackageVersion: unused
3-
BuildDropPath: unused
4-
PackageName: unused
5-
ManifestDirPath: unused
6-
IgnoreDirectories: unused
7-
sbomContinueOnError: unused
8-
is1ESPipeline: unused
9-
publishArtifacts: unused
8+
PackageVersion: 11.0.0
9+
BuildDropPath: '$(System.DefaultWorkingDirectory)/artifacts'
10+
PackageName: '.NET'
11+
ManifestDirPath: $(Build.ArtifactStagingDirectory)/sbom
12+
IgnoreDirectories: ''
13+
sbomContinueOnError: true
14+
is1ESPipeline: false
15+
# disable publishArtifacts if some other step is publishing the artifacts (like job.yml).
16+
publishArtifacts: true
1017

1118
steps:
19+
- task: PowerShell@2
20+
displayName: Prep for SBOM generation in (Non-linux)
21+
condition: or(eq(variables['Agent.Os'], 'Windows_NT'), eq(variables['Agent.Os'], 'Darwin'))
22+
inputs:
23+
filePath: ./eng/common/generate-sbom-prep.ps1
24+
arguments: ${{parameters.manifestDirPath}}
25+
26+
# Chmodding is a workaround for https://github.com/dotnet/arcade/issues/8461
1227
- script: |
13-
echo "##vso[task.logissue type=warning]Including generate-sbom.yml is deprecated, SBOM generation is handled 1ES PT now. Remove this include."
14-
displayName: Issue generate-sbom.yml deprecation warning
28+
chmod +x ./eng/common/generate-sbom-prep.sh
29+
./eng/common/generate-sbom-prep.sh ${{parameters.manifestDirPath}}
30+
displayName: Prep for SBOM generation in (Linux)
31+
condition: eq(variables['Agent.Os'], 'Linux')
32+
continueOnError: ${{ parameters.sbomContinueOnError }}
33+
34+
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
35+
displayName: 'Generate SBOM manifest'
36+
continueOnError: ${{ parameters.sbomContinueOnError }}
37+
inputs:
38+
PackageName: ${{ parameters.packageName }}
39+
BuildDropPath: ${{ parameters.buildDropPath }}
40+
PackageVersion: ${{ parameters.packageVersion }}
41+
ManifestDirPath: ${{ parameters.manifestDirPath }}/$(ARTIFACT_NAME)
42+
${{ if ne(parameters.IgnoreDirectories, '') }}:
43+
AdditionalComponentDetectorArgs: '--IgnoreDirectories ${{ parameters.IgnoreDirectories }}'
44+
45+
- ${{ if eq(parameters.publishArtifacts, 'true')}}:
46+
- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
47+
parameters:
48+
is1ESPipeline: ${{ parameters.is1ESPipeline }}
49+
args:
50+
displayName: Publish SBOM manifest
51+
continueOnError: ${{parameters.sbomContinueOnError}}
52+
targetPath: '${{ parameters.manifestDirPath }}'
53+
artifactName: $(ARTIFACT_NAME)
54+

eng/common/core-templates/steps/source-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ steps:
6262
artifactName: BuildLogs_SourceBuild_${{ parameters.platform.name }}_Attempt$(System.JobAttempt)
6363
continueOnError: true
6464
condition: succeededOrFailed()
65-
isProduction: false
65+
sbomEnabled: false # we don't need SBOM for logs

eng/common/generate-sbom-prep.ps1

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Param(
2+
[Parameter(Mandatory=$true)][string] $ManifestDirPath # Manifest directory where sbom will be placed
3+
)
4+
5+
. $PSScriptRoot\pipeline-logging-functions.ps1
6+
7+
# Normally - we'd listen to the manifest path given, but 1ES templates will overwrite if this level gets uploaded directly
8+
# with their own overwriting ours. So we create it as a sub directory of the requested manifest path.
9+
$ArtifactName = "${env:SYSTEM_STAGENAME}_${env:AGENT_JOBNAME}_SBOM"
10+
$SafeArtifactName = $ArtifactName -replace '["/:<>\\|?@*"() ]', '_'
11+
$SbomGenerationDir = Join-Path $ManifestDirPath $SafeArtifactName
12+
13+
Write-Host "Artifact name before : $ArtifactName"
14+
Write-Host "Artifact name after : $SafeArtifactName"
15+
16+
Write-Host "Creating dir $ManifestDirPath"
17+
18+
# create directory for sbom manifest to be placed
19+
if (!(Test-Path -path $SbomGenerationDir))
20+
{
21+
New-Item -ItemType Directory -path $SbomGenerationDir
22+
Write-Host "Successfully created directory $SbomGenerationDir"
23+
}
24+
else{
25+
Write-PipelineTelemetryError -category 'Build' "Unable to create sbom folder."
26+
}
27+
28+
Write-Host "Updating artifact name"
29+
Write-Host "##vso[task.setvariable variable=ARTIFACT_NAME]$SafeArtifactName"

0 commit comments

Comments
 (0)