-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
950c1ab
commit b41e25d
Showing
1 changed file
with
40 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,40 @@ | ||
# Trigger the build whenever `main` or `rel/*` is updated | ||
trigger: | ||
- main | ||
- rel/* | ||
|
||
# Disable PR trigger | ||
pr: none | ||
|
||
# Scheduled nightly build | ||
schedules: | ||
- cron: "0 0 * * *" | ||
displayName: Nightly scheduled build | ||
always: false # Don't rebuild if there haven't been changes | ||
branches: | ||
include: | ||
- main | ||
|
||
# `resources` specifies the location of templates to pick up, use it to get 1ES and AzExt templates | ||
resources: | ||
repositories: | ||
- repository: 1esPipelines | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
- repository: azExtTemplates | ||
type: github | ||
name: microsoft/vscode-azuretools | ||
ref: bmw/1es # TODO: Change to main once the branch is merged | ||
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository | ||
|
||
extends: | ||
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines | ||
parameters: | ||
pool: | ||
name: VSEngSS-MicroBuild2022-1ES # Name of your hosted pool | ||
image: server2022-microbuildVS2022-1es # Name of the image in your pool. If not specified, first image of the pool is used | ||
os: windows # OS of the image. Allowed values: windows, linux, macOS | ||
stages: | ||
# Execute stages from the AzExt template | ||
- template: azure-pipelines/1esjobs.yml@azExtTemplates |