diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2023-01-22 22:37:19 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2023-01-22 22:37:19 +0100 |
commit | d0f6a1fa04053dfea7a5ad1f03baa16fa9521e1c (patch) | |
tree | 8a1738dd6098af5463916cf6c4ff794c2bc8b399 | |
parent | 8815baab6fae0f45d2985a42f3b518b159efdfc7 (diff) |
show retry button if run did not pass
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r-- | app.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH): continue runs[index] = info - headers = ("version", "triggers", "date", "duration", "requester", "result", "url_prefix") + headers = ("version", "triggers", "date", "duration", "requester", "result", "url_prefix", "show_retry") package_results = [] for idx, info in runs.items(): date = " ".join(idx.split("/")[-1].split("_")[0:2]) @@ -146,6 +146,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH): "requester": requester, "result": human_exitcode(exitcode), "url_prefix": f"{autopkgtest_url_base}/{idx}", + "show_retry": human_exitcode(exitcode) != "pass", } package_results.append([result[h] for h in headers]) |