Update node to v10

Change-Id: Idd3ae6007f14d4e03c7960431819c7d44df2910b
This commit is contained in:
Monty Taylor 2019-12-04 11:02:22 -06:00
parent 9834cbd75f
commit 1aa7a72ea0
2 changed files with 20 additions and 20 deletions

View File

@ -47,68 +47,68 @@
pass-to-parent: true pass-to-parent: true
- job: - job:
name: storyboard-webclient-nodejs-npm8-run-test-functional name: storyboard-webclient-nodejs-npm-run-test-functional
parent: nodejs-npm-run-test parent: nodejs-npm-run-test
description: | description: |
Run "test-functional" using nodejs. Run "test-functional" using nodejs.
vars: vars:
npm_command: test-functional npm_command: test-functional
node_version: 8 node_version: 10
- job: - job:
name: storyboard-webclient-nodejs-npm8-run-test-integration name: storyboard-webclient-nodejs-npm-run-test-integration
parent: nodejs-npm-run-test parent: nodejs-npm-run-test
description: | description: |
Run "test-integration" using nodejs. Run "test-integration" using nodejs.
vars: vars:
npm_command: test-integration npm_command: test-integration
node_version: 8 node_version: 10
- job: - job:
name: storyboard-webclient-nodejs-npm8-run-test-unit name: storyboard-webclient-nodejs-npm-run-test-unit
parent: nodejs-npm-run-test parent: nodejs-npm-run-test
description: | description: |
Run "test-unit" using nodejs. Run "test-unit" using nodejs.
vars: vars:
npm_command: test-unit npm_command: test-unit
node_version: 8 node_version: 10
- project: - project:
check: check:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-npm-run-lint:
vars: vars:
node_version: 8 node_version: 10
- storyboard-webclient-nodejs-npm8-run-test-unit - storyboard-webclient-nodejs-npm-run-test-unit
- storyboard-webclient-nodejs-npm8-run-test-functional - storyboard-webclient-nodejs-npm-run-test-functional
- storyboard-webclient-nodejs-npm8-run-test-integration - storyboard-webclient-nodejs-npm-run-test-integration
- build-javascript-content: - build-javascript-content:
vars: vars:
javascript_content_dir: build javascript_content_dir: build
npm_command: draft npm_command: draft
node_version: 8 node_version: 10
- opendev-buildset-registry - opendev-buildset-registry
- storyboard-webclient-build-opendev-image - storyboard-webclient-build-opendev-image
gate: gate:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-npm-run-lint:
vars: vars:
node_version: 8 node_version: 10
- storyboard-webclient-nodejs-npm8-run-test-unit - storyboard-webclient-nodejs-npm-run-test-unit
- storyboard-webclient-nodejs-npm8-run-test-functional - storyboard-webclient-nodejs-npm-run-test-functional
- storyboard-webclient-nodejs-npm8-run-test-integration - storyboard-webclient-nodejs-npm-run-test-integration
- build-javascript-content: - build-javascript-content:
vars: vars:
javascript_content_dir: build javascript_content_dir: build
npm_command: draft npm_command: draft
node_version: 8 node_version: 10
- opendev-buildset-registry - opendev-buildset-registry
- storyboard-webclient-upload-opendev-image - storyboard-webclient-upload-opendev-image
post: post:
jobs: jobs:
- publish-openstack-javascript-content: - publish-openstack-javascript-content:
vars: vars:
node_version: 8 node_version: 10
promote: promote:
jobs: jobs:
- storyboard-webclient-promote-opendev-image - storyboard-webclient-promote-opendev-image

View File

@ -16,12 +16,12 @@ deps = nodeenv
[testenv:venv] [testenv:venv]
commands = commands =
bash ./bin/nodeenv.sh {envdir} 6.10.2 bash ./bin/nodeenv.sh {envdir} 10.17.0
npm install npm install
[testenv:grunt] [testenv:grunt]
commands = commands =
bash ./bin/nodeenv.sh {envdir} 6.10.2 bash ./bin/nodeenv.sh {envdir} 10.17.0
npm install npm install
bash ./bin/api.sh create-db bash ./bin/api.sh create-db
bash ./bin/api.sh start bash ./bin/api.sh start
@ -31,7 +31,7 @@ commands =
[testenv:grunt_no_api] [testenv:grunt_no_api]
deps = nodeenv deps = nodeenv
commands = commands =
bash ./bin/nodeenv.sh {envdir} 6.10.2 bash ./bin/nodeenv.sh {envdir} 10.17.0
npm install npm install
npm rebuild node-sass --force npm rebuild node-sass --force
{toxinidir}/node_modules/.bin/grunt {posargs} {toxinidir}/node_modules/.bin/grunt {posargs}