Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/dotnet/vscode-dotnet-runtime.git
Enable SBOM Generation π (#1816)
* try adding sbom generation * Fix SBOM Generation * Fix comment for old pipeline name * improve whitespace
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
5d3ab464f5
ΠΠΎΠΌΠΌΠΈΡ
22b76ecfe3
|
@ -54,6 +54,8 @@ extends:
|
|||
name: NetCore1ESPool-Internal
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
sbom:
|
||||
enabled: false # SBOM requires a special setup for node.js projects to ensure all dependencies are included.
|
||||
policheck:
|
||||
enabled: true
|
||||
exclusionsFile: $(System.DefaultWorkingDirectory)\PoliCheckExclusions.xml
|
||||
|
@ -89,3 +91,10 @@ extends:
|
|||
image: 1es-windows-2022
|
||||
os: windows
|
||||
useOneEngineeringPool: true
|
||||
- template: pipeline-templates/sbom.yaml@self
|
||||
parameters:
|
||||
pool:
|
||||
name: NetCore1ESPool-Internal
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
useOneEngineeringPool: true
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
parameters:
|
||||
pool: ''
|
||||
|
||||
jobs:
|
||||
- job: SBOM
|
||||
pool:
|
||||
${{ if eq(parameters.useOneEngineeringPool, 'true') }}:
|
||||
${{ parameters.pool }}
|
||||
${{ else }}:
|
||||
vmImage: ${{ parameters.pool.vmImage }}
|
||||
displayName: π SBOM Generation
|
||||
dependsOn:
|
||||
- ${{ parameters.pool.os }}_Build
|
||||
- ${{ parameters.pool.os }}_Package
|
||||
steps:
|
||||
- task: ManifestGeneratorTask@0
|
||||
displayName: π SBOM generation
|
||||
inputs:
|
||||
BuildDropPath: $(System.DefaultWorkingDirectory)
|
||||
templateContext:
|
||||
outputs:
|
||||
- output: pipelineArtifact
|
||||
displayName: π’ Publishing SBOM
|
||||
artifact: SBOM
|
||||
targetPath: $(System.DefaultWorkingDirectory)/_manifest
|
|
@ -33,5 +33,5 @@ suite('LoggingObserver Unit Tests', () => {
|
|||
assert.include(logContent, fakeEvent.eventName, 'The log file does not contain the expected content that should be written to it');
|
||||
});
|
||||
|
||||
}).timeout(4000);
|
||||
}).timeout(10000);
|
||||
});
|
||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅