-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add 1es official build pipeline (#48)
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
parameters: | ||
- name: binlog | ||
displayName: MSBuild binary log | ||
type: boolean | ||
default: false | ||
|
||
variables: | ||
- template: ci/variables/cfs.yml@eng | ||
|
||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- main | ||
|
||
# CI only, does not trigger on PRs. | ||
pr: none | ||
|
||
schedules: | ||
# Build nightly to catch any new CVEs and report SDL often. | ||
# We are also required to generated CodeQL reports weekly, so this | ||
# helps us meet that. | ||
- cron: "0 0 * * *" | ||
displayName: Nightly Build | ||
branches: | ||
include: | ||
- main | ||
always: true | ||
|
||
resources: | ||
repositories: | ||
- repository: 1es | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
- repository: eng | ||
type: git | ||
name: engineering | ||
ref: refs/tags/release | ||
|
||
extends: | ||
template: v1/1ES.Official.PipelineTemplate.yml@1es | ||
parameters: | ||
pool: | ||
name: 1es-pool-azfunc | ||
image: 1es-windows-2022 | ||
os: windows | ||
|
||
stages: | ||
- stage: BuildAndSign | ||
dependsOn: [] | ||
jobs: | ||
- template: /eng/templates/build.yml@self |