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

[RHDH Local] Make it possible to load external plugins from .npmrc

    • [RHDH Local] Make it possible to load external plugins from .npmrc
    • XS
    • False
    • Hide

      Blocked on RHIDP-4263, to have a better way to handle user-defined configuration. This will enable us to handle optional npmrc files accordingly.

      Show
      Blocked on RHIDP-4263, to have a better way to handle user-defined configuration. This will enable us to handle optional npmrc files accordingly.
    • False
    • RHIDP-7225[RHDH Local] Make it possible to load external plugins from .npmrc
    • In Progress
    • RHIDP-7225 - [RHDH Local] Make it possible to load external plugins from .npmrc
    • Customer Facing
    • 0% To Do, 0% In Progress, 100% Done
    • Release Note Not Required

      As reported in RHDHBUGS-200, it would be nice if RHDH Local could allow users to provide and mount their npmrc file, so that they don't need to modify the Compose file manually.

      Acceptance Criteria

      • It should allow users to specify a local npmrc file to mount in the install-dynamic-plugins container
      • It should treat the npmrc file as optional, i.e., it should not fail if the file does not exist
      • It should set the NPM_CONFIG_USERCONFIG env var in the install-dynamic-plugins container if the file is mounted. Otherwise, this env var should not be set
      • It should update the docs

      NOTES:

      • Added a dependency on RHIDP-4263, as this will allow for a better way to provide custom config files to the containers.
      • Priority set to Minor based on the priority of RHDHBUGS-200, and also because there is a (not ideal) workaround.

              rh-ee-fndlovu Fortune Ndlovu
              rh-ee-asoro Armel Soro
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: