ReleaseEngineering/How To/Mirror NPM Packages: Difference between revisions
< ReleaseEngineering | How To
Jump to navigation
Jump to search
No edit summary |
ChrisCooper (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
You should see it downloading a mess of packages. That's it! | You should see it downloading a mess of packages. That's it! | ||
{{Release Engineering How To|Mirror NPM Packages}} | |||
Latest revision as of 22:16, 16 June 2015
http://npm-mirror.pub.build.mozilla.org is a mirror of NPM packages that are used in build and test automation.
When the time comes to add more files to this mirror, you'll need to know which package's dependencies need to be mirrored. The requester should point you at a package.json file (a manifest).
login to the releng web cluster admin host (relengwebadm.private.scl3.mozilla.com), sudo to root, and
cd /data/releng/src/npm-mirror # download the manifest the requester pointed you at curl -o /tmp/package.json https://raw.github.com/mozilla-b2g/gaia/master/package.json ./mirror.sh /tmp/package.json
You should see it downloading a mess of packages. That's it!