From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/pybind/mgr/dashboard/ci/check_grafana_uids.py | 155 ++++++++++++++++++++++ 1 file changed, 155 insertions(+) create mode 100644 src/pybind/mgr/dashboard/ci/check_grafana_uids.py (limited to 'src/pybind/mgr/dashboard/ci') diff --git a/src/pybind/mgr/dashboard/ci/check_grafana_uids.py b/src/pybind/mgr/dashboard/ci/check_grafana_uids.py new file mode 100644 index 00000000..134bb6e7 --- /dev/null +++ b/src/pybind/mgr/dashboard/ci/check_grafana_uids.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- +# pylint: disable=F0401 +""" +This script does: +* Scan through Angular html templates and extract tags +* Check if every tag has a corresponding Grafana dashboard by `uid` + +Usage: + python