-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathnightly-main.yaml
52 lines (48 loc) · 1.24 KB
/
nightly-main.yaml
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
trigger: none
pr: none
schedules:
- cron: "0 0 * * *"
displayName: Publish nightly packages
branches:
include:
- main
always: false
variables:
- template: templates/vars.yaml
resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
extends:
${{ if eq(variables['System.TeamProject'], 'GitHub - PR Builds') }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
${{ else }}:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
sdl:
policheck:
enabled: true
tsa:
enabled: true
settings:
skipBuildTagsForGitHubPullRequests: true
pool:
name: $(pool_name)
image: $(pool_image)
os: windows
stages:
- stage: build_test
displayName: Build and Tests
jobs:
- template: /.azure/pipelines/templates/build.yaml@self
parameters:
build_configuration: Release
version_prefix: '8.2.0'
include_suffix: true
version_suffix: nightly.$(Build.BuildNumber)
codesign: true
publish_nightly: true
publish_nuget: false
skip_test: true