zuul-jobs/roles/emit-ara-html
Tristan Cacqueray 834358541d ara: check for return code instead of succeed
In Ansible-2.4, the |succeed behavior changed and always return True
when task uses 'failed_when: false'.
Also uses "type -p" instead of "which" that is used in other roles.

Change-Id: Iddcff07a40dc6c36a1a1c2101a7822697cdbbc34
2018-02-22 06:56:29 +00:00
..
defaults Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00
tasks ara: check for return code instead of succeed 2018-02-22 06:56:29 +00:00
README.rst Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00

README.rst

Have ARA generate html logs if ARA and ARA data are both present.

Role Variables

Whether to generate a static ARA HTML report or not. Possible values:

  • true (always generate a report)
  • false (never generate a report)
  • failure (only generate a report on failure)

Defaults to true.

Whether to compress the ARA HTML output or not. Defaults to true.

Whether the ARA sqlite database should be saved as part of the logs. Defaults to false.

Tip

Make sure the web server is configured to set the required mimetypes in order to serve gzipped content properly.