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:
committed by
Travis Plunk
parent
3fb1a6845b
commit
a545c8de2f
@@ -70,6 +70,19 @@ jobs:
|
||||
Build_Repository_Uri: $(build.repository.uri)
|
||||
displayName: SBOM
|
||||
sourceScanPath: '$(repoPath)\tools'
|
||||
signSBOM: false
|
||||
|
||||
- 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
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
[
|
||||
{
|
||||
"Pattern": "_manifest\\spdx_2.2\\bsi.json",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "_manifest\\spdx_2.2\\manifest.cat",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Accessibility.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -12,11 +20,11 @@
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-com-private-l1-1-0.dll",
|
||||
"Pattern": "api-ms-win-core-comm-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-comm-l1-1-0.dll",
|
||||
"Pattern": "api-ms-win-core-com-private-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
@@ -271,6 +279,10 @@
|
||||
"Pattern": "api-ms-win-core-shutdown-l1-1-1.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "API-MS-Win-Core-StringAnsi-L1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-string-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -279,18 +291,6 @@
|
||||
"Pattern": "API-MS-Win-Core-String-L2-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-string-obsolete-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-string-obsolete-l1-1-1.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "API-MS-Win-Core-StringAnsi-L1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-stringloader-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -299,6 +299,14 @@
|
||||
"Pattern": "api-ms-win-core-stringloader-l1-1-1.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-string-obsolete-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-string-obsolete-l1-1-1.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "api-ms-win-core-synch-l1-1-0.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -1400,11 +1408,11 @@
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "mscordaccore_*.dll",
|
||||
"Pattern": "mscordaccore.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "mscordaccore.dll",
|
||||
"Pattern": "mscordaccore_*.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
@@ -1551,26 +1559,6 @@
|
||||
"Pattern": "PresentationCore.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemCore.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemData.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemDrawing.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemXml.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemXmlLinq.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework.Aero.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -1599,6 +1587,26 @@
|
||||
"Pattern": "PresentationFramework.Royale.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemCore.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemData.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemDrawing.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemXml.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationFramework-SystemXmlLinq.dll",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "PresentationNative_cor3.dll",
|
||||
"FileType": "NonProduct"
|
||||
@@ -2579,14 +2587,6 @@
|
||||
"Pattern": "Schemas/PSMaml/ITPro.xsd",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/Maml_HTML_Style.xsl",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/Maml_HTML.xsl",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/Maml.rld",
|
||||
"FileType": "NonProduct"
|
||||
@@ -2603,6 +2603,14 @@
|
||||
"Pattern": "Schemas/PSMaml/Maml.xsx",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/Maml_HTML.xsl",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/Maml_HTML_Style.xsl",
|
||||
"FileType": "NonProduct"
|
||||
},
|
||||
{
|
||||
"Pattern": "Schemas/PSMaml/ManagedDeveloper.xsd",
|
||||
"FileType": "NonProduct"
|
||||
|
||||
Reference in New Issue
Block a user