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

Setup private feeds for tests #43041

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

mthalman
Copy link
Member

@mthalman mthalman commented Aug 27, 2024

Previous refactoring of the VMR pipeline mistakenly removed the pipeline steps which setup the private feed credentials for the NuGet.config used by tests. This causes the error described in dotnet/source-build#4583 (comment).

This is resolved by adding back the pipeline steps that were removed. One difference here is that now we also run the scenario tests in addition to the source build smoke tests. The scenario tests have the same issue as they just copy in the NuGet.config file from the sdk repo. To resolve both of these, the sdk repo's NuGet.config file is directly updated by the SetupNuGetSources.sh. That updated file then is used as the source for both test suites.

Fixes dotnet/source-build#4583

Note that this won't fix RC1 builds. There's no time to get this change in for RC1. But that branch has been privately verified with this fix.

@mthalman mthalman requested review from a team as code owners August 27, 2024 18:16
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Aug 27, 2024
@mthalman mthalman requested a review from ViktorHofer August 27, 2024 19:26
- task: Bash@3
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(sourcesPath)/src/sdk/eng/common/SetupNugetSources.sh
Copy link
Member

Choose a reason for hiding this comment

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

(Orthogonal comment) Isn't this going to be needed for the unified build when we do official release builds (non-source-build)? It would be needed before the build.

Copy link
Member Author

Choose a reason for hiding this comment

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

Logged dotnet/source-build#4584 for this.

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