-
Notifications
You must be signed in to change notification settings - Fork 321
/
azure-pipelines-1.yml
45 lines (40 loc) · 1.09 KB
/
azure-pipelines-1.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
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger: none
name: 1ES-MSTICPy-$(date:yyyyMMdd)$(rev:.r)
resources:
repositories:
- repository: self
type: git
ref: main
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: MSSecurity-1ES-Build-Agents-Pool
image: MSSecurity-1ES-Windows-2022
os: windows
stages:
- stage: buildTasks
displayName: BuildTasks
jobs:
- job: additionalChecks
displayName: AdditionalChecks
steps:
- task: notice@0
displayName: NOTICE File Generator
# This fails for external forks
condition: not(variables['System.PullRequest.IsFork'])
sdl:
apiScan:
enabled: false
policheck:
enabled: true
bandit:
enabled: true