From cf52fa71f1462f022c0f9bd85eb67a4bcad9f458 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 30 Aug 2016 17:51:10 -0500 Subject: [PATCH] Ensure tempest always has an Ansible config export This change ensures that the "scripts/run-tempest.sh" script always has a current export of the ansible configuration files. This will also ensure that we're running tempest on every commit at present we're currently passing due to a set of warnings. Change-Id: Ibda98784b8d08648823d87d986cb20ad06318036 Signed-off-by: Kevin Carter --- scripts/run-tempest.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/run-tempest.sh b/scripts/run-tempest.sh index e84695ba51..6af7e8612d 100755 --- a/scripts/run-tempest.sh +++ b/scripts/run-tempest.sh @@ -33,6 +33,10 @@ info_block "Checking for required libraries." 2> /dev/null || source "$(dirname ## Main ---------------------------------------------------------------------- info_block "Running OpenStack Smoke Tests" +if [[ -f "/usr/local/bin/openstack-ansible.rc" ]];then + source "/usr/local/bin/openstack-ansible.rc" +fi + pushd playbooks # Check that there are utility containers if ! ansible 'utility[0]' --list-hosts;then