blob: 5dddf7f06295ad241bff48579e6eb03b7620dfca [file] [log] [blame]
Luigi Toscanoc6215bd2020-02-21 12:42:58 +01001# Playbook imported from https://opendev.org/openstack/tempest/src/tag/23.0.0/playbooks/devstack-tempest.yaml
2
3# Changes that run through devstack-tempest are likely to have an impact on
4# the devstack part of the job, so we keep devstack in the main play to
5# avoid zuul retrying on legitimate failures.
6- hosts: all
7 roles:
8 - orchestrate-devstack
9
10# We run tests only on one node, regardless how many nodes are in the system
11- hosts: tempest
12 environment:
13 # This enviroment variable is used by the optional tempest-gabbi
14 # job provided by the gabbi-tempest plugin. It can be safely ignored
15 # if that plugin is not being used.
16 GABBI_TEMPEST_PATH: "{{ gabbi_tempest_path | default('') }}"
17 roles:
18 - setup-tempest-run-dir
19 - setup-tempest-data-dir
20 - acl-devstack-files
21 - role: run-tempest
22 # ignore the errors, so that run-cinderlib-tests is always executed
23 ignore_errors: yes
24 - role: change-devstack-data-owner
25 devstack_data_subdir_changed: cinder
26 devstack_data_subdir_owner: zuul
27 - role: run-cinderlib-tests
28 cinderlib_base_dir: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"