From d80687b2cf770fcd99378b3da5872244822eda6b Mon Sep 17 00:00:00 2001 From: Bruno Goncalves Date: Apr 22 2020 12:50:05 +0000 Subject: add support to release_branch as ansible variable --- diff --git a/modules/ROOT/pages/standard-test-interface.adoc b/modules/ROOT/pages/standard-test-interface.adoc index c52734c..3fca1ca 100644 --- a/modules/ROOT/pages/standard-test-interface.adoc +++ b/modules/ROOT/pages/standard-test-interface.adoc @@ -209,6 +209,8 @@ tasks for each _test suite_ playbook: . 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.