Skip to content

Commit

Permalink
New rocm nuget publish pipeline (microsoft#22418)
Browse files Browse the repository at this point in the history
### Description
Add a new pipeline to publish ROCM package to ADO



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

### Test Link
https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1615
  • Loading branch information
mszhanyi authored Oct 13, 2024
1 parent 1fa219d commit 72cc72c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,14 +340,3 @@ stages:
SpecificArtifact: ${{ parameters.specificArtifact }}
CustomOpArtifactName: 'onnxruntime-linux-x64-rocm'
BuildId: ${{ parameters.BuildId }}

- template: templates/publish-nuget-steps.yml
parameters:
download_artifacts_steps:
- template: templates/flex-downloadPipelineArtifact.yml
parameters:
StepName: 'Download Pipeline Artifact - Signed NuGet ROCm Package'
ArtifactName: 'drop-signed-nuget-ROCm'
targetPath: '$(Build.BinariesDirectory)/nuget-artifact/final-package'
SpecificArtifact: ${{ parameters.specificArtifact }}
BuildId: ${{ parameters.BuildId }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
resources:
pipelines:
- pipeline: build
source: 'Nuget ROCM Packaging pipeline'
trigger:
branches:
include:
- main
- rel-*
branch: main

# ROCm
stages:
- template: templates/publish-nuget-steps.yml
parameters:
stage_name: 'Publish_ROCM_NuGet_Package'
download_artifacts_steps:
- download: build
displayName: 'Download Pipeline Artifact - Signed NuGet Package'
artifact: 'drop-signed-nuget-ROCm'
- script: move "$(Pipeline.Workspace)\build\drop-signed-nuget-ROCm\*" $(Build.BinariesDirectory)\nuget-artifact\final-package

0 comments on commit 72cc72c

Please sign in to comment.