Added NodeJS and NPM to javascript build
It turns out that trusty has a recent-enough version of node and NPM to allow us to remove the nodeenv dependency in our javascript builds. This is the first step in doing this, to get the core javascript build tools onto our jenkins nodes. Note that a symlink for node is also created, because debian has a different module called "node" for which there's a namespace conflict. Since it's isolated to the npm-install macro and we're unlikley to ever do Amateur Radio things on infra, I don't expect this to be a problem. Change-Id: I5349ad2013185fa20e784e3aa3691c7d41c43636
This commit is contained in:
parent
8d3e6c8f45
commit
f019fc46dc
@ -7,6 +7,7 @@
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- npm-install
|
||||
- revoke-sudo
|
||||
- gerrit-git-prep
|
||||
- js-build:
|
||||
@ -39,6 +40,7 @@
|
||||
name: '{name}-js-release-{branch-designator}'
|
||||
|
||||
builders:
|
||||
- npm-install
|
||||
- revoke-sudo
|
||||
- gerrit-git-prep
|
||||
- js-build:
|
||||
|
@ -74,6 +74,12 @@
|
||||
builders:
|
||||
- shell: "/usr/local/jenkins/slave_scripts/run-pylint.sh {github-org} {project}"
|
||||
|
||||
- builder:
|
||||
name: npm-install
|
||||
builders:
|
||||
- shell: "sudo apt-get install nodejs npm"
|
||||
- shell: "sudo ln /usr/bin/nodejs /usr/local/bin/node"
|
||||
|
||||
- builder:
|
||||
name: puppet-lint
|
||||
builders:
|
||||
|
@ -1422,7 +1422,7 @@
|
||||
- project:
|
||||
name: storyboard-webclient
|
||||
github-org: openstack-infra
|
||||
node: 'bare-precise || bare-trusty'
|
||||
node: 'bare-trusty'
|
||||
tarball-site: tarballs.openstack.org
|
||||
|
||||
jobs:
|
||||
@ -1445,7 +1445,7 @@
|
||||
- project:
|
||||
name: vinz-webclient
|
||||
github-org: openstack-infra
|
||||
node: 'bare-precise || bare-trusty'
|
||||
node: 'bare-trusty'
|
||||
tarball-site: tarballs.openstack.org
|
||||
|
||||
jobs:
|
||||
|
@ -541,8 +541,10 @@ jobs:
|
||||
- name: ^gate-.*-docs$
|
||||
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/doc/build/html/
|
||||
- name: gate-storyboard-webclient-js-unittests
|
||||
parameter-function: set_node_options_default_trusty
|
||||
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/dist/
|
||||
- name: gate-vinz-webclient-js-unittests
|
||||
parameter-function: set_node_options_default_trusty
|
||||
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/dist/
|
||||
- name: infra-publications-publish
|
||||
branch: ^(?!master).*$
|
||||
|
Loading…
x
Reference in New Issue
Block a user