Add .npmrc 89/55089/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 16 Apr 2017 04:46:02 +0000 (00:46 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 16 Apr 2017 04:46:06 +0000 (00:46 -0400)
Make any npm commands infra provided .npmrc. Currently this file
contains a registry configuration to make npm use Nexus as a npmjs
registry which is setup as a proxy of upstream npmjs' repository. This
allows us to be more resilient to upstream infra issues that are out of
our control.

Change-Id: I4c8451aa66921fecffb9f968d7c7bb42214dde2a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-macros.yaml

index ab2f6b732116cf37af44f28692655b97f71b4b3b..cf1f3a51375499c0005f7dd0e93b91a3a16b2c47 100644 (file)
       - mask-passwords
       - config-file-provider:
           files:
+            - file-id: npmrc
+              target: '$HOME/.npmrc'
             - file-id: rackspace-heat
               target: '$HOME/.config/openstack/clouds.yaml'
       - timeout: