Skip to content

Commit

Permalink
add 1es official build pipeline (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibocai authored Aug 5, 2024
1 parent 69ca696 commit 7309b3b
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions eng/ci/official-build.yml
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

0 comments on commit 7309b3b

Please sign in to comment.