Skip to content

Commit

Permalink
Share public storage: use "dotnetbuildoutput" (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagood committed Jan 26, 2022
1 parent 7b72c4a commit 24ce2c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eng/pipeline/rolling-internal-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ stages:
# This is a utility job that doesn't use Go: use generic recent LTS for publishing.
vmImage: ubuntu-20.04
variables:
blobDestinationUrl: 'https://golangartifacts.blob.core.windows.net/microsoft/$(PublishBranchAlias)/$(Build.BuildNumber)'
- name: blobDestinationUrl
value: 'https://dotnetbuildoutput.blob.core.windows.net/golang/microsoft/$(PublishBranchAlias)/$(Build.BuildNumber)'
- group: go-storage
steps:
- checkout: none

Expand Down Expand Up @@ -68,7 +70,7 @@ stages:
# Send literal '*' to az: it handles the wildcard itself. Az copy only accepts one
# "from" argument, so we can't use the shell's wildcard expansion.
inlineScript: |
az storage copy -s '*' -d '$(blobDestinationUrl)'
az storage copy -s '*' -d '$(blobDestinationUrl)' --sas-token '$(dotnetbuildoutput-golang-write-sas-query)'
workingDirectory: '$(Pipeline.Workspace)/Binaries Signed/'

- script: |
Expand Down

0 comments on commit 24ce2c1

Please sign in to comment.