diff options
author | spisarski <s.pisarski@cablelabs.com> | 2016-12-13 14:37:23 -0700 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-12-15 14:50:14 +0000 |
commit | 4ff43caffd5acea6b7db3a4b48eadeb0e4a944af (patch) | |
tree | ac6b2bba852a239e1aa1185b42f0d0ad68f0fd88 | |
parent | 7b6a6ab8088902a20678541195867388d38423e7 (diff) |
Adding installation of ansible and dependencies to host attempting to execute
<apex>/ci/run_smoke_tests.sh. Also fixed the filename that contains the test
stdout/stderr output from snoke-tests.out to smoke-tests.out
JIRA: APEX-373
Change-Id: I7ef68ae09c100e4e7466a10bb8e22279d9a6b41e
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
-rwxr-xr-x | ci/run_smoke_tests.sh | 7 | ||||
-rwxr-xr-x | tests/smoke_tests/execute_smoke_tests.sh | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ci/run_smoke_tests.sh b/ci/run_smoke_tests.sh index 8985ed86..7cbd390d 100755 --- a/ci/run_smoke_tests.sh +++ b/ci/run_smoke_tests.sh @@ -4,5 +4,12 @@ source ../lib/utility-functions.sh export ANSIBLE_HOST_KEY_CHECKING=False +./dev_dep_check.sh + +yum install python-devel -y +yum install openssl-devel -y +easy_install pip +pip install ansible + echo 'See ~stack/smoke-tests.out on the undercloud for result log' ansible-playbook -i "$(get_undercloud_ip)," ../tests/smoke_tests/smoke_tests.yml diff --git a/tests/smoke_tests/execute_smoke_tests.sh b/tests/smoke_tests/execute_smoke_tests.sh index 5ebbf3a4..a9a7b740 100755 --- a/tests/smoke_tests/execute_smoke_tests.sh +++ b/tests/smoke_tests/execute_smoke_tests.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -l INFO &> ~stack/snoke-tests.out
\ No newline at end of file +python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -k -l INFO &> ~stack/smoke-tests.out
\ No newline at end of file |