| 1 | trigger: none |
| 2 | |
| 3 | schedules: |
| 4 | # "0 8" = 8AM UTC = 12AM PST |
| 5 | - cron: "0 8 * * *" |
| 6 | displayName: Nightly build |
| 7 | branches: |
| 8 | include: [master] |
| 9 | always: true |
| 10 | |
| 11 | variables: |
| 12 | WindowsContainerImage: "onebranch.azurecr.io/windows/ltsc2022/vse2022:latest" |
| 13 | WindowsHostVersion: '1ESWindows2022' |
| 14 | |
| 15 | resources: |
| 16 | repositories: |
| 17 | - repository: templates |
| 18 | type: git |
| 19 | name: OneBranch.Pipelines/GovernedTemplates |
| 20 | ref: refs/heads/main |
| 21 | |
| 22 | extends: |
| 23 | template: v2/Microsoft.NonOfficial.yml@templates |
| 24 | parameters: |
| 25 | platform: |
| 26 | name: "windows_undocked" |
| 27 | featureFlags: |
| 28 | EnableCDPxPAT: false |
| 29 | WindowsHostVersion: 1ESWindows2022 |
| 30 | globalSdl: |
| 31 | credscan: |
| 32 | enabled: true |
| 33 | perStage: |
| 34 | credscan: |
| 35 | enabled: true |
| 36 | tsa: |
| 37 | enabled: false |
| 38 | git: |
| 39 | fetchDepth: -1 |
| 40 | fetchTags: true |
| 41 | |
| 42 | stages: |
| 43 | - template: build-stage.yml@self |
| 44 | parameters: |
| 45 | isRelease: false |
| 46 | isNightly: true |
| 47 | vsoOrg: microsoft |
| 48 | vsoProject: Microsoft.WSL |
| 49 | |
| 50 | - template: test-stage.yml@self |
| 51 | parameters: |
| 52 | rs_prerelease_only: false |
| 53 | |
| 54 | - template: nuget-stage.yml@self |
| 55 | parameters: |
| 56 | isNightly: true |