[WinGet-Pkgs] WinGet-Pkgs cg-pipeline.yaml migration to 1ESPipeline (#123664)

This PR migrates the following  WinGet-Pkgs cg-pipeline pipelines to 1ESPipeline
- cg-pipeline.yaml

Co-authored-by: Madhusudhan Gumbalapura Sudarshan <Madhusudhan.Sudarshan@microsoft.com>
This commit is contained in:
Madhusudhan-MSFT
2023-10-25 10:04:52 -07:00
committed by GitHub
parent 95900c9687
commit 02316d6008
+29 -10
View File
@@ -5,16 +5,35 @@
trigger: none
pr: none
pool:
vmImage: windows-latest
variables:
runCodesignValidationInjection: ${{ false }}
steps:
- task: ComponentGovernanceComponentDetection@0
displayName: Component Governance
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-2022
os: windows
customBuildTags:
# This is added by 1ES migration tool and it is okay to remove in the future.
- ES365AIMigrationTooling
stages:
- stage: Component_Governance
jobs:
- job: Job
steps:
- task: ComponentGovernanceComponentDetection@0
displayName: Component Governance
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'