Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "publish nuget package to azure blob (#1309)" #1485

Merged
merged 1 commit into from
Jul 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ jobs:
cd $cwd

- job: NuGet_Packaging
pool:
name: Hosted Windows 2019 with VS2019
# AzureFileCopy@3 task has some bug that it depends on a particular version of azure power shell,
# which is not available in OnnxRuntime build VMs, but available in the latest hosted agents.
# So, all the copy/publish jobs are being run on hosted agent
# TODO: install the desired azureps on our VMs or use later bugfixed version of AzureFileCopy
demands: azureps
pool: $(AgentPoolWin)
dependsOn:
- Windows_CI_Dev
- Windows_CI_Dev_x86
Expand Down Expand Up @@ -156,17 +150,4 @@ jobs:
artifactName: 'drop-signed-nuget'
targetPath: '$(Build.ArtifactStagingDirectory)'

- template: ../../templates/set-version-number-variables-step.yml
- task: AzureFileCopy@3
displayName: 'Copy Signed NuGet Package to Blob Store'
condition: ${{ parameters.DoEsrp }}
inputs:
SourcePath: '$(Build.ArtifactStagingDirectory)/Microsoft.ML.OnnxRuntime.$(OnnxRuntimeVersion)-dev-$(OnnxRuntimeGitCommitHashShort).nupkg'
azureSubscription: 'AI Infra Build (00c06639-6ee4-454e-8058-8d8b1703bd87)'
Destination: AzureBlob
storage: ortpackages
ContainerName: ortpackages

- template: test_all_os.yml


Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ steps:
FOR /F "tokens=* USEBACKQ" %%F IN (`git rev-parse HEAD`) DO (
@echo ##vso[task.setvariable variable=OnnxRuntimeGitCommitHash;]%%F
)
FOR /F "tokens=* USEBACKQ" %%F IN (`git rev-parse --short HEAD`) DO (
@echo ##vso[task.setvariable variable=OnnxRuntimeGitCommitHashShort;]%%F
)
workingDirectory: '$(Build.SourcesDirectory)'
condition: eq(variables['Agent.OS'], 'Windows_NT')
Expand All @@ -30,8 +26,5 @@ steps:
_OnnxRuntimeGitCommitHash=$(git rev-parse HEAD)
echo "##vso[task.setvariable variable=OnnxRuntimeGitCommitHash;]$_OnnxRuntimeGitCommitHash"
_OnnxRuntimeGitCommitHash=$(git rev-parse --short=8 HEAD)
echo "##vso[task.setvariable variable=OnnxRuntimeGitCommitHashShort;]$_OnnxRuntimeGitCommitHash"
workingDirectory: '$(Build.SourcesDirectory)'
condition: not(eq(variables['Agent.OS'], 'Windows_NT'))