-
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
Setup private feeds for tests #43041
Conversation
- task: Bash@3 | ||
displayName: Setup Private Feeds Credentials | ||
inputs: | ||
filePath: $(sourcesPath)/src/sdk/eng/common/SetupNugetSources.sh |
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.
(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.
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.
Logged dotnet/source-build#4584 for this.
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.