Split kind tests into component-owned probes

This commit is contained in:
ms2k 2026-07-19 23:57:21 +09:00
commit 691ad92e30

View file

@ -147,6 +147,7 @@ setup_fixture durable coordination oidc target
source "$RUNTIME/fixture.env"
"$NUTHATCH_REAL_NERDCTL" --namespace "$NERDCTL_NAMESPACE" build \
--file "$ROOT/Dockerfile" \
--target test-runtime \
--tag "$APP_IMAGE" \
"$ROOT"
load_local_image "$APP_IMAGE" "$NERDCTL_NAMESPACE"
@ -170,10 +171,16 @@ while IFS=$'\t' read -r lane coordination oidc target; do
job="idempotency-epoch-$lane"
render_lane_job \
"$job" \
"$TESTBED/product-matrix-job.yaml.in" \
"$CURL_LOCAL_IMAGE" \
"$TESTBED/application-probe-job.yaml.in" \
"$APP_IMAGE" \
"$profile"
sed -i "s|@@LANE@@|$lane|g" "$RUNTIME/$job.yaml"
sed -i \
-e "s|@@LANE@@|$lane|g" \
-e 's|@@COMPONENT@@|idempotency|g' \
-e 's|@@PROBE@@|nuthatch-idempotency-probe|g' \
-e 's|@@PROBE_ARGS@@||g' \
-e 's|@@DEADLINE_SECONDS@@|300|g' \
"$RUNTIME/$job.yaml"
run_job_manifest "$job" "$RUNTIME/$job.yaml"
cleanup_application "$lane"