summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-04-07 17:02:31 -0700
committerBryan Sullivan <bs3131@att.com>2016-04-08 00:03:39 +0000
commit0de550dae8acd792f3edaf363f71c720df59e553 (patch)
tree6139371b52b3f5a346c31025206b1082a22097d1
parent008c4c35ea40eb522be47d6af6bef96051fdcd4e (diff)
Add tempest tests to end of install.
JIRA: COPPER-4 Change-Id: If145bc78e4430f4a3950c722bdc9b527f4d5b2bd Signed-off-by: blsaws <bryan.sullivan@att.com> (cherry picked from commit e77e18964c3d6a9310c018d6c23bfa680dcd19f0)
-rw-r--r--components/congress/joid/install_congress_1.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/components/congress/joid/install_congress_1.sh b/components/congress/joid/install_congress_1.sh
index a6ebd96..4ff3d4f 100644
--- a/components/congress/joid/install_congress_1.sh
+++ b/components/congress/joid/install_congress_1.sh
@@ -177,8 +177,19 @@ openstack congress datasource create keystone "keystone" \
--config password=$OS_PASSWORD \
--config auth_url=http://$KEYSTONE_HOST:5000/v2.0
+echo "Install Tempest and dependencies"
+sudo apt-get install libffi-dev libssl-dev
+cd ~/git
+git clone https://github.com/openstack/tempest/
+cd tempest
+~/git/congress/bin/pip install -r requirements.txt
+~/git/congress/bin/pip install .
+
+echo "Copy Congress tests to tempest folder"
+cp -r ~/git/congress/contrib/tempest/tempest/ /opt/stack/tempest/
+
echo "Run Congress Tempest Tests"
cd ~/git/congress
-# tox -epy27
+bin/tox -epy27
set +x #echo off