From 460cb9428be2b985dc659221eb736f40e374558b Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 25 Nov 2024 19:32:52 -0600 Subject: [PATCH] Verybasic functionality --- .gitignore | 2 ++ collect-logs.sh | 14 ++++++++++++++ html/index.html | 12 ++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 .gitignore create mode 100644 collect-logs.sh create mode 100644 html/index.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78e13df --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +output +output.tmp diff --git a/collect-logs.sh b/collect-logs.sh new file mode 100644 index 0000000..4918923 --- /dev/null +++ b/collect-logs.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Create a temporary output directory +mkdir output.tmp + +# Copy all HTML files over +cp -vr html/* output.tmp + +# Copy the logs +mkdir output.tmp/logs +rsync -av --delete /var/log/lubuntu-ci/* output.tmp/logs/ + +# Make the output directory live +rsync -av --delete output.tmp/* output/ diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..5b36f2b --- /dev/null +++ b/html/index.html @@ -0,0 +1,12 @@ + + + + + + +
+

Welcome to the Lubuntu CI!

+

This page is very basic for now, but you can view logs here.

+
+ +