zuul-jobs/roles/upload-npm
Jeremy Stanley 8b577d4106 Change to the executor workdir during npm upload
When using npm to install locally, it wants to write a node_modules
tree in the current path. Since the default path of a command is the
path where the playbook resides and this is not writeable on a zuul
executor, change to the writeable workdir first.

Change-Id: Ib4f632c0b9e3f5842e3cd649b6ca7ecb8042e7e3
2017-12-09 17:27:56 +00:00
..
defaults Update upload-npm credentials secret 2017-11-22 09:49:19 -06:00
tasks Change to the executor workdir during npm upload 2017-12-09 17:27:56 +00:00
templates Update upload-npm credentials secret 2017-11-22 09:49:19 -06:00
README.rst Update upload-npm credentials secret 2017-11-22 09:49:19 -06:00

Upload javascript packages to npm

Role Variables

Complex argument which contains the information about the npm server as well as the authentication information needed. It is expected that this argument comes from a Secret. This role expects to be run on the executor.

Username to use to log in to npm.

Password to use to log in to npm.

Email associated with the npm account.

npm author name.

npm author url.

npm author email.