5915355c5b
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
14 lines
436 B
Bash
Executable File
14 lines
436 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script will be executed inside npm postinstall task, see package.json
|
|
|
|
# pull down the test shim from horizon master because it's not
|
|
# included in the installed horizon packages
|
|
if [ ! -f test-shim.js ];
|
|
then
|
|
wget -nv -t 3 https://opendev.org/openstack/horizon/raw/branch/master/test-shim.js
|
|
fi
|
|
|
|
echo "Creating a tox env which will contain xStatic libraries, horizon, and openstack_dashboard"
|
|
tox -epy38 --notest
|