Skip to content

Commit

Permalink
Update pipeline for compliance (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJohnson327 authored Sep 4, 2024
1 parent 0fb5d23 commit 9e343dc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ extends:
sdl:
roslyn:
enabled: true
binskim:
break: false
scanOutputDirectoryOnly: true
policheck:
break: false
severity: Note
arrow:
serviceConnection: DevHome Build VM Generation
baseline:
Expand Down Expand Up @@ -145,6 +151,16 @@ extends:
filePath: 'build/scripts/Build.ps1'
arguments: -Platform "${{ platform }}" -Configuration "${{ configuration }}" -Version $(MSIXVersion) -BuildStep "msix" -AzureBuildingBranch "$(BuildingBranch)" -IsAzurePipelineBuild -ClientId $(GitHubClientId) -ClientSecret $(GitHubClientSecret)

- task: PowerShell@2
displayName: Copy Binaries for Artifact Publishing
inputs:
targetType: inline
script: >-
New-Item -Path '$(Build.ArtifactStagingDirectory)\rawBinaries' -ItemType Directory
Get-ChildItem -Path "$(Build.SourcesDirectory)\buildoutput\*" -Include *.dll,*.exe,*.pdb -Recurse | Copy-Item -Destination "$(Build.ArtifactStagingDirectory)\rawBinaries" -verbose
pwsh: true

- template: ./build/templates/EsrpSigning-Steps.yml@self
parameters:
displayName: Submit *.msix to ESRP for code signing
Expand Down Expand Up @@ -267,6 +283,10 @@ extends:
targetPath: $(appxPackageDir)\${{ configuration }}
sbomPackageName: devhomegithubextension.msixpackage
sbomPackageVersion: $(MSIXVersion)
- output: pipelineArtifact
displayName: 'Publish Binaries'
artifactName: binaries_${{ platform }}_${{ configuration }}
targetPath: $(Build.ArtifactStagingDirectory)\rawBinaries

- stage: Build_MsixBundle
dependsOn: Build_Msix
Expand Down

0 comments on commit 9e343dc

Please sign in to comment.