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

Move internal tools restore out of CI yaml and into eng/build.ps1 #76911

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Jan 24, 2025

The internal tools must be restored before loading the powershell module to find IBCM merge data. To work nicely with VMR builds, which call roslyn's eng/build.ps1 script, move this restore logic out of the YAML and into the eng/build.ps1 script. The tools are only restored when we know we need to load the module. Note that the tools project will already be restored again automatically when roslyn builds because of the use of IBC data.

The internal tools must be restored before loading the powershell module to find IBCM merge data. To work nicely with VMR builds, which call roslyn's eng/build.ps1 script, move this restore logic out of the YAML and into the eng/build.ps1 script. The tools are only restored when we know we need to load the module. Note that the tools project will already be restored again automatically when roslyn builds because of the use of IBC data.
@mmitche mmitche requested a review from a team as a code owner January 24, 2025 15:21
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 24, 2025
@mmitche
Copy link
Member Author

mmitche commented Jan 24, 2025

Needs internal build and VMR verification.

@mmitche
Copy link
Member Author

mmitche commented Jan 24, 2025

@mmitche
Copy link
Member Author

mmitche commented Jan 24, 2025

It looks like Arcade's use of the devdiv.visualstudio.com URI in the restore sources in the project doesn't work, because the service connections auth to the dev.azure.com/devdiv versions. This will need to be resolved before this can go in.

@mmitche
Copy link
Member Author

mmitche commented Jan 24, 2025

dotnet/arcade#15448

@mmitche
Copy link
Member Author

mmitche commented Jan 29, 2025

@dibarbet Updated to a newer arcade that has a fix for the previous issue, and fixed up coherency in the repo (xliff tasks moved into Arcade).

@mmitche
Copy link
Member Author

mmitche commented Jan 29, 2025

@mmitche mmitche merged commit 250065a into dotnet:main Jan 29, 2025
28 checks passed
@mmitche mmitche deleted the move-internal-tools-restore branch January 29, 2025 17:59
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Jan 29, 2025
dibarbet added a commit that referenced this pull request Jan 31, 2025
#76984)

restore internal tools was moved out of yaml in official build, also
needs to happen with PR val build
See #76911

pr val build (just needs to get past build step) -
https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10928060&view=logs&j=d8f66498-7756-5707-3b43-f2312930a35f&t=bf681905-b801-52f4-803f-be09a0d10104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants