gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: de-containerize, less complexi


From: gnunet
Subject: [taler-deployment] branch master updated: de-containerize, less complexity
Date: Mon, 13 Jan 2025 23:37:04 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 62a1eed  de-containerize, less complexity
62a1eed is described below

commit 62a1eed60aa20733caf8bcb6c981aff5448e0991
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 13 23:37:01 2025 +0100

    de-containerize, less complexity
---
 worker-linkchecker/linkchecker.Containerfile | 10 ----------
 worker-linkchecker/linkchecker.sh            | 11 ++++++-----
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/worker-linkchecker/linkchecker.Containerfile 
b/worker-linkchecker/linkchecker.Containerfile
deleted file mode 100644
index d80693c..0000000
--- a/worker-linkchecker/linkchecker.Containerfile
+++ /dev/null
@@ -1,10 +0,0 @@
-FROM docker.io/library/debian:bookworm-slim
-
-ENV DEBIAN_FRONTEND=noninteractive
-
-RUN apt-get update && \
-    apt-get install -yqq \
-                   linkchecker \
-&& rm -rf /var/lib/apt/lists/*
-
-COPY linkcheckerrc /root/.config/linkchecker/linkcheckerrc
diff --git a/worker-linkchecker/linkchecker.sh 
b/worker-linkchecker/linkchecker.sh
index 3800cae..8f365dc 100755
--- a/worker-linkchecker/linkchecker.sh
+++ b/worker-linkchecker/linkchecker.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
+# This file is in the public domain.
 #set -v
 # Removed because wget errors with error 8 (Server issued an error response.)
 #set -e
@@ -20,13 +21,12 @@ if [ -f "$logfile" ]
                echo "Info: existing log file '$logfile' not found."
 fi
 
-podman build -t linkchecker:latest -f 
"$HOME/taler-deployment/worker-linkchecker/linkchecker.Containerfile" 
"$HOME/taler-deployment/worker-linkchecker"
-
 # Use wget to scan hosts and save output
-for url in "https://www.taler.net/"; "https://docs.taler.net/"; 
"https://taler-systems.com/"; "https://demo.taler.net/"; 
"https://bank.demo.taler.net/"; "https://shop.demo.taler.net/"; 
"https://donations.demo.taler.net/"; ; do
+for url in "https://taler.net/"; "https://docs.taler.net/"; 
"https://taler-systems.com/"; "https://demo.taler.net/"; 
"https://bank.demo.taler.net/"; "https://shop.demo.taler.net/"; 
"https://stage.taler.net/"; "https://stage.taler-ops.ch/"; 
"https://taler-ops.ch/"; "https://donations.demo.taler.net/"; ;
+do
        echo -e "\n\n#############################\n## Starting check on 
${url}\n#############################\n"
-       podman run --rm localhost/linkchecker:latest \
-               linkchecker \
+       linkchecker \
+        -f taler-deployment/worker-linkchecker/linkcheckerrc
                --no-robots \
                --check-extern \
                --recursion-level="$recurse_level" \
@@ -37,6 +37,7 @@ done
 if grep -Rl 'Error' $logfile
        then
                echo "Found broken links.  Build should fail (exit 1), 
triggering e-mail notification."
+        cat $logfile
                exit 1
        else
                echo "No broken links found.  Nothing more to do."

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]