Skip to content

Commit

Permalink
Fixes Linux Package Signing (microsoft#2090)
Browse files Browse the repository at this point in the history
Co-authored-by: Thad House <[email protected]>
  • Loading branch information
nibanks and thhous-msft authored Oct 21, 2021
1 parent d3f4c16 commit ef2dc90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .azure/OneBranch.Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ extends:
jobs:
- template: .azure/obtemplates/build-linux-packages.yml@self
parameters:
sign: false # TODO set this to true when signing works
sign: true

- stage: package_windows
displayName: Package Windows
Expand Down
11 changes: 5 additions & 6 deletions .azure/obtemplates/build-linux-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,27 @@ jobs:
pool:
type: linux
variables:
ob_outputDirectory: $(Build.SourcesDirectory)/msquic/artifacts/dist
ob_outputDirectory: $(Build.SourcesDirectory)/artifacts/dist
steps:
- checkout: self
- task: PowerShell@2
displayName: Prepare Build Machine
inputs:
pwsh: true
filePath: msquic/scripts/prepare-machine.ps1
filePath: scripts/prepare-machine.ps1
arguments: -Configuration OneBranchPackage
- task: DownloadPipelineArtifact@2
inputs:
artifact: drop_build_linux_build_linux_openssl_Debug
path: $(Build.SourcesDirectory)/msquic/artifacts/bin/linux
path: $(Build.SourcesDirectory)/artifacts/bin/linux
- task: DownloadPipelineArtifact@2
inputs:
artifact: drop_build_linux_build_linux_openssl_Release
path: $(Build.SourcesDirectory)/msquic/artifacts/bin/linux
path: $(Build.SourcesDirectory)/artifacts/bin/linux
- task: PowerShell@2
displayName: Distribution
inputs:
pwsh: false
filePath: msquic/scripts/package-distribution.ps1
filePath: scripts/package-distribution.ps1
- ${{ if not(eq(parameters.sign, false)) }}:
- task: onebranch.pipeline.signing@1
displayName: Sign
Expand Down

0 comments on commit ef2dc90

Please sign in to comment.