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

Skip azcopy download if it already exists #3188

Merged
1 commit merged into from
Apr 21, 2022

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented Apr 21, 2022

No description provided.

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Copy link
Member

@JimSuplizio JimSuplizio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for doing this Patrick.

@scbedd
Copy link
Member

scbedd commented Apr 21, 2022

🚀 🚀 🚀

@ghost
Copy link

ghost commented Apr 21, 2022

Hello @azure-sdk!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit f14aa77 into main Apr 21, 2022
@ghost ghost deleted the pahallis/idempotent-azcopy-downlaod branch April 21, 2022 22:03
@@ -10,8 +10,10 @@ parameters:
steps:
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml
- pwsh: |
Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://aka.ms/downloadazcopy-v10-windows" -OutFile "azcopy.zip" | Wait-Process;
Expand-Archive -Path "azcopy.zip" -DestinationPath "$(Build.BinariesDirectory)/azcopy/"
if (!(Test-Path '$(Build.BinariesDirectory)/azcopy/azcopy_windows_amd64_*/azcopy.exe')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this will likely help the immediate issue, we can probably improve this a little further by checking to see if azcopy is already on the path via gcm because I believe it is already on the agents now.

benbp pushed a commit to benbp/azure-sdk-tools that referenced this pull request May 6, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants