Closed Bug 1672461 Opened 5 years ago Closed 5 years ago

Pin package dependencies when installing Puppeteer in Mozilla CI

Categories

(Remote Protocol :: Agent, task, P2)

task

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: impossibus, Assigned: impossibus)

References

Details

(Whiteboard: [puppeteer-beta2-mvp])

Attachments

(1 file)

As pointed out in Bug 1671725, Puppeteer dependencies are not pinned.

To make the pup jobs reproducible, we should:

  • pin the dependencies in package.json every time we sync from upstream Puppeteer
  • generate and commit a package-lock.json every time we sync from upstream Puppeteer
  • call npm ci instead of npm install in our mach command. Adding some verbose output here wouldn't hurt either.
Priority: P3 → P2

Adding DEBUG=mocha:cli:* to the environment yields useful info about what settings mocha is using.

Assignee: nobody → mjzffr

Calling npm ci instead of npm install generates a reproducible
node_modules directory based on the entries in Puppeteer's package-lock.json

The most-recent Puppeteer sync (Bug 1670286) commits package-lock.json
to mozilla-central for the first time.

Depends on D97810

Pushed by mjzffr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/80442bbcf255 [remote] Pin package dependencies when installing Puppeteer in Mozilla CI r=remote-protocol-reviewers,whimboo
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: