tripleo-quickstart-extras/roles/tripleo-validations
Gael Chamoulaud c424cc70b9 Better long validation task management
When a validation test is running more than 40 seconds, we don't need to exit
the script and simply fail (which is causing some promotion trouble). Instead,
we skip the mistral execution and pass to the other validation test.

Change-Id: I07a61f9e4a013a08e6fbbc152c5afdb06d7ba636
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2017-08-02 19:42:49 +02:00
..
defaults Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00
meta Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00
tasks Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00
templates Better long validation task management 2017-08-02 19:42:49 +02:00
README.md Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00

README.md

Tripleo-validations

An Ansible role to setup tripleo-validations

Requirements

This playbook expects that the undercloud has been installed.

Role Variables

  • working_dir: <'/home/stack'> -- working directory for the role.
  • run_tripleo_validations: -- to setup and run tripleo-validations tests
  • run_tripleo_validations_negative_tests: to run negative tests
  • run_tripleo_validations_setup: -- to setup or not tripleo-validations
  • exit_on_validations_failure: -- Exit tripleo-quickstart on validations failure
  • validations_group: <[]> -- The validation group name which should be 'pre-introspection', 'pre-deployment' or 'post-deployment'

Dependencies

No dependencies.

Example Playbook

Run the tripleo-validations setup only:

- hosts: undercloud
  vars:
    run_tripleo_validations_setup: True
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations|bool }

Run the tripleo-validations tests belonging to the pre-introspection group:

- hosts: undercloud
  vars:
    validations_group: ['pre-introspection']
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations|bool }

Run pre-introspection negative tests

- hosts: undercloud
  vars:
    validations_group: ['pre-introspection']
  roles:
     - { role: tripleo-validations, when: run_tripleo_validations_negative_tests|bool }

License

Apache 2.0

Author Information

RDO-CI Team