Merge "Update upload-npm credentials secret"

This commit is contained in:
Zuul 2017-11-23 19:55:14 +00:00 committed by Gerrit Code Review
commit a17e412632
3 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ Upload javascript packages to npm
**Role Variables**
.. zuul:rolevar:: npm_info
.. zuul:rolevar:: npm_credentials
Complex argument which contains the information about the npm
server as well as the authentication information needed.

View File

@ -1 +1 @@
npm_registry_url: "{{ npm_info.registry_url|default('//registry.npmjs.org') }}"
npm_registry_url: "{{ npm_credentials.registry_url|default('//registry.npmjs.org') }}"

View File

@ -1,10 +1,10 @@
init.author.name={{ npm_info.author_name }}
init.author.email={{ npm_info.author_email }}
init.author.url={{ npm_info.author_url }}
init.author.name={{ npm_credentials.author_name }}
init.author.email={{ npm_credentials.author_email }}
init.author.url={{ npm_credentials.author_url }}
tag-version-prefix=
sign-git-tag=true
//registry.npmjs.org/:username={{ npm_info.username }}
//registry.npmjs.org/:_password={{ npm_info.password }}
//registry.npmjs.org/:username={{ npm_credentials.username }}
//registry.npmjs.org/:_password={{ npm_credentials.password }}
//registry.npmjs.org/:email={{ npm_info.author_email }}
//registry.npmjs.org/:email={{ npm_credentials.author_email }}