-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathmgmt-ci.yml
261 lines (247 loc) · 9.94 KB
/
mgmt-ci.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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
trigger:
branches:
include:
- feature/*
paths:
include:
- eng/pipelines/mgmt-pr.yml
- sdk/advisor/arm-advisor
- sdk/analysisservices/arm-analysisservices
- sdk/apimanagement/arm-apimanagement
- sdk/appconfiguration/arm-appconfiguration
- sdk/applicationinsights/arm-appinsights
- sdk/appplatform/arm-appplatform
- sdk/appservice/arm-appservice
- sdk/appservice/arm-appservice-profile-2019-03-01-hybrid
- sdk/appservice/arm-appservice-profile-2020-09-01-hybrid
- sdk/attestation/arm-attestation
- sdk/authorization/arm-authorization
- sdk/authorization/arm-authorization-profile-2019-03-01-hybrid
- sdk/authorization/arm-authorization-profile-2020-09-01-hybrid
- sdk/automation/arm-automation
- sdk/avs/arm-avs
- sdk/azurestack/arm-azurestack
- sdk/azurestackhci/arm-azurestackhci
- sdk/batch/arm-batch
- sdk/batchai/arm-batchai
- sdk/billing/arm-billing
- sdk/botservice/arm-botservice
- sdk/cdn/arm-cdn
- sdk/changeanalysis/arm-changeanalysis
- sdk/cognitiveservices/arm-cognitiveservices
- sdk/commerce/arm-commerce
- sdk/commerce/arm-commerce-profile-2020-09-01-hybrid
- sdk/communication/arm-communication
- sdk/compute/arm-compute
- sdk/compute/arm-compute-profile-2019-03-01-hybrid
- sdk/compute/arm-compute-profile-2020-09-01-hybrid
- sdk/confluent/arm-confluent
- sdk/consumption/arm-consumption
- sdk/containerinstance/arm-containerinstance
- sdk/containerregistry/arm-containerregistry
- sdk/containerservice/arm-containerservice
- sdk/cosmosdb/arm-cosmosdb
- sdk/customer-insights/arm-customerinsights
- sdk/databox/arm-databox
- sdk/databoxedge/arm-databoxedge
- sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid
- sdk/databricks/arm-databricks
- sdk/datacatalog/arm-datacatalog
- sdk/datafactory/arm-datafactory
- sdk/datalake-analytics/arm-datalake-analytics
- sdk/datamigration/arm-datamigration
- sdk/deploymentmanager/arm-deploymentmanager
- sdk/deviceprovisioningservices/arm-deviceprovisioningservices
- sdk/devspaces/arm-devspaces
- sdk/devtestlabs/arm-devtestlabs
- sdk/digitaltwins/arm-digitaltwins
- sdk/dns/arm-dns
- sdk/dns/arm-dns-profile-2019-03-01-hybrid
- sdk/dns/arm-dns-profile-2020-09-01-hybrid
- sdk/domainservices/arm-domainservices
- sdk/edgegateway/arm-edgegateway
- sdk/eventgrid/arm-eventgrid
- sdk/eventhub/arm-eventhub
- sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid
- sdk/features/arm-features
- sdk/frontdoor/arm-frontdoor
- sdk/hanaonazure/arm-hanaonazure
- sdk/hdinsight/arm-hdinsight
- sdk/healthbot/arm-healthbot
- sdk/healthcareapis/arm-healthcareapis
- sdk/hybridcompute/arm-hybridcompute
- sdk/hybridkubernetes/arm-hybridkubernetes
- sdk/iotcentral/arm-iotcentral
- sdk/iothub/arm-iothub
- sdk/iothub/arm-iothub-profile-2020-09-01-hybrid
- sdk/iotspaces/arm-iotspaces
- sdk/keyvault/arm-keyvault
- sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid
- sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid
- sdk/kubernetesconfiguration/arm-kubernetesconfiguration
- sdk/kusto/arm-kusto
- sdk/labservices/arm-labservices
- sdk/links/arm-links
- sdk/locks/arm-locks
- sdk/locks/arm-locks-profile-2020-09-01-hybrid
- sdk/locks/arm-locks-profile-hybrid-2019-03-01
- sdk/logic/arm-logic
- sdk/machinelearning/arm-commitmentplans
- sdk/machinelearning/arm-webservices
- sdk/machinelearning/arm-workspaces
- sdk/machinelearningcompute/arm-machinelearningcompute
- sdk/machinelearningexperimentation/arm-machinelearningexperimentation
- sdk/machinelearningservices/arm-machinelearningservices
- sdk/managedapplications/arm-managedapplications
- sdk/managementgroups/arm-managementgroups
- sdk/managementpartner/arm-managementpartner
- sdk/maps/arm-maps
- sdk/mariadb/arm-mariadb
- sdk/marketplaceordering/arm-marketplaceordering
- sdk/mediaservices/arm-mediaservices
- sdk/migrate/arm-migrate
- sdk/mixedreality/arm-mixedreality
- sdk/monitor/arm-monitor
- sdk/monitor/arm-monitor-profile-2019-03-01-hybrid
- sdk/monitor/arm-monitor-profile-2020-09-01-hybrid
- sdk/msi/arm-msi
- sdk/mysql/arm-mysql
- sdk/netapp/arm-netapp
- sdk/network/arm-network
- sdk/network/arm-network-profile-2019-03-01-hybrid
- sdk/network/arm-network-profile-2020-09-01-hybrid
- sdk/notificationhubs/arm-notificationhubs
- sdk/operationalinsights/arm-operationalinsights
- sdk/operationsmanagement/arm-operations
- sdk/peering/arm-peering
- sdk/policy/arm-policy
- sdk/policy/arm-policy-profile-2020-09-01-hybrid
- sdk/policy/arm-policy-profile-hybrid-2019-03-01
- sdk/policyinsights/arm-policyinsights
- sdk/postgresql/arm-postgresql
- sdk/postgresql/arm-postgresql-flexible
- sdk/powerbidedicated/arm-powerbidedicated
- sdk/powerbiembedded/arm-powerbiembedded
- sdk/privatedns/arm-privatedns
- sdk/recoveryservices/arm-recoveryservices
- sdk/recoveryservicesbackup/arm-recoveryservicesbackup
- sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery
- sdk/redis/arm-rediscache
- sdk/redisenterprise/arm-redisenterprisecache
- sdk/relay/arm-relay
- sdk/reservations/arm-reservations
- sdk/resourcegraph/arm-resourcegraph
- sdk/resourcehealth/arm-resourcehealth
- sdk/resourcemover/arm-resourcemover
- sdk/resources/arm-resources
- sdk/resources/arm-resources-profile-2020-09-01-hybrid
- sdk/resources/arm-resources-profile-hybrid-2019-03-01
- sdk/search/arm-search
- sdk/security/arm-security
- sdk/serialconsole/arm-serialconsole
- sdk/service-map/arm-servicemap
- sdk/servicebus/arm-servicebus
- sdk/servicefabric/arm-servicefabric
- sdk/servicefabricmesh/arm-servicefabricmesh
- sdk/signalr/arm-signalr
- sdk/sql/arm-sql
- sdk/sqlvirtualmachine/arm-sqlvirtualmachine
- sdk/storage/arm-storage
- sdk/storage/arm-storage-profile-2019-03-01-hybrid
- sdk/storage/arm-storage-profile-2020-09-01-hybrid
- sdk/storagecache/arm-storagecache
- sdk/storageimportexport/arm-storageimportexport
- sdk/storagesync/arm-storagesync
- sdk/storsimple1200series/arm-storsimple1200series
- sdk/storsimple8000series/arm-storsimple8000series
- sdk/streamanalytics/arm-streamanalytics
- sdk/subscription/arm-subscriptions
- sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid
- sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01
- sdk/support/arm-support
- sdk/synapse/arm-synapse
- sdk/timeseriesinsights/arm-timeseriesinsights
- sdk/trafficmanager/arm-trafficmanager
- sdk/visualstudio/arm-visualstudio
- sdk/vmwarecloudsimple/arm-vmwarecloudsimple
- sdk/applicationinsights/applicationinsights-query
- sdk/batch/batch
- sdk/cognitiveservices/cognitiveservices-anomalydetector
- sdk/cognitiveservices/cognitiveservices-autosuggest
- sdk/cognitiveservices/cognitiveservices-computervision
- sdk/cognitiveservices/cognitiveservices-contentmoderator
- sdk/cognitiveservices/cognitiveservices-customimagesearch
- sdk/cognitiveservices/cognitiveservices-customsearch
- sdk/cognitiveservices/cognitiveservices-customvision-prediction
- sdk/cognitiveservices/cognitiveservices-customvision-training
- sdk/cognitiveservices/cognitiveservices-entitysearch
- sdk/cognitiveservices/cognitiveservices-face
- sdk/cognitiveservices/cognitiveservices-formrecognizer
- sdk/cognitiveservices/cognitiveservices-imagesearch
- sdk/cognitiveservices/cognitiveservices-localsearch
- sdk/cognitiveservices/cognitiveservices-luis-authoring
- sdk/cognitiveservices/cognitiveservices-luis-runtime
- sdk/cognitiveservices/cognitiveservices-newssearch
- sdk/cognitiveservices/cognitiveservices-personalizer
- sdk/cognitiveservices/cognitiveservices-qnamaker
- sdk/cognitiveservices/cognitiveservices-qnamaker-runtime
- sdk/cognitiveservices/cognitiveservices-spellcheck
- sdk/cognitiveservices/cognitiveservices-textanalytics
- sdk/cognitiveservices/cognitiveservices-translatortext
- sdk/cognitiveservices/cognitiveservices-videosearch
- sdk/cognitiveservices/cognitiveservices-visualsearch
- sdk/cognitiveservices/cognitiveservices-websearch
- sdk/eventhub/event-processor-host
- sdk/graphrbac/graph
- sdk/keyvault/keyvault-common
- sdk/operationalinsights/loganalytics
- sdk/servicefabric/servicefabric
- sdk/storage/storage-datalake
- sdk/storage/storage-internal-avro
- sdk/resources-subscriptions/arm-resources-subscriptions
- sdk/templatespecs/arm-templatespecs
- sdk/mysql/arm-mysql-flexible
pr: none
variables:
- template: /eng/pipelines/templates/variables/globals.yml
jobs:
- job: 'Build'
pool:
vmImage: 'Ubuntu 20.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: '$(NodeVersion)'
displayName: 'Install Node.js $(NodeVersion)'
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
- script: 'gulp pack --base-reference=main --head-reference=main'
displayName: 'gulp pack'
- task: CopyFiles@2
displayName: 'Copy Files to: drop'
inputs:
Contents: '*.tgz'
TargetFolder: drop
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.SourcesDirectory)/drop
- job: 'Analyze'
pool:
vmImage: 'Ubuntu 20.04'
steps:
- task: NodeTool@0
inputs:
versionSpec: '$(NodeVersion)'
displayName: 'Install Node.js $(NodeVersion)'
- task: Npm@1
displayName: 'npm install'
inputs:
command: install
- task: Npm@1
displayName: 'npm audit'
condition: and(succeeded(), eq(variables['RunNpmAudit'], 'true'))
inputs:
command: custom
customCommand: 'audit'