Use validation-common roles for Tripleo CI

Depends-On: https://review.opendev.org/c/openstack/validations-common/+/788512
Change-Id: Ib56ad36d160a272ef0f10a938304f98334000cee
This commit is contained in:
matbu
2021-04-28 17:17:04 +02:00
parent aed381340d
commit c2046812cb
2 changed files with 8 additions and 3 deletions

View File

@@ -58,12 +58,14 @@
hosts: undercloud hosts: undercloud
gather_facts: false gather_facts: false
vars: vars:
validation_command: "openstack tripleo validator" validation_command: "validation"
inventory: "tripleo-ansible-inventory.yaml"
vf_log_dir: "/var/log/validations"
tags: tags:
- standalone - standalone
tasks: tasks:
- include_role: - include_role:
name: tripleo_validations name: validations
when: when:
- job.enable_validation|default(false)|bool - job.enable_validation|default(false)|bool
- release not in ['queens', 'stein'] - release not in ['queens', 'stein']

View File

@@ -2,12 +2,15 @@
- name: Execute pre undercloud validations - name: Execute pre undercloud validations
hosts: undercloud hosts: undercloud
gather_facts: true gather_facts: true
vars:
inventory: "tripleo-ansible-inventory.yaml"
vf_log_dir: "/var/log/validations"
tags: tags:
- component-validations - component-validations
- tripleo-validations - tripleo-validations
tasks: tasks:
- include_role: - include_role:
name: tripleo_validations name: validations
when: when:
- job.enable_validation|default(false)|bool - job.enable_validation|default(false)|bool
- release not in ['queens', 'stein'] - release not in ['queens', 'stein']