Deprecate the emit-ara-html role

This adds a deprecation notice to the README and a debug task that
prints a deprecation notice.
The role is still expected to work but will eventually be removed in
favor of the ara-report role.

This deprecation will be announced on openstack-dev and zuul-announce.

Depends-On: https://review.openstack.org/#/c/557818/
Change-Id: If25e7c7b93cfd1588233fec299a31ad3ce3a873f
This commit is contained in:
David Moreau Simard 2018-03-29 16:29:20 -04:00
parent 819cc19d3f
commit 40ef3c084e
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
**THIS ROLE IS DEPRECATED**, please use the ``ara-report`` role instead.
``ara-report`` provides the same default behavior with the generation of a HTML
report and provides additional functionality that can be used to dynamically
load databases for improved performance and scalability.
Have ARA generate html logs if ARA and ARA data are both present. Have ARA generate html logs if ARA and ARA data are both present.
**Role Variables** **Role Variables**

View File

@ -1,3 +1,9 @@
- name: Warn about deprecated role
debug:
msg: |
The emit-ara-html role is deprecated.
Please use the ara-report role instead.
- name: Check for ARA db - name: Check for ARA db
stat: stat:
path: "{{ zuul.executor.work_root }}/.ara/ansible.sqlite" path: "{{ zuul.executor.work_root }}/.ara/ansible.sqlite"