From 142bbf77482466c9b9cad14eb90efd951c62ee78 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Wed, 23 Sep 2020 20:58:30 +0200 Subject: [PATCH] Add status page for tests --- .gitignore | 1 + content/_common/menu.fr.md | 4 ++++ content/_common/menu.md | 4 ++++ content/status.md | 4 ++++ templates/status.html | 27 +++++++++++++++++++++++++++ 5 files changed, 40 insertions(+) create mode 100644 content/status.md create mode 100644 templates/status.html diff --git a/.gitignore b/.gitignore index a9abc4f..e01b87e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .*.sw* public +tests diff --git a/content/_common/menu.fr.md b/content/_common/menu.fr.md index d5d9521..9861d08 100644 --- a/content/_common/menu.fr.md +++ b/content/_common/menu.fr.md @@ -10,3 +10,7 @@ --- forgehook + +--- + +[Status](@/status.md) diff --git a/content/_common/menu.md b/content/_common/menu.md index 3d43755..85783fc 100644 --- a/content/_common/menu.md +++ b/content/_common/menu.md @@ -10,3 +10,7 @@ --- forgehook + +--- + +[Status](@/status.md) diff --git a/content/status.md b/content/status.md new file mode 100644 index 0000000..3aa2dd7 --- /dev/null +++ b/content/status.md @@ -0,0 +1,4 @@ ++++ +title="Tests status" +template="status.html" ++++ diff --git a/templates/status.html b/templates/status.html new file mode 100644 index 0000000..fc88ab7 --- /dev/null +++ b/templates/status.html @@ -0,0 +1,27 @@ +{% extends "index.html" %} +{% block main %} +

forgebuild

+{% set bash_data = load_data(path="tests/forgebuild.sh/results.toml") %} + + + + + + + + + + + + + + + + + + + + + +
Testforgebuild.shforgebuild.rs
git{{ bash_data.git }}
mercurial{{ bash_data.mercurial }}
sourceless{{ bash_data.sourceless }}
+{% endblock main %}