Merge "Use nodejs v10 in testing"

This commit is contained in:
Zuul 2019-06-10 15:57:12 +00:00 committed by Gerrit Code Review
commit 4e8757d477
2 changed files with 3 additions and 1 deletions

View File

@ -72,6 +72,7 @@
javascript_content_dir: "../zuul/web/static"
zuul_work_dir: "{{ zuul.project.src_dir }}/web"
zuul_api_url: https://zuul.openstack.org
node_version: 10
run: playbooks/dashboard/run.yaml
- job:
@ -79,6 +80,7 @@
parent: zuul-build-dashboard
vars:
zuul_api_url: https://softwarefactory-project.io/zuul
node_version: 10
# This job is run on changes to both Zuul and Nodepool; any changes to
# the other project will be picked up via image builds which appear in

View File

@ -23,7 +23,7 @@ then
pip install nodeenv
# Initialize nodeenv and tell it to re-use the currently active virtualenv
# TODO(jeblair): remove node version pin. upath 1.0.4 objects to node >9.
nodeenv --python-virtualenv -n 8.11.1
nodeenv --python-virtualenv -n 10.16.0
# Use -g because inside of the virtualenv '-g' means 'install into the'
# virtualenv - as opposed to installing into the local node_modules.
# Avoid writing a package-lock.json file since we don't use it.