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

Simplify reused artifact download for VMR builds #47268

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

jkoritzinsky
Copy link
Member

Instead of downloading and then copying all of the assets from previous builds, just directly download them to the correct folder.

Instead of downloading and then copying all of the assets from previous builds, just directly download them to the correct folder.
@Copilot Copilot bot review requested due to automatic review settings March 5, 2025 00:17
@jkoritzinsky jkoritzinsky requested review from a team as code owners March 5, 2025 00:17
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Mar 5, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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.

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run sdk-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ViktorHofer ViktorHofer left a 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?

@jkoritzinsky
Copy link
Member Author

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.

@ViktorHofer
Copy link
Member

If the BuildPass2 verticals all pass with this change I'm fine with merging.

@jkoritzinsky jkoritzinsky merged commit 7353370 into main Mar 5, 2025
77 of 80 checks passed
@jkoritzinsky jkoritzinsky deleted the jkoritzinsky-patch-1 branch March 5, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants