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

View File

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

View File

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

View File

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