test: adapt caddy testing environment into a smoke test

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-07-18 22:02:34 -04:00
parent 6b639cd911
commit 7ca45f72e3
6 changed files with 108 additions and 26 deletions

13
test/caddy/test.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
source ../lib/lib.sh
build_anubis_ko
docker compose up -d --build
export NODE_TLS_REJECT_UNAUTHORIZED=0
backoff-retry node test.mjs