mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Disable SBOM signing for CI and add extra files for packaging tests (#19729)
This commit is contained in:
@@ -70,6 +70,7 @@ jobs:
|
||||
Build_Repository_Uri: $(build.repository.uri)
|
||||
displayName: SBOM
|
||||
sourceScanPath: '$(repoPath)\tools'
|
||||
signSBOM: false
|
||||
|
||||
# This is needed as SBOM task removed the installed .NET and installs .NET 3.1
|
||||
- pwsh: |
|
||||
@@ -79,6 +80,18 @@ jobs:
|
||||
condition: succeeded()
|
||||
workingDirectory: $(repoPath)
|
||||
|
||||
- pwsh: |
|
||||
$manifestFolder = Join-Path -Path '$(System.ArtifactsDirectory)/mainBuild' -ChildPath '_manifest'
|
||||
|
||||
if (-not (Test-Path $manifestFolder)) {
|
||||
throw "_manifest folder does not exist under $(System.ArtifactsDirectory)/mainBuild"
|
||||
}
|
||||
|
||||
$null = New-Item -Path "$manifestFolder/spdx_2.2/bsi.json" -Verbose -Force
|
||||
$null = New-Item -Path "$manifestFolder/spdx_2.2/manifest.cat" -Verbose -Force
|
||||
|
||||
displayName: Create fake SBOM manifest signed files
|
||||
|
||||
- pwsh: |
|
||||
Import-Module .\tools\ci.psm1
|
||||
New-CodeCoverageAndTestPackage
|
||||
|
||||
Reference in New Issue
Block a user