Skip to content

Commit

Permalink
Cherrypick 3 - Pipeline fixes (#1045)
Browse files Browse the repository at this point in the history
Co-authored-by: Abhishek Jindal <abjindal@microsoft.com>
Co-authored-by: Ryan Hill <38674843+RyanUnderhill@users.noreply.github.com>
Co-authored-by: kunal-vaishnavi <115581922+kunal-vaishnavi@users.noreply.github.com>
Co-authored-by: Chester Liu <4710575+skyline75489@users.noreply.github.com>
Co-authored-by: Pranav Sharma <emailpranav@gmail.com>
Co-authored-by: Bowen Bao <bowenbao@amd.com>
  • Loading branch information
7 people authored Nov 7, 2024
1 parent fb708bb commit 826f6aa
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .pipelines/stages/jobs/nuget-validation-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ jobs:
SpecificArtifact: ${{ parameters.specificArtifact }}
BuildId: ${{ parameters.BuildId }}

- task: Docker@2
inputs:
containerRegistry: onnxruntimebuildcache
command: "login"
addPipelineData: false
displayName: "Log in to container registry"

- ${{ if eq(parameters.os, 'win') }}:
- ${{ if eq(parameters.ep, 'cuda') }}:
- powershell: |
Expand Down Expand Up @@ -180,8 +187,6 @@ jobs:
- ${{ if eq(parameters.ep, 'cuda') }}:
- bash: |
set -e -x
az login --identity --username 63b63039-6328-442f-954b-5a64d124e5b4
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
docker pull $(cuda_docker_image)
docker run \
Expand Down
3 changes: 0 additions & 3 deletions .pipelines/stages/jobs/py-packaging-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ jobs:
Python312:
PyDotVer: '3.12'
PyNoDotVer: '312'
Python313:
PyDotVer: '3.13'
PyNoDotVer: '313'

timeoutInMinutes: 240
workspace:
Expand Down
9 changes: 7 additions & 2 deletions .pipelines/stages/jobs/py-validation-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,17 @@ jobs:
HuggingFaceToken: $(HF_TOKEN)
os: ${{ parameters.os }}

- task: Docker@2
inputs:
containerRegistry: onnxruntimebuildcache
command: "login"
addPipelineData: false
displayName: "Log in to container registry"

- ${{ if or(eq(parameters.os, 'linux'), eq(parameters.os, 'osx')) }}:
- ${{ if eq(parameters.ep, 'cuda') }}:
- bash: |
set -e -x
az login --identity --username 63b63039-6328-442f-954b-5a64d124e5b4
az acr login --name onnxruntimebuildcache --subscription 00c06639-6ee4-454e-8058-8d8b1703bd87
docker pull $(cuda_docker_image)
python_exe=/opt/python/cp310-cp310/bin/python3.10
Expand Down

0 comments on commit 826f6aa

Please sign in to comment.