Add a Docker HEALTHCHECK and make docker-smoke (closes #111)
check / check (push) Successful in 3m5s

The runtime stage declares a HEALTHCHECK that probes
/.well-known/healthcheck.json with busybox wget. script/docker-smoke
(make docker-smoke) builds the image with script/docker, starts it with
a random PIXA_SIGNING_KEY, and passes only once Docker reports the
container healthy within 30 seconds; the container is removed on exit
and its log printed on failure. The Gitea workflow runs it after
script/cibuild; it is not part of make check.

It waits on Docker's health status instead of polling a published host
port because the Gitea job runs in its own container on its own
network, where such a port is not reachable at localhost.

Model: opus-5-5
このコミットが含まれているのは:
2026-09-28 09:31:56 +00:00
コミット 8e82f5759d
6個のファイルの変更、61行の追加、1行の削除
+1
ファイルの表示
@@ -7,3 +7,4 @@ jobs:
# actions/checkout v4.2.2, 2026-02-22
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: script/cibuild
- run: script/docker-smoke