diff options
Diffstat (limited to 'tests/smoke_tests')
-rwxr-xr-x | tests/smoke_tests/execute_smoke_tests.sh | 5 | ||||
-rw-r--r-- | tests/smoke_tests/execute_tests.yml | 4 | ||||
-rw-r--r-- | tests/smoke_tests/prepare_undercloud.yml | 17 |
3 files changed, 9 insertions, 17 deletions
diff --git a/tests/smoke_tests/execute_smoke_tests.sh b/tests/smoke_tests/execute_smoke_tests.sh index 6f9e17f3..5ebbf3a4 100755 --- a/tests/smoke_tests/execute_smoke_tests.sh +++ b/tests/smoke_tests/execute_smoke_tests.sh @@ -1,6 +1,3 @@ #!/usr/bin/env bash -cd ~/provisioning/python -export PYTHONPATH=$PYTHONPATH:$(pwd) - -python unit_test_suite.py -e ~stack/overcloudrc -n external -l INFO
\ No newline at end of file +python ~/snaps/snaps/unit_test_suite.py -e ~stack/overcloudrc -n external -l INFO &> ~stack/snoke-tests.out
\ No newline at end of file diff --git a/tests/smoke_tests/execute_tests.yml b/tests/smoke_tests/execute_tests.yml index e2326560..5042d230 100644 --- a/tests/smoke_tests/execute_tests.yml +++ b/tests/smoke_tests/execute_tests.yml @@ -1,6 +1,8 @@ --- - hosts: all - sudo: yes + become: yes + become_method: sudo + become_user: root tasks: - name: Copy execute_smoke_tests.sh diff --git a/tests/smoke_tests/prepare_undercloud.yml b/tests/smoke_tests/prepare_undercloud.yml index d4e318a9..69343ffa 100644 --- a/tests/smoke_tests/prepare_undercloud.yml +++ b/tests/smoke_tests/prepare_undercloud.yml @@ -1,16 +1,9 @@ --- - hosts: all - sudo: yes + become: yes + become_method: sudo + become_user: root tasks: - - yum: name=libffi - - yum: name=libffi-devel - - pip: name=python-keystoneclient - - pip: name=python-glanceclient - - pip: name=python-neutronclient - - pip: name=python-novaclient - - pip: name=scp - - pip: name=PyYAML - - pip: name=ansible==2.1.0 - - - git: repo=https://gerrit.cablelabs.com/snaps-provisioning dest=~/provisioning + - git: repo=https://gerrit.cablelabs.com/snaps-provisioning dest=~/snaps + - command: pip install -e ~/snaps/ |