fix: allow cloud web runtime build to finish
This commit is contained in:
@@ -749,6 +749,11 @@ lanes:
|
||||
artifactKind: cloud-web
|
||||
healthPath: /health/live
|
||||
healthPort: 8080
|
||||
healthProbe:
|
||||
startup:
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 90
|
||||
componentPaths:
|
||||
- web/hwlab-cloud-web/
|
||||
- internal/dev-entrypoint/cloud-web-runtime.mjs
|
||||
|
||||
@@ -743,6 +743,13 @@ test("v03 render keeps node identity as data instead of generated structure", as
|
||||
assert.equal(cloudApiEnv.has("HWLAB_SESSION_COOKIE_DOMAIN"), false);
|
||||
const cloudWeb = (workloadsJson.items ?? []).find((item) => item.kind === "Deployment" && item.metadata?.name === "hwlab-cloud-web");
|
||||
const cloudWebContainer = collectContainersFromItem(cloudWeb).find((container) => container.name === "hwlab-cloud-web");
|
||||
assert.deepEqual(cloudWebContainer?.startupProbe, {
|
||||
httpGet: { path: "/health/live", port: "http" },
|
||||
periodSeconds: 10,
|
||||
timeoutSeconds: 3,
|
||||
failureThreshold: 90,
|
||||
successThreshold: 1
|
||||
});
|
||||
const cloudWebEnv = new Map((cloudWebContainer?.env ?? []).map((entry) => [entry.name, entry.value]));
|
||||
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_LIVE_KAFKA_SSE_ENABLED"), "true");
|
||||
assert.equal(cloudWebEnv.get("HWLAB_WORKBENCH_KAFKA_REFRESH_REPLAY_ENABLED"), "true");
|
||||
|
||||
Reference in New Issue
Block a user