Update upload-npm credentials secret

This job was using npm_info as the name for the credentials
secrets, but it is actually named npm_credentials. Updating
all references to use the correct variable name.

Change-Id: I2959ec788ffa39e32e66caf3a3a16c2441636a51
This commit is contained in:
Sean McGinnis 2017-11-22 09:47:56 -06:00
parent f31f115194
commit fb6c63eac2
3 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ Upload javascript packages to npm
**Role Variables** **Role Variables**
.. zuul:rolevar:: npm_info .. zuul:rolevar:: npm_credentials
Complex argument which contains the information about the npm Complex argument which contains the information about the npm
server as well as the authentication information needed. 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.name={{ npm_credentials.author_name }}
init.author.email={{ npm_info.author_email }} init.author.email={{ npm_credentials.author_email }}
init.author.url={{ npm_info.author_url }} init.author.url={{ npm_credentials.author_url }}
tag-version-prefix= tag-version-prefix=
sign-git-tag=true sign-git-tag=true
//registry.npmjs.org/:username={{ npm_info.username }} //registry.npmjs.org/:username={{ npm_credentials.username }}
//registry.npmjs.org/:_password={{ npm_info.password }} //registry.npmjs.org/:_password={{ npm_credentials.password }}
//registry.npmjs.org/:email={{ npm_info.author_email }} //registry.npmjs.org/:email={{ npm_credentials.author_email }}