Merge "Rename local variable component to validation_component for Upstream CI"
This commit is contained in:
commit
879be1395c
@ -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] }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user