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 | |
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')
-rw-r--r-- | csit.infra.dash/app/cdash/report/graphs.py | 15 | ||||
-rw-r--r-- | csit.infra.dash/app/cdash/utils/constants.py | 1 |
2 files changed, 13 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=( diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index 5f5d40aea7..2ed29eef77 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -179,6 +179,7 @@ class Constants: "3n-aws": 1.000, "3n-dnv": 2.000, "3n-icx": 2.600, + "3n-icxd": 2.000, "3n-skx": 2.500, "3n-tsh": 2.200, "3n-snr": 2.200, |