Merge "Rename local variable component to validation_component for Upstream CI"

This commit is contained in:
Zuul 2021-05-27 07:38:43 +00:00 committed by Gerrit Code Review
commit 879be1395c
3 changed files with 6 additions and 6 deletions
.zuul.yaml
roles/validations
defaults
tasks

@ -51,7 +51,7 @@
featureset: '052'
validate_services: true
enable_validation: true
component: validation
validation_component: validation
- project:
templates:

@ -6,7 +6,7 @@ vf_log_dir: "{{ ansible_user_dir }}/logs"
ansible_dir: ""
inventory: "localhost"
component: "{{ job.component|default('validation') }}"
validation_component: "{{ job.component|default('validation') }}"
# both commands can be used:
# "openstack tripleo validator" or "validation"
# the default is validation because this is the 1st entry available on

@ -42,13 +42,13 @@
- include: run.yaml name="{{ item }}"
when:
- run_validation|default(false)|bool
- component | length > 0
with_dict: "{{ validations_list[component] }}"
- validation_component | length > 0
with_dict: "{{ validations_list[validation_component] }}"
- include: list.yaml
- include: show.yaml name="{{ item }}"
when:
- run_validation|default(false)|bool
- component | length > 0
with_dict: "{{ validations_list[component] }}"
- validation_component | length > 0
with_dict: "{{ validations_list[validation_component] }}"