integration: worker image, bridge, compose, Makefile, deploy scripts

This commit is contained in:
Raphael Westphal
2026-08-18 13:03:57 +02:00
parent 631aaf060b
commit 05ad577eea
8 changed files with 202 additions and 0 deletions
Executable
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Post-deploy smoke test. Requires LVMH_HOST (default alarm), LVMH_TOKEN env.
set -euo pipefail
HOST="${LVMH_HOST:-alarm}"
TOKEN="${LVMH_TOKEN:?set LVMH_TOKEN}"
BASE="http://$HOST:8686"
auth=(-H "Authorization: Bearer $TOKEN")
echo "== sessions =="
curl -fsS "${auth[@]}" "$BASE/api/sessions" | head -c 400; echo
echo "== gitlab status =="
curl -fsS "${auth[@]}" "$BASE/api/gitlab/status"; echo
echo "== web dist =="
curl -fsS "$BASE/" | grep -o '<title>[^<]*</title>' || echo "no title tag"
echo "SMOKE OK"