-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathazure-pipelines.yml
54 lines (48 loc) · 1.58 KB
/
azure-pipelines.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
43
44
45
46
47
48
49
50
51
52
53
54
# If this value is changed, please modify begin_addon_release.yml to address the NATIVE_BUILD_NUM var
name: open-source-$(Date:yyyy.MM.dd)$(Rev:.r)
trigger:
branches:
include:
- main
- release/*
pr:
autoCancel: true
drafts: false
branches:
include:
- main
- release/*
parameters:
- name: defaultNativeBranch
displayName: Default Native Branch Used for PR Validation
type: string
default: 'main' # Change to appropriate branch name when creating new release branch
- name: defaultCoreBranch
displayName: Default itwinjs-core Branch Used for PR Validation
type: string
default: 'master' # Change to appropriate branch name when creating new release branch
resources:
repositories:
- repository: imodel-native-internal
type: github
name: iTwin/imodel-native-internal
ref: ${{ parameters.defaultNativeBranch }}
endpoint: github.com_imodel-native
- repository: itwinjs-core
type: github
name: iTwin/itwinjs-core
ref: ${{ parameters.defaultCoreBranch }}
endpoint: iTwin
- repository: imodeljs-build-pipeline-scripts
type: git
name: iModelTechnologies/imodeljs-build-pipeline-scripts
- repository: MendScan
type: git
name: ReleaseServices/MendScan
ref: refs/heads/main
extends:
template: /build/templates/pipeline.yml@imodel-native-internal
parameters:
otherRepo: imodel-native-internal
defaultNativeBranch: ${{ parameters.defaultNativeBranch }}
defaultCoreBranch: ${{ parameters.defaultCoreBranch }}