zuul-jobs/roles/emit-ara-html
David Moreau-Simard 6569f07107
Add the ability to generate an ARA report only on job failure
This changes the 'ara_generate_html' toggle to provide three options:
- true (always generate a report)
- false (never generate a report)
- 'failure' (only generate a report on failure, based on zuul_success)

This defaults to true and can be changed on a job basis.

Change-Id: I9a6a3c999b7656b1f5b25b0cb6c2baa63d7857b2
2017-10-12 17:43:41 -04:00
..
defaults Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00
tasks Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00
README.rst Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00

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.