From 5915355c5b55101ca578c5b0d8cf7828a15460a5 Mon Sep 17 00:00:00 2001 From: manchandavishal Date: Thu, 20 Aug 2020 14:20:07 +0000 Subject: [PATCH] [goal] Migrate testing to ubuntu focal If we move horizon jobs to focal then murano-dashboard nodejs jobs fail. This patch the updates python version to py38 in karma.conf.js and tools/post_install.sh files as py36 is not avaialbale on focal which fixes failed nodejs job. Depends-On: https://review.opendev.org/#/c/744647/ Change-Id: Ic72729514d4759466e8afeac6d03cb1ed7a1765d --- karma.conf.js | 2 +- tools/post_install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index afa89579a..3226771c7 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/py36/lib/python3.6/site-packages/'; + var toxPath = '.tox/py38/lib/python3.8/site-packages/'; var xstaticPath = toxPath + 'xstatic/pkg/'; config.set({ diff --git a/tools/post_install.sh b/tools/post_install.sh index 7da3ecb1e..d7478f3b4 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 -epy36 --notest +tox -epy38 --notest