tripleo-quickstart-extras/roles/validate-tempest/templates/tempest-setup.j2
Luigi Toscano be59e5230b validate-tempest: fixes in the configuration-only workflow
The workflow of
- configure_tempest is only defined twice and used in an important
  condition but it is not really used anywhere; the variable which is
  around is tempest_config. Use tempest_config properly, remove
  then configure_tempest;
- execute validate-tempest also when tempest_config is true,
  not only when run_tempest is true;
- execute the post-tempest task only if run_tempest is true;
  no need to execute it if tempest was simply configured.

Change-Id: I84dce8ff4ebb1df2163b1de6279b35e564efea5b
2017-07-13 11:02:03 +00:00

15 lines
234 B
Django/Jinja

#!/bin/bash
set -eux
### --start_docs
## Validate the overcloud deployment with tempest
## ==============================================
{% include 'configure-tempest.sh.j2' %}
{% include 'run-tempest.sh.j2' %}
### --stop_docs