-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Simplify reused artifact download for VMR builds #47268
Conversation
Instead of downloading and then copying all of the assets from previous builds, just directly download them to the correct folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR simplifies the artifact download process for VMR builds by using the DownloadPipelineArtifact task directly instead of downloading and then copying assets.
- Removed separate download and copy steps
- Consolidated operations into a single DownloadPipelineArtifact task
Reviewed Changes
File | Description |
---|---|
eng/pipelines/templates/jobs/vmr-build.yml | Replaced download and copy steps with the DownloadPipelineArtifact task to streamline artifact handling |
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run sdk-unified-build-full |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC the downoad & copy was necessary to not overwrite existing files. See the OverWrite: false
parameter. How does the download task handle this?
I think the download does overwrite, but I can't find documentation about it either way. We can wait on merging this until I get rid of all duplicates from the different verticals (at which point overwriting doesn't matter) if that's preferred. |
If the BuildPass2 verticals all pass with this change I'm fine with merging. |
Instead of downloading and then copying all of the assets from previous builds, just directly download them to the correct folder.