- Notifications
You must be signed in to change notification settings - Fork7.7k
Fixes to Azure Public feed usage#24149
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Merged
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
adityapatwardhan approved these changesAug 14, 2024
5919a24
intoPowerShell:master 41 checks passed
Uh oh!
There was an error while loading.Please reload this page.
chrisdent-de pushed a commit to chrisdent-de/PowerShell that referenced this pull requestSep 12, 2024
* 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
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull requestOct 8, 2024
* 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
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull requestOct 8, 2024
* 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
TravisEz13 added a commit that referenced this pull requestOct 10, 2024
* Fixes to Azure Public feed usage (#24149)* 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* fix the nuget sources
adityapatwardhan pushed a commit to adityapatwardhan/PowerShell that referenced this pull requestOct 14, 2024
* 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
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
Backport-7.2.x-DoneBackPort-7.4.x-DoneCL-BuildPackagingIndicates that a PR should be marked as a build or packaging change in the Change Log
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.
Uh oh!
There was an error while loading.Please reload this page.
Summary
This is to ensure that the official release only uses Azure Public feeds.
This pull request includes several changes to
.pipelines
andbuild.psm1
files to streamline the build process, improve configuration management, and enhance the flexibility of the build scripts. The most important changes include updates to variable groups, improvements in the handling of configuration files, and enhancements to the build scripts to support additional parameters and error handling.Pipeline Configuration Updates:
.pipelines/PowerShell-Coordinated_Packages-Official.yml
: Updated variable groups to usemscodehub-feed-read-general
and added new feature flags for Linux and Windows host versions..pipelines/PowerShell-Packages-Official.yml
: Addedmscodehub-feed-read-general
to the variable groups..pipelines/templates/checkAzureContainer.yml
: Changedob_sdl_codeql_compiled_enabled
value to false..pipelines/templates/insert-nuget-config-azfeed.yml
: Added a new parameterob_restore_phase
and improved error handling in the script.Build Script Enhancements:
build.psm1
: Improved theSwitch-PSNugetConfig
function to support mandatory parameters and added error handling for missing configurations.build.psm1
: Modified thePublish-PSTestTools
function to conditionally includeTestService
tool only on Windows.build.psm1
: Added verbose logging for capturing NuGet sources inStart-PSBootstrap
.These changes aim to improve the maintainability and robustness of the build and release pipelines.