summaryrefslogtreecommitdiffstats
path: root/components/congress
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-04-07 17:02:31 -0700
committerblsaws <bryan.sullivan@att.com>2016-04-07 17:02:31 -0700
commite77e18964c3d6a9310c018d6c23bfa680dcd19f0 (patch)
tree6139371b52b3f5a346c31025206b1082a22097d1 /components/congress
parent9e3aa006c86d62c4e15ed240ea33eaea04bbfd89 (diff)
Add tempest tests to end of install.
JIRA: COPPER-4 Change-Id: If145bc78e4430f4a3950c722bdc9b527f4d5b2bd Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'components/congress')
-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