devops(pipeline): resolve pip and npm packages from DevDiv_PublicPackages feed - #3194
Merged
Merged
Conversation
…ages feed Route all pip installs through PipAuthenticate@1 and the playwright-core download through the DevDiv_PublicPackages npm registry so the release build no longer reaches pypi.org, files.pythonhosted.org or registry.npmjs.org (SFI-ES4.2.4). build_driver.py now reads the registry and credentials from .npmrc the way npm does, so no Node.js install is needed in the pipeline. Manual runs stop after Build so the build can be exercised without publishing.
Mirrors playwright-java: npm resolves the registry and credentials from the root .npmrc itself, so the hand-rolled .npmrc parsing goes away and the pipeline installs Node.js again.
Yury Semikhatsky (yury-s)
requested review from
Devin Rousso (dcrousso),
Dmitry Gozman (dgozman) and
Pavel Feldman (pavelfeldman)
September 3, 2026 23:08
Pavel Feldman (pavelfeldman)
approved these changes
Sep 3, 2026
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.
Summary
PipAuthenticate@1against theDevDiv_PublicPackagesfeed before any pip use and route theplaywright-coredownload through the feed's npm registry (.npmrc+npmAuthenticate@0), so the release build no longer contacts pypi.org, files.pythonhosted.org or registry.npmjs.org (SFI-ES4.2.4).scripts/build_driver.pyreads the registry and credentials from.npmrcthe way npm does, so the pipeline no longer needs Node.js installed.Build;Publishonly runs forrefs/tags/v1.*.