Browse Source

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

changes/43/792343/7
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
879be1395c
3 changed files with 6 additions and 6 deletions
  1. +1
    -1
      .zuul.yaml
  2. +1
    -1
      roles/validations/defaults/main.yaml
  3. +4
    -4
      roles/validations/tasks/main.yaml

+ 1
- 1
.zuul.yaml View File

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


+ 1
- 1
roles/validations/defaults/main.yaml View File

@ -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


+ 4
- 4
roles/validations/tasks/main.yaml View File

@ -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…
Cancel
Save