Skip to content

devops(pipeline): resolve Maven and npm packages from DevDiv_PublicPackages feed - #1971

Merged
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:devops-maven-feed
Sep 3, 2026
Merged

devops(pipeline): resolve Maven and npm packages from DevDiv_PublicPackages feed#1971
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:devops-maven-feed

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • Release pipeline resolves Maven artifacts/plugins and the npm driver package from the DevDiv_PublicPackages Azure Artifacts feed (SFI-ES4.2.4) instead of Maven Central / npmjs.com.
  • Maven mirror lives in a pipeline-only settings.xml; pom.xml and public CI are unchanged.
  • download_driver.sh uses npm pack and honours the configured registry instead of a hard-coded npmjs.org URL.
  • Manual pipeline runs skip the release-branch check and the ESRP publish job, so the setup can be tested without publishing.

…ckages feed

Route all package downloads in the release pipeline through the
DevDiv_PublicPackages Azure Artifacts feed, as required by SFI-ES4.2.4:

- Maven: a pipeline-only settings.xml mirrors central to the feed and
  MavenAuthenticate@0 supplies credentials. The published poms and
  public CI keep using Maven Central.
- npm: the pipeline writes .npmrc pointing at the feed and runs
  npmAuthenticate@0. download_driver.sh now runs npm from the repository
  root and uses `npm pack` instead of a hard-coded registry.npmjs.org
  URL, so the configured registry is used for both the gitHead lookup
  and the playwright-core tarball.
- Skip the release-branch check on manual runs and gate the ESRP publish
  job on v1.* tags so the feed setup can be exercised by hand.
… directly

The upstream driver build script that pinned NODE_VERSION was removed in
microsoft/playwright#41518, so the gitHead lookup only ever led to a 404
and the LTS fallback. The gitHead field is also not available from the
internal npm feed, which failed the release pipeline.
download_driver.sh needs node and npm on the agent.
@yury-s
Yury Semikhatsky (yury-s) merged commit 391cb63 into microsoft:main Sep 3, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants