From 6ca76d5cc2176fa5494aefdf2ebb819b8d43365c Mon Sep 17 00:00:00 2001 From: gilbn Date: Wed, 26 Oct 2022 22:37:33 +0200 Subject: [PATCH] Pull latest tester image, add .summary hover color --- ci/ci.py | 6 +++++- ci/template.html | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ci/ci.py b/ci/ci.py index 0f234cd..c05bae3 100755 --- a/ci/ci.py +++ b/ci/ci.py @@ -104,12 +104,16 @@ class CI(SetEnvs): aws_secret_access_key=self.s3_secret) def run(self,tags: list) -> None: - """Will iterate over all the tags running container_test() on each tag multithreaded. + """Will iterate over all the tags running container_test() on each tag, multithreaded. + + Also does a pull of the linuxserver/tester:latest image before running container_test. Args: `tags` (list): All the tags we will test on the image. """ + self.logger.info("Pulling ghcr.io/linuxserver/tester:latest") + self.client.images.pull(repository="ghcr.io/linuxserver/tester", tag="latest") # Pulls latest tester image. thread_pool = ThreadPool(processes=10) thread_pool.map(self.container_test,tags) display = Display(size=(1920, 1080)) # Setup an x virtual frame buffer (Xvfb) that Selenium can use during the tests. diff --git a/ci/template.html b/ci/template.html index 98aa8b1..597e713 100644 --- a/ci/template.html +++ b/ci/template.html @@ -58,6 +58,10 @@ color: rgba(218, 59, 138); } + .summary:hover { + color: rgb(188, 52, 120); + } + .styled-table { border: solid 1px rgb(255 255 255 / 10%); } @@ -449,6 +453,10 @@ color: darkorange; font-weight: bold; } + + .warning-summary:hover { + color: #ff8c00db; + }