Split kind tests into component-owned probes
This commit is contained in:
parent
b3c0f6d58a
commit
691ad92e30
1 changed files with 4269 additions and 3108 deletions
|
|
@ -129,10 +129,16 @@ run_streaming_job() {
|
|||
set_streaming_profile "$profile" "$mode"
|
||||
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@@|streaming|g' \
|
||||
-e 's|@@PROBE@@|nuthatch-streaming-probe|g' \
|
||||
-e "s|@@PROBE_ARGS@@|\"$mode\"|g" \
|
||||
-e 's|@@DEADLINE_SECONDS@@|600|g' \
|
||||
"$RUNTIME/$job.yaml"
|
||||
run_job_manifest "$job" "$RUNTIME/$job.yaml"
|
||||
}
|
||||
|
||||
|
|
@ -173,6 +179,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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue