From 40ef3c084ee49a28b868de89a17690de2f022383 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Thu, 29 Mar 2018 16:29:20 -0400 Subject: [PATCH] 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 --- roles/emit-ara-html/README.rst | 5 +++++ roles/emit-ara-html/tasks/main.yaml | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/roles/emit-ara-html/README.rst b/roles/emit-ara-html/README.rst index a3a986232..1a64de134 100644 --- a/roles/emit-ara-html/README.rst +++ b/roles/emit-ara-html/README.rst @@ -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. **Role Variables** diff --git a/roles/emit-ara-html/tasks/main.yaml b/roles/emit-ara-html/tasks/main.yaml index b68a5c42f..179d081f1 100644 --- a/roles/emit-ara-html/tasks/main.yaml +++ b/roles/emit-ara-html/tasks/main.yaml @@ -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 stat: path: "{{ zuul.executor.work_root }}/.ara/ansible.sqlite"