| |
@@ -209,6 +209,8 @@
|
| |
. MUST execute Ansible with inventory set to the full path of the file or directory `tests/inventory` if it exists.
|
| |
.. If the `tests/inventory` file doesn't exist, then `/usr/share/ansible/inventory` SHOULD be used as a default.
|
| |
. MUST execute the playbook as root.
|
| |
+ . MUST execute the playbook passing `git_branch` as ansible variable.
|
| |
+ .. The branch used to clone tests*.yml
|
| |
. MUST examine the exit code of the playbook. A zero exit code means tests completed successfully, non-zero means a problem with running tests.
|
| |
. MUST examine the file `results.yml` in the `artifacts` folder to detect whether tests passed of failed.
|
| |
. MUST treat the file `test.log` in the `artifacts` folder as the main readable output of the test.
|
| |