Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-496

Setup a local (to CI) NPM registry mirror

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Downloading of NPM packages from the public registry can be flaky, causing CI builds to randomly fail. Would be good to have a local (more reliable) registry mirror.

      Mirroring options:

      1. a private NPM registry instance,
      2. artifactory
      3. nexus

        Attachments

          Issue Links

            Activity

            Hide
            tfennelly Tom FENNELLY added a comment -

            We're getting bitten by this again atm ... CI jobs failing.

            Show
            tfennelly Tom FENNELLY added a comment - We're getting bitten by this again atm ... CI jobs failing.
            Hide
            aheritier Arnaud Héritier added a comment -

            Hi Tom,

            If your builds are on DEV@cloud we are impacted by an issue from NPM : http://status.cloudbees.com/incidents/kg1yzxkgtsnx

            Sorry for this.

            Show
            aheritier Arnaud Héritier added a comment - Hi Tom, If your builds are on DEV@cloud we are impacted by an issue from NPM : http://status.cloudbees.com/incidents/kg1yzxkgtsnx Sorry for this.
            Hide
            tfennelly Tom FENNELLY added a comment -

            Arnaud Héritier Thanks Arnaud. Yes, this is the issue I was referring to in the previous comment.

            Show
            tfennelly Tom FENNELLY added a comment - Arnaud Héritier Thanks Arnaud. Yes, this is the issue I was referring to in the previous comment.
            Hide
            rtyler R. Tyler Croy added a comment -

            An npm registry should be set up as a caching repo here: https://repo.jenkins-ci.org/api/npm/npm

            Please test it out and let me know if there are issues

            Show
            rtyler R. Tyler Croy added a comment - An npm registry should be set up as a caching repo here: https://repo.jenkins-ci.org/api/npm/npm Please test it out and let me know if there are issues
            Hide
            rtyler R. Tyler Croy added a comment -

            As far as I can tell, this has been completed. I ran this command npm install azure --registry https://repo.jenkins-ci.org/api/npm/npm and that seemed to work fine.

            Show
            rtyler R. Tyler Croy added a comment - As far as I can tell, this has been completed. I ran this command npm install azure --registry https://repo.jenkins-ci.org/api/npm/npm and that seemed to work fine.

              People

              Assignee:
              tfennelly Tom FENNELLY
              Reporter:
              tfennelly Tom FENNELLY
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: