-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path1esmain.yml
42 lines (36 loc) · 1.04 KB
/
1esmain.yml
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
# Trigger the build whenever `main` or `rel/*` is updated
trigger:
- main
- rel/*
# Disable PR trigger
pr: none
# Scheduled nightly build of `main`
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 AzExt templates
resources:
repositories:
- repository: azExtTemplates
type: github
name: microsoft/vscode-azuretools
ref: main
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository
parameters:
- name: enableLongRunningTests
displayName: Enable Long Running Tests
type: boolean
default: true
variables:
# Required by MicroBuild template
- name: TeamName
value: "Azure Tools for VS Code"
# Use those templates
extends:
template: azure-pipelines/1esmain.yml@azExtTemplates
parameters:
useAzureFederatedCredentials: ${{ parameters.enableLongRunningTests }}