forked from PowerShell/AIShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage-Official.yml
More file actions
117 lines (107 loc) · 3.26 KB
/
Copy pathPackage-Official.yml
File metadata and controls
117 lines (107 loc) · 3.26 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
trigger: none
parameters: # parameters are shown up in ADO UI in a build queue time
- name: 'debug'
displayName: 'Enable debug output'
type: boolean
default: false
variables:
- name: CDP_DEFINITION_BUILD_COUNT
value: $[counter('', 0)] # needed for onebranch.pipeline.version task
- name: system.debug
value: ${{ parameters.debug }}
- name: ENABLE_PRS_DELAYSIGN
value: 1
- name: ob_outputDirectory
value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'
- name: WindowsContainerImage
value: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' # Docker image which is used to build the project
- name: LinuxContainerImage
value: mcr.microsoft.com/onebranch/azurelinux/build:3.0
- group: mscodehub-feed-read-general
- group: mscodehub-feed-read-akv
- name: branchCounterKey
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]
- name: branchCounter
value: $[counter(variables['branchCounterKey'], 1)]
resources:
pipelines:
- pipeline: AIShellBuildPipeline
source: 'AIShell-Build-Official'
trigger:
branches:
include:
- release-*
repositories:
- repository: templates
type: git
name: OneBranch.Pipelines/GovernedTemplates
ref: refs/heads/main
extends:
template: v2/OneBranch.Official.CrossPlat.yml@templates
parameters:
cloudvault:
enabled: false
featureFlags:
linuxEsrpSigning: true
LinuxHostVersion:
Network: KS3
WindowsHostVersion:
Version: 2022
Network: KS3
globalSdl:
disableLegacyManifest: true
# disabled Armorty as we dont have any ARM templates to scan. It fails on some sample ARM templates.
armory:
enabled: false
sbom:
enabled: true
compiled:
enabled: false
cg:
enabled: true
ignoreDirectories: 'docs,shell,test,tools'
asyncSdl:
enabled: true
credscan:
enabled: true
scanFolder: $(Build.SourcesDirectory)
binskim:
enabled: true
exactToolVersion: 4.4.2
apiscan:
enabled: false
tsaOptionsFile: .config\tsaoptions.json
stages:
- stage: mac
jobs:
- template: /.pipelines/templates/mac-package.yml@self
parameters:
architecture: x64
- template: /.pipelines/templates/mac-package.yml@self
parameters:
architecture: arm64
- stage: windows
jobs:
- template: /.pipelines/templates/windows-package.yml@self
parameters:
architecture: x86
- template: /.pipelines/templates/windows-package.yml@self
parameters:
architecture: x64
- template: /.pipelines/templates/windows-package.yml@self
parameters:
architecture: arm64
- stage: linux
jobs:
- template: /.pipelines/templates/linux-package.yml@self
parameters:
architecture: x64
- template: /.pipelines/templates/linux-package.yml@self
parameters:
architecture: arm64
- stage: module
jobs:
- template: /.pipelines/templates/module-package.yml@self
- stage: nupkg
jobs:
- template: /.pipelines/templates/nupkg-package.yml@self