Skip to content

PMM-15216: install pnpm in rpmbuild images for UI feature builds#5654

Draft
fabio-silva wants to merge 1 commit into
PMM-15216from
cursor/pnpm-rpmbuild-fix-61cd
Draft

PMM-15216: install pnpm in rpmbuild images for UI feature builds#5654
fabio-silva wants to merge 1 commit into
PMM-15216from
cursor/pnpm-rpmbuild-fix-61cd

Conversation

@fabio-silva

@fabio-silva fabio-silva commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Ticket number: PMM-15216

Feature build: Percona-Lab/pmm-submodules#4474

Summary

Jenkins feature builds for the SEP frontend integration fail with pnpm: No such file or directory because public.ecr.aws/e7j3v3n0/rpmbuild:3 ships nodejs + yarn only.

This PR:

  1. Installs pnpm@11.1.3 (matches ui/package.json packageManager) in build/docker/rpmbuild/Dockerfile.{el8,el9,hetzner-el9}
  2. Hardens ui/Makefile setup: keep corepack enable, then fall back to sudo npm install -g pnpm@11.1.3 so FBs work before rpmbuild:3 is republished

Superseded: the same fix was pushed to PMM-15216 (03d5f0212), and that branch has since been updated with main (c2c84db17). This PR is empty/redundant vs its base; safe to close.

Related: Percona-Lab/pmm-submodules#4474, percona/pmm#5653

Open in Web Open in Cursor 

Feature builds fail with `pnpm: No such file or directory` because
public.ecr.aws/e7j3v3n0/rpmbuild:3 ships nodejs+yarn only. Install
pnpm@11.1.3 in the rpmbuild Dockerfiles, and add an npm global
fallback in ui/Makefile so FBs work before the image is republished.

Co-authored-by: Fábio Silva <fabio-silva@users.noreply.github.com>
@codecov

codecov Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (PMM-15216@a2453ce). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff              @@
##             PMM-15216    #5654   +/-   ##
============================================
  Coverage             ?   44.10%           
============================================
  Files                ?      416           
  Lines                ?    43067           
  Branches             ?        0           
============================================
  Hits                 ?    18996           
  Misses               ?    22192           
  Partials             ?     1879           
Flag Coverage Δ
admin 34.78% <ø> (?)
agent 50.27% <ø> (?)
managed 43.27% <ø> (?)
vmproxy 72.22% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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