Fix tempest_allow logic
Since we weren't using the tempest-allow role before, the logic was set to be executed when tempest_test_whitelist wasn't defined, which is fine, but to run skipped jobs, the allowed list was being overwriten. This patch add the logic to only run the tempest-allow role when tempest_run_skipped is set to false (default). Change-Id: Ie4a5b6a764d19ce49f703804daaa50425be1bb6f
This commit is contained in:
parent
7482df1efe
commit
9f54c3129e
|
@ -50,7 +50,9 @@
|
|||
vars:
|
||||
ansible_python_interpreter: "{{ local_working_dir }}/bin/python"
|
||||
list_allowed_yaml_file: "{{ local_working_dir }}/usr/local/share/ansible/roles/validate-tempest/vars/tempest_allow.yml"
|
||||
when: tempest_test_whitelist is not defined
|
||||
when:
|
||||
- tempest_test_whitelist is not defined
|
||||
- not tempest_run_skipped | default(false) | bool
|
||||
delegate_to: localhost
|
||||
|
||||
- name: set python_cmd
|
||||
|
|
Loading…
Reference in New Issue