efc8402cbd
This patch adds an .npmrc file for the jenkins user on our pypi slave. Note that actually publishing to npm will only work on trusty or later. This patch requires a manual step, where a member of infra-root registers the openstackci user on npm, and injects the password into hiera. Note that npm credentials require a user, password, and URL, some of which are specified in site.pp. Change-Id: I13fa91500a7b189e5fb6e915968727e8c1f2a1f4
13 lines
362 B
Plaintext
13 lines
362 B
Plaintext
<%
|
|
require 'base64'
|
|
%>
|
|
init.author.name=<%= jenkins_gitfullname %>
|
|
init.author.email=<%= jenkins_gitemail %>
|
|
init.author.url=<%= npm_userurl %>
|
|
tag-version-prefix=
|
|
sign-git-tag=true
|
|
|
|
//registry.npmjs.org/:username=<%= npm_username %>
|
|
//registry.npmjs.org/:_password=<%= Base64.encode64(npm_userpassword) %>
|
|
//registry.npmjs.org/:email=<%= jenkins_gitemail %>
|