Allow template to switch to Unofficial when running a pull request. Remove component governance ignore folder parameter. Remove custom build tags.
This commit is contained in:
parent
e22bf5e53d
commit
e12929ec31
1 changed files with 4 additions and 10 deletions
14
.vsts-ci.yml
14
.vsts-ci.yml
|
@ -43,7 +43,10 @@ resources:
|
|||
ref: refs/tags/release
|
||||
|
||||
extends:
|
||||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
|
||||
${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
|
||||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
|
||||
${{ else }}:
|
||||
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
|
||||
parameters:
|
||||
containers:
|
||||
alpine319WithNode:
|
||||
|
@ -67,15 +70,6 @@ extends:
|
|||
name: $(DncEngInternalBuildPool)
|
||||
image: 1es-windows-2022
|
||||
os: windows
|
||||
# https://docs.opensource.microsoft.com/tools/cg/component-detection/variables/
|
||||
componentgovernance:
|
||||
# This should be uncommented when a fix is available.
|
||||
# See: https://dev.azure.com/mseng/1ES/_workitems/edit/2159448
|
||||
# failOnAlert: false
|
||||
# This should be removed when failOnAlert works properly.
|
||||
ignoreDirectories: '.packages'
|
||||
customBuildTags:
|
||||
- ES365AIMigrationTooling
|
||||
stages:
|
||||
- stage: Build
|
||||
jobs:
|
||||
|
|
Loading…
Reference in a new issue