diff options
author | Tibor Frank <tifrank@cisco.com> | 2023-11-15 06:59:05 +0000 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2023-11-15 07:08:44 +0000 |
commit | da8e2fba12b6b61c86f7f595387f54b00f48e0e0 (patch) | |
tree | 1e09efa94e91e3e05a3b07b154867fb8cd12352e /csit.infra.dash/app/cdash/report/graphs.py | |
parent | 0d2778de05710ec84beebb13942e71d36e872736 (diff) |
C-Dash: Add links to jenkins jobs for iterative
Change-Id: I4310e3ad3826ea7f08f5e88817700e3c8ef21bf4
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/report/graphs.py')
-rw-r--r-- | csit.infra.dash/app/cdash/report/graphs.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/csit.infra.dash/app/cdash/report/graphs.py b/csit.infra.dash/app/cdash/report/graphs.py index cff5bb6b02..6b7fd12850 100644 --- a/csit.infra.dash/app/cdash/report/graphs.py +++ b/csit.infra.dash/app/cdash/report/graphs.py @@ -128,9 +128,18 @@ def graph_iterative(data: pd.DataFrame, sel:dict, layout: dict, y_tput_max = max(max(y_data), y_tput_max) nr_of_samples = len(y_data) - c_data = list() - for _, row in itm_data.iterrows(): - c_data.append(f"{row['job']}/{row['build']}") + + if itm["testtype"] == "mrr": + c_data = [ + ( + f"{itm_data['job'].to_list()[0]}/", + f"{itm_data['build'].to_list()[0]}" + ), + ] * nr_of_samples + else: + c_data = list() + for _, row in itm_data.iterrows(): + c_data.append(f"{row['job']}/{row['build']}") tput_kwargs = dict( y=y_data, name=( |