blob: feace0054520a2c5a24d00d5d76ce84f7c4380d0 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# api-test-playbook.yml
3
4- include: deploy-xos-playbook.yml
5
6- name: Prep for the API tests
7 hosts: xos_ui
8 connection: docker
9 roles:
10 - api-test-prep
11
12- name: Clear the XOS database
13 hosts: xos_db
14 connection: docker
15 roles:
16 - xos-clear-db
17
18- name: Run API tests
19 hosts: xos_ui
20 connection: docker
21 roles:
22 - xos-test-restore-db
23 - api-tests
24
25- name: Clear the XOS database (again)
26 hosts: xos_db
27 connection: docker
28 roles:
29 - xos-clear-db
30
31- name: Run TOSCA tests
32 hosts: xos_ui
33 connection: docker
34 roles:
35 - xos-test-restore-db
36 - tosca-tests
37