@@ -36,7 +36,7 @@ extends:
36
36
WindowsHostVersion :
37
37
Disk : Large
38
38
Version : 2022
39
- Network : KS3 # this retricts network access to public upstream repositories
39
+ Network : KS1 # note that this property is sticky so commenting out will use the previous set one
40
40
# Currently can't be used as some NPM pkgs like tree-sitter-cli reach out to GitHub to get the actual zip pkg
41
41
# Network: NetLock
42
42
customTags : ' ES365AIMigrationTooling'
@@ -201,16 +201,20 @@ extends:
201
201
dependsOn : BuildWin
202
202
variables :
203
203
ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
204
+ ob_sdl_tsa_configFile : ' $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
205
+ ob_sdl_sbom_enabled : true
206
+ ob_signing_setup_enabled : true
207
+ ob_sdl_codeql_compiled_enabled : true
204
208
pool :
205
209
type : windows
206
210
steps :
211
+ - checkout : self
207
212
- download : current
208
213
artifact : drop_BuildAndSign_BuildWinx64
209
214
patterns : ' *.msix'
210
215
- download : current
211
216
artifact : drop_BuildAndSign_BuildWinarm64
212
217
patterns : ' *.msix'
213
- - checkout : self
214
218
- pwsh : |
215
219
Set-Location "$(Build.SourcesDirectory)/DSC"
216
220
$null = New-Item -ItemType Directory -Path "./bin/msix" -Force -ErrorAction Ignore
@@ -221,25 +225,6 @@ extends:
221
225
displayName: 'Create msixbundle'
222
226
condition: succeeded()
223
227
224
- - job : PublishSigned
225
- dependsOn : BuildWin
226
- variables :
227
- signOutPath : $[ dependencies.BuildWin.outputs['signOutPath.signOutPath'] ]
228
- ob_sdl_tsa_configFile : $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json
229
- ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
230
- ob_sdl_sbom_enabled : false
231
- ob_signing_setup_enabled : false
232
- ob_sdl_codeql_compiled_enabled : false
233
- pool :
234
- type : windows
235
- steps :
236
- - task : CopyFiles@2
237
- displayName : " Copy Files for 'PublishPipelineArtifact@1' publish task"
238
- inputs :
239
- SourceFolder : $(signOutPath)
240
- Contents : ' **'
241
- TargetFolder : $(Build.ArtifactStagingDirectory)/signed
242
-
243
228
- job : BuildLinux
244
229
dependsOn : SetPackageVersion
245
230
variables :
@@ -382,12 +367,9 @@ extends:
382
367
383
368
- stage : Release
384
369
dependsOn : BuildAndSign
370
+ condition : ne(variables['Build.Reason'], 'Schedule')
385
371
variables :
386
372
PackageVersion : $[ dependencies.SetPackageVersion.outputs['Package.Version'] ]
387
- ob_sdl_sbom_enabled : false
388
- ob_signing_setup_enabled : false
389
- ob_sdl_codeql_compiled_enabled : false
390
- drop : $(Pipeline.Workspace)/drop_build_main
391
373
jobs :
392
374
- job : Validation
393
375
displayName : Manual validation
@@ -407,10 +389,17 @@ extends:
407
389
pool :
408
390
type : windows
409
391
variables :
410
- ob_outputDirectory : ' $(Build.SourcesDirectory)'
392
+ ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
393
+ ob_sdl_sbom_enabled : false
394
+ ob_signing_setup_enabled : false
395
+ ob_sdl_codeql_compiled_enabled : false
396
+ drop : $(Pipeline.Workspace)/drop_build_main
411
397
steps :
412
398
- download : current
413
399
displayName : Download artifacts
400
+ patterns : |
401
+ '**/*.zip'
402
+ '**/*.tar.gz'
414
403
- task : GitHubRelease@1
415
404
displayName : Create GitHub release
416
405
inputs :
0 commit comments