octavia-dashboard/octavia_dashboard/post_install.sh
Ajay Kumar 2fd7d6ede2 OpenStack is dropping the py2.7 support in ussuri cycle.
octavia-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: I1a7a75ddb132c8e2f41f1e47d3ebca15cb86f461
2019-12-28 13:21:55 +00:00

14 lines
444 B
Bash
Executable File

#!/bin/bash -x
# 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://raw.githubusercontent.com/openstack/horizon/master/test-shim.js
fi
echo "Creating a tox env which will contain xStatic libraries, horizon, and openstack_dashboard"
tox -ekarma --notest;