9cee53835e
We need to move 'gabbi_tempest_path' var to gabbi-tempest plugin jobs side which is the only place it is being used. This var is specific to gabbi-tempest not used for any other devstack-tempest jobs so defining it in devstack-tempest base job is not the correct way. We might face issue like bug#1821072 again in future which can end up blocking all gate jobs. Below patch is moving this var to gabbi-tempest plugin. - https://review.opendev.org/#/c/705339/ Change-Id: Id96e9b3f1271fce50aae982fdf12871693107e1d Closes-Bug: #1861592
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
# Changes that run through devstack-tempest are likely to have an impact on
|
|
# the devstack part of the job, so we keep devstack in the main play to
|
|
# avoid zuul retrying on legitimate failures.
|
|
- hosts: all
|
|
roles:
|
|
- orchestrate-devstack
|
|
|
|
# We run tests only on one node, regardless how many nodes are in the system
|
|
- hosts: tempest
|
|
tasks:
|
|
- name: Setup Tempest Run Directory
|
|
include_role:
|
|
name: setup-tempest-run-dir
|
|
|
|
- name: Setup Tempest Data Directory
|
|
include_role:
|
|
name: setup-tempest-data-dir
|
|
|
|
- name: ACL devstack files
|
|
include_role:
|
|
name: acl-devstack-files
|
|
|
|
- name: Run tempest cleanup init-saved-state
|
|
include_role:
|
|
name: tempest-cleanup
|
|
vars:
|
|
init_saved_state: true
|
|
when: (run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool) or
|
|
(run_tempest_cleanup is defined and run_tempest_cleanup | bool) or
|
|
(run_tempest_fail_if_leaked_resources is defined and run_tempest_fail_if_leaked_resources | bool)
|
|
|
|
- name: Run Tempest
|
|
include_role:
|
|
name: run-tempest
|
|
|
|
- name: Run tempest cleanup dry-run
|
|
include_role:
|
|
name: tempest-cleanup
|
|
vars:
|
|
dry_run: true
|
|
when: run_tempest_dry_cleanup is defined and run_tempest_dry_cleanup | bool
|
|
|
|
- name: Run tempest cleanup
|
|
include_role:
|
|
name: tempest-cleanup
|
|
when: run_tempest_cleanup is defined and run_tempest_cleanup | bool
|