8000 [DRAFT] Vmr verification in repo PRs by NikolaMilosavljevic · Pull Request #460 · dotnet/deployment-tools · GitHub
[go: up one dir, main page]

Skip to content

[DRAFT] Vmr verification in repo PRs #460

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

Closed
wants to merge 19 commits into from
Closed

Conversation

NikolaMilosavljevic
Copy link
Member
@NikolaMilosavljevic NikolaMilosavljevic commented May 15, 2025

Will create an arcade PR, for reviewing of these changes. This PR is for validation of the changes.

Contributes to: dotnet/arcade-services#4539

This PR brings necessary pipeline templates and associated scripts, for updating and building VMR as part of repo PR verification.

  • Templates and scripts are under eng/common which is owned by arcade. As soon as this PR is merged, I will make the same changes in the arcade repo.
  • vmr-sync scripts use the Darc tool, which required a tools manifest file in .config. This will need to be added to any repo that would want to onboard this experience. I could not find a different way to enable this, and it just follows what we had in sdk before.
  • Content of vmr-sync scripts is the same as in https://github.com/dotnet/sdk/pull/48351/files#diff-05db8cf030b53040062f45ed99f7c8b96efdc35c5e90bc52e03db5fd14c472e8
  • This PR does not enable the update of additional repos, i.e. NuGet for sdk repo. That will be implemented in a follow up PR in sdk repo, so that it can be properly tested first. There is some new code, in vmr-sync for doing the additional syncs, but I believe it's untested or would require further tweaks.
  • There is a PR trigger for this new pipeline - I should probably remove it, so the pipeline doesn't run automatically.

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team as a code owner May 15, 2025 19:23
@NikolaMilosavljevic NikolaMilosavljevic requested review from a team May 15, 2025 19:23
Copy link
Member
@mthalman mthalman left a comment

Choose a reason for hiding this comment

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

I'm confused. The only changes in the PR are the tools config file and eng/common changes. So why not just make this PR in arcade?

@NikolaMilosavljevic
Copy link
Member Author

I'm confused. The only changes in the PR are the tools config file and eng/common changes. So why not just make this PR in arcade?

Because I was testing the changes in this repo and created a pipeline in this repo. Perhaps I should have done it in arcade... Now, I would like to finish this, as moving the work to arcade would delay the PR by couple days, and require all the "gymnastics" to get the new pipeline created and all permissions configured.

If others also think that this should be done in arcade first, I will do that. It will cause a delay in completion date.

@NikolaMilosavljevic
Copy link
Member Author

And, the checks are failing as the target VMR sha does not contain the fixes from dotnet/dotnet#546

@mthalman
Copy link
Member

Because I was testing the changes in this repo and created a pipeline in this repo. Perhaps I should have done it in arcade... Now, I would like to finish this, as moving the work to arcade would delay the PR by couple days, and require all the "gymnastics" to get the new pipeline created and all permissions configured.

That work has to be done anyway. And all that we gain by getting this in here first is limited to just the deployment-tools repo. So it's not like a delay really costs us that much.

@MichaelSimons
Copy link
Member

If others also think that this should be done in arcade first, I will do that. It will cause a delay in completion date.

You are going to have to checkin to arcade though right? If you check them in here, they will immediately get overridden by the next flow PR. I would use this as your validation arena and open a PR in arcade to checkin the eng/common changes.

@NikolaMilosavljevic
Copy link
Member Author

If others also think that this should be done in arcade first, I will do that. It will cause a delay in completion date.

You are going to have to checkin to arcade though right? If you check them in here, they will immediately get overridden by the next flow PR. I would use this as your validation arena and open a PR in arcade to checkin the eng/common changes.

OK - I'll mark this PR as draft and have the arcade changes reviewed instead.

@NikolaMilosavljevic NikolaMilosavljevic changed the title Vmr verification in repo PRs [DRAFT] Vmr verification in repo PRs May 15, 2025
@NikolaMilosavljevic
Copy link
Member Author

I've triggered the Maestro subscription to get the latest VMR SHA in this repo, which would help with build errors in checks.

@NikolaMilosavljevic
Copy link
Member Author

/azp run deployment-tools-unified-build

Copy link
Azure Pipelines failed to run 1 pipeline(s).

@NikolaMilosavljevic
Copy link
Member Author

OK, unified-build pipeline was running originally, but since I got the latest backflow it complains that isSourceOnlyBuild parameter is unexpected. It was removed with dotnet/dotnet#549

Will update the PR.

@NikolaMilosavljevic
Copy link
Member Author

This was used for validation of changes in dotnet/arcade#15840. Everything looks good. Closing.

Sign up for free to join th 6108 is 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.

3 participants
0