Replace planning-era names and squash initial schema

Use descriptive test and executable names so implementation surfaces do not depend on journal organization. Consolidate the unreleased migration history into the authoritative initial schema because no deployed database requires an upgrade path.
This commit is contained in:
ms2k 2026-07-19 15:21:24 +09:00
commit 15eb0038d2

View file

@ -0,0 +1,39 @@
apiVersion: batch/v1
kind: Job
metadata:
name: @@JOB_NAME@@
namespace: nuthatch-testbed
spec:
activeDeadlineSeconds: 60
backoffLimit: 0
template:
spec:
automountServiceAccountToken: false
enableServiceLinks: false
restartPolicy: Never
containers:
- name: health
image: @@CURL_IMAGE@@
imagePullPolicy: Never
command: [/bin/sh, -ec]
args:
- |
base="https://nuthatch-@@LANE@@:8080"
test "$(
curl --insecure --silent --output /tmp/health \
--write-out '%{http_code}' "$base/healthz"
)" = 200
grep -F '"ok":true' /tmp/health
test "$(
curl --insecure --silent --output /tmp/ready \
--write-out '%{http_code}' "$base/readyz"
)" = "@@READY_STATUS@@"
curl --insecure --silent --output /dev/null "$base/app"
test "$(
curl --insecure --silent --output /dev/null \
--write-out '%{http_code}' "$base/api/session"
)" = 303
printf 'runtime health semantics passed\n'
resources:
requests: {cpu: 25m, memory: 16Mi}
limits: {cpu: 250m, memory: 64Mi}