{{ message }}
[release/v7.2] Update and add new NuGet package sources for different environments.#24399
Closed
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.2from
Closed
[release/v7.2] Update and add new NuGet package sources for different environments.#24399TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.2from
TravisEz13 wants to merge 1 commit intoPowerShell:release/v7.2from
Conversation
* Fix code PATs * Fix feed PATs * remove gallery commit * update feed url * Update to new variable groups * Fix Variable name * Fix credential template * Disable Signing setup in prep stage * Capture nuget source list * lock down the firewall * Add creds to feed switch to allow single switch location * Use switch from build.psm1 * Use switch template instead of commands * update to test feed * disable codeql in jobs where we don't compile * disable code sign validation for prep * move capture steps to restore phase to see if it speeds things up * remove duplicate capture of nuget config * update test service * Only build windows test service on windows * warn when no config is generated * try to fix test service * fix web listener refs * try removing dotnet tool * update feedname with user info * update package version that is not found * try moving failing jobs to restore phase * allow nuget inset in either phase * update package ref * use the right reporoot * Move everything to restore * Try adding build phase * put nuget files in the right place * move bootstrap into yaml * remove onebranch agent items from macos build * switch to environment variable * bump a couple of packages * fix formatting * Fix static analysis issue * update feed url to test restoring everything * install the AzFeed cred provider * fix binlog issues
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backport #24264
This pull request introduces new functions to streamline NuGet configuration management and adds a feature to conditionally generate experimental features. It also updates the NuGet package source in a configuration file.
New functions in
build.psm1:Switch-PSNugetConfigfunction to manage NuGet configurations based on the source type (PublicorPrivate). This function includes parameters for user authentication and handles different NuGet package sources accordingly. ([build.psm1R693-R778](https://github.com/PowerShell/PowerShell/pull/24399/files#diff-1eb6991ceacad71a638a32bcf0a4ec906c7ec150f5086732ab6d7702a624914aR693-R778))Test-ShouldGenerateExperimentalFeaturesfunction to determine if experimental features should be generated based on the runtime environment and build conditions. ([build.psm1R693-R778](https://github.com/PowerShell/PowerShell/pull/24399/files#diff-1eb6991ceacad71a638a32bcf0a4ec906c7ec150f5086732ab6d7702a624914aR693-R778))Configuration updates:
test/tools/Modules/nuget.configto point to a new private feed for PowerShell packages. ([test/tools/Modules/nuget.configL5-R5](https://github.com/PowerShell/PowerShell/pull/24399/files#diff-686074974c03a838500f2ff2eb5e61d23b8b58e3c49b07d69aed33ea7cfae45cL5-R5))