zuul-jobs/roles/ara-report/defaults/main.yaml
Ian Wienand 1dcda3ff36 ara-report: add option for artifact prefix
After https://review.opendev.org/#/c/742971 the report is generated on
the host.  For system-config, this means the report ends up copied to
"bridge.openstack.org/ara-report" in the logs directory; but the
artifact points to the non-existant top-directory.

Add a variable to allow a top-level dir to be set.

Needed-By: https://review.opendev.org/747101
Change-Id: I61a7d7328b5a45fc8dee09909f9411c397dd31b6
2020-08-20 14:39:05 +10:00

32 lines
1.1 KiB
YAML

# Whether to run this role or not
# Possible values:
# - true (always)
# - false (never)
# - 'failure' (only on failure)
ara_report_run: true
# Absolute path where the ARA database is expected on the control node.
ara_database_path: "{{ zuul.executor.work_root }}/.ara/ansible.sqlite"
# Whether the report is in html format or in database format
# Possible values:
# - html
# - database
ara_report_type: 'html'
# When report_type is 'html' directory where the HTML report will be generated.
# When report_type is 'database', directory where the database is saved.
# Note that when using 'database', an ARA web application can load the database
# dynamically. See the ARA documentation for details:
# https://ara.readthedocs.io/en/latest/advanced.html#serving-ara-sqlite-databases-over-http
ara_report_path: '{{ zuul.executor.log_root }}/ara'
# When report_type is 'html', whether to compress the ARA HTML output or not
ara_compress_html: true
ara_report_executable: ara
# If you copy the ara results into a subdirectory, use this to prefix
# the location the artifact points to.
ara_report_artifact_prefix: ''