Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4554

npm in RHDH image non-standard default npm registry [1.3]

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.3.1
    • 1.1, 1.2, 1.3
    • Dynamic plugins, Release
    • None
    • RHDH Core Team 3264
    • Important

      Description of problem:

      npm in RHDH image (1.3) is configured to use internal Cachito. This makes it impossible to load dynamic plugins from the npm registry unless someone reconfigures this

       

       

      ❯ podman run -it --entrypoint=/bin/bash quay.io/rhdh/rhdh-hub-rhel9:1.3 -c "npm config list"
      ; "global" config from /etc/npmrc; prefix = "/usr/local" ; overridden by env
      python = "/usr/bin/python3"; "user" config from /opt/app-root/src/.npmrc//cachito-nexus.engineering.redhat.com/repository/cachito-yarn-1680055/:_auth = (protected)
      always-auth = true
      cafile = "/registry-ca.pem"
      email = (protected)
      fetch-retries = 5
      fetch-retry-factor = 2
      registry = "https://cachito-nexus.engineering.redhat.com/repository/cachito-yarn-1680055/"
      strict-ssl = true; "env" config from environmentignore-scripts = true
      prefix = "/opt/app-root/src/.npm-global"; node bin location = /usr/bin/node
      ; node version = v20.16.0
      ; npm local prefix = /opt/app-root/src
      ; npm version = 10.8.1
      ; cwd = /opt/app-root/src
      ; HOME = /opt/app-root/src
      ; Run `npm config ls -l` to show all defaults.

       

       

      Expected results:

      not to use internal red hat services

      Reproducibility (Always/Intermittent/Only Once):

      1.3, 1.2, 1.1

       

              nickboldt Nick Boldt
              tkral@redhat.com Tomas Kral
              RHIDP - Core Platform
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: