Skip to content

Commit

Permalink
CI computes manifest for built binaries (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier authored Mar 30, 2020
1 parent 9fd5922 commit 3f7178f
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,28 @@ stages:
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: binaries

- stage: build_binaries_manifest
displayName: "Build binaries manifest"
dependsOn: build_binaries
jobs:
- job: build_manifest
displayName: "Build binaries manifest"
steps:
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'binaries'
downloadPath: '$(Build.SourcesDirectory)'
- task: Bash@3
inputs:
targetType: inline
script: "cd binaries && sha256sum --binary *.tar.xz | tee $(Build.ArtifactStagingDirectory)/sha256sums.txt"
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: manifest

- stage: build_docker_image
displayName: "Build Docker image"
dependsOn: run_checks
Expand Down

0 comments on commit 3f7178f

Please sign in to comment.