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)
Remote Protocol
Agent
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.jsonevery time we sync from upstream Puppeteer - generate and commit a
package-lock.jsonevery time we sync from upstream Puppeteer - call
npm ciinstead ofnpm installin our mach command. Adding some verbose output here wouldn't hurt either.
Updated•5 years ago
|
Priority: P3 → P2
| Assignee | ||
Comment 1•5 years ago
|
||
Adding DEBUG=mocha:cli:* to the environment yields useful info about what settings mocha is using.
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mjzffr
| Assignee | ||
Comment 2•5 years ago
|
||
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
Comment 4•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•