Skip to content

Commit 157b379

Browse files
Disable SBOM signing for CI and add extra files for packaging tests (#19729)
1 parent 83aa1d8 commit 157b379

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.vsts-ci/windows/templates/windows-packaging.yml

+13
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
Build_Repository_Uri: $(build.repository.uri)
7171
displayName: SBOM
7272
sourceScanPath: '$(repoPath)\tools'
73+
signSBOM: false
7374

7475
# This is needed as SBOM task removed the installed .NET and installs .NET 3.1
7576
- pwsh: |
@@ -79,6 +80,18 @@ jobs:
7980
condition: succeeded()
8081
workingDirectory: $(repoPath)
8182
83+
- pwsh: |
84+
$manifestFolder = Join-Path -Path '$(System.ArtifactsDirectory)/mainBuild' -ChildPath '_manifest'
85+
86+
if (-not (Test-Path $manifestFolder)) {
87+
throw "_manifest folder does not exist under $(System.ArtifactsDirectory)/mainBuild"
88+
}
89+
90+
$null = New-Item -Path "$manifestFolder/spdx_2.2/bsi.json" -Verbose -Force
91+
$null = New-Item -Path "$manifestFolder/spdx_2.2/manifest.cat" -Verbose -Force
92+
93+
displayName: Create fake SBOM manifest signed files
94+
8295
- pwsh: |
8396
Import-Module .\tools\ci.psm1
8497
New-CodeCoverageAndTestPackage

0 commit comments

Comments
 (0)