From 3d954f97224563b0e2fdb13fb8565e20f5fc017f Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Mon, 20 Jan 2025 11:30:16 +0000 Subject: [PATCH] Ensure the ssl-reverse-proxy is available --- docker/test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/test.sh b/docker/test.sh index 426151e7..64949665 100755 --- a/docker/test.sh +++ b/docker/test.sh @@ -5,6 +5,10 @@ TESTSUITE_IMAGE="registry.git.autistici.org/noblogs/testsuite:main" # Run a ssl-reverse-proxy in the background. podman run -d --expose 8443 --rm --env PROXY_DOMAIN=noblogs.org --env PROXY_BACKEND_ADDR=localhost:8080 --network=host registry.git.autistici.org/pipelines/images/test/ssl-reverse-proxy:main +# Give the ssl-reverse-proxy a little time to start. +# (It would be better to probe the port) +sleep 3 + # Run the test suite using Podman, in the foreground. # Mount a local temporary directory to hold artifacts. mkdir -p test-artifacts -- GitLab