From 46d49074bfc3a1c8f2bfe70e3ee0817e9059eb66 Mon Sep 17 00:00:00 2001 From: zhurong Date: Mon, 18 Nov 2019 21:22:07 -0800 Subject: [PATCH] Fix nodejs-npm-run-test job failed Change-Id: I87ca02dc60c479d523e2d944083c793dac365e78 --- .zuul.yaml | 2 +- karma.conf.js | 4 ++-- tools/post_install.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 76cfb8554..b7e1acdbd 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,7 @@ templates: - check-requirements - horizon-non-primary-django-jobs - - nodejs4-jobs + - horizon-nodejs10-jobs - openstack-cover-jobs-horizon - openstack-lower-constraints-jobs - openstack-python-jobs-horizon diff --git a/karma.conf.js b/karma.conf.js index 45d958e51..afa89579a 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -21,7 +21,7 @@ var path = require('path'); module.exports = function (config) { // This tox venv is setup in the post-install npm step - var toxPath = '.tox/py27/lib/python2.7/site-packages/'; + var toxPath = '.tox/py36/lib/python3.6/site-packages/'; var xstaticPath = toxPath + 'xstatic/pkg/'; config.set({ @@ -137,4 +137,4 @@ module.exports = function (config) { ] }); -}; \ No newline at end of file +}; diff --git a/tools/post_install.sh b/tools/post_install.sh index 192e33977..7da3ecb1e 100755 --- a/tools/post_install.sh +++ b/tools/post_install.sh @@ -10,4 +10,4 @@ then fi echo "Creating a tox env which will contain xStatic libraries, horizon, and openstack_dashboard" -tox -epy27 --notest +tox -epy36 --notest