forked from ChilliCream/graphql-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.release-hotchocolate.backup
319 lines (318 loc) · 12.8 KB
/
azure-pipelines.release-hotchocolate.backup
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
trigger: none
stages:
- stage: release
displayName: "Release"
dependsOn: []
pool:
vmImage: "ubuntu-20.04"
jobs:
- job: TestGreenDonut
displayName: src/GreenDonut
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestGreenDonut --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateAnalyzers
displayName: src/HotChocolate/Analyzers
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateAnalyzers --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateApolloFederation
displayName: src/HotChocolate/ApolloFederation
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateApolloFederation --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateAspNetCore
displayName: src/HotChocolate/AspNetCore
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateAspNetCore --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateAzureFunctions
displayName: src/HotChocolate/AzureFunctions
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateAzureFunctions --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateCodeGeneration
displayName: src/HotChocolate/CodeGeneration
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateCodeGeneration --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateCore
displayName: src/HotChocolate/Core
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateCore --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateData
displayName: src/HotChocolate/Data
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateData --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateDiagnostics
displayName: src/HotChocolate/Diagnostics
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateDiagnostics --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateFilters
displayName: src/HotChocolate/Filters
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateFilters --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateFusion
displayName: src/HotChocolate/Fusion
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateFusion --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateLanguage
displayName: src/HotChocolate/Language
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateLanguage --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateMongoDb
displayName: src/HotChocolate/MongoDb
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateMongoDb --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateNeo4J
displayName: src/HotChocolate/Neo4J
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateNeo4J --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolatePersistedQueries
displayName: src/HotChocolate/PersistedQueries
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolatePersistedQueries --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateSpatial
displayName: src/HotChocolate/Spatial
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateSpatial --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateStitching
displayName: src/HotChocolate/Stitching
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateStitching --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestHotChocolateUtilities
displayName: src/HotChocolate/Utilities
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestHotChocolateUtilities --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestStrawberryShakeClient
displayName: src/StrawberryShake/Client
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestStrawberryShakeClient --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestStrawberryShakeCodeGeneration
displayName: src/StrawberryShake/CodeGeneration
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestStrawberryShakeCodeGeneration --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: TestStrawberryShakeTooling
displayName: src/StrawberryShake/Tooling
steps:
- task: CmdLine@2
displayName: "Run Tests"
inputs:
script: "./build.cmd TestStrawberryShakeTooling --skip --test-partition $(System.JobPositionInPhase)"
- task: PublishBuildArtifacts@1
displayName: "Upload Test Results"
inputs:
artifactName: test-results
pathtoPublish: "output/test-results"
- job: Pack
displayName: "Pack"
dependsOn: []
steps:
- task: DeleteFiles@1
displayName: "Clean AspNetCore resources"
inputs:
SourceFolder: './src/HotChocolate/AspNetCore/src/AspNetCore/Resources'
Contents: '**/*'
RemoveDotFiles: true
- task: DownloadPipelineArtifact@2
displayName: "Integrate Banana Cake pop"
inputs:
buildType: 'specific'
project: 'aefb2b59-b7d8-48cf-8cb0-30fdea720770'
definition: '84'
buildVersionToDownload: 'latest'
artifactName: 'Middleware'
targetPath: './src/HotChocolate/AspNetCore/src/AspNetCore/Resources'
- task: PublishBuildArtifacts@1
displayName: "Upload AspNetCore Code"
inputs:
artifactName: aspnetcore
pathtoPublish: "./src/HotChocolate/AspNetCore/src/AspNetCore"
- task: CmdLine@2
displayName: "Create Packages"
inputs:
script: "./build.cmd pack"
- task: PublishBuildArtifacts@1
displayName: "Upload Packages"
inputs:
artifactName: packages
pathtoPublish: "output/packages"
- job: Publish
displayName: "Publish"
dependsOn: [Pack]
steps:
- task: DownloadBuildArtifacts@0
displayName: "Download Packages"
inputs:
artifactName: "packages"
downloadPath: "$(Build.Repository.LocalPath)/output"
- task: CmdLine@2
displayName: "Push Packages to NuGet"
inputs:
script: "./build.cmd publish --skip"
- task: GitHubRelease@0
displayName: "Update GitHub Release"
inputs:
gitHubConnection: "ChilliCream GitHub"
action: edit
tag: "$(GitHubVersion)"
title: "$(GitHubVersion)"
assets: "$(Build.Repository.LocalPath)/output/packages/*.*"
assetUploadMode: replace
isPreRelease: true
releaseNotesSource: input
releaseNotes: "For more details click [here](https://github.com/ChilliCream/hotchocolate/blob/master/CHANGELOG.md) to get to our CHANGELOG."