-
Notifications
You must be signed in to change notification settings - Fork 334
/
azure-pipelines-internal.yml
71 lines (65 loc) · 1.93 KB
/
azure-pipelines-internal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# See https://docs.microsoft.com/azure/devops/pipelines/yaml-schema for details
#
variables:
- name: _TeamName
value: AspNetCore
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
value: true
- name: _PublishUsingPipelines
value: true
- name: _BuildConfig
value: Release
# used for post-build phases, internal builds only
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- group: AspNetKatana-SDLValidation-Params
# CI and PR triggers
trigger:
batch: true
branches:
include:
- main
- release/*
- internal/release/*
pr:
autoCancel: false
branches:
include:
- '*'
resources:
repositories:
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
policheck:
enabled: true
tsa:
enabled: true
pool:
name: NetCore1ESPool-Svc-Internal
image: 1es-windows-2019
os: windows
stages:
- stage: build
displayName: Build
jobs:
- template: /eng/templates/default-build.yml@self
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
- template: /eng/common/templates-official/post-build/post-build.yml@self
parameters:
publishingInfraVersion: 3
# Symbol validation isn't being very reliable lately. This should be enabled back
# once this issue is resolved: https://github.com/dotnet/arcade/issues/2871
enableSymbolValidation: false
# It's a private repo in github so this won't pass until we create an internal mirror
enableSourceLinkValidation: false
enableSigningValidation: false
enableNugetValidation: false
SDLValidationParameters:
enable: false