fix(cicd): 使用最小联通就绪门禁
This commit is contained in:
@@ -223,6 +223,10 @@ test("v02 render follows TypeScript runtime checks and does not self-patch boots
|
||||
assert.match(pipeline, /node scripts\/run-bun\.mjs test cmd\/hwlab-codex-api-responses-forwarder\/main\.test\.ts/u);
|
||||
assert.doesNotMatch(pipeline, /cmd\/hwlab-codex-api-responses-forwarder\/main\.mjs/u);
|
||||
const runtimeReadySource = await readFile(path.join(process.cwd(), "scripts/ci/runtime-ready.mjs"), "utf8");
|
||||
assert.doesNotMatch(runtimeReadySource, /argo-sync-health|healthStatus === "Healthy"/u);
|
||||
assert.doesNotMatch(runtimeReadySource, /HWLAB_ARGO_APPLICATION/u);
|
||||
assert.match(runtimeReadySource, /if \(await waitForArgoRefresh\(\)\) \{\s+await waitForWorkloads\(\);/u);
|
||||
assert.ok(!JSON.stringify(pipelineJson).includes("argo-application"));
|
||||
assert.match(runtimeReadySource, /process\.exitCode = 1/u);
|
||||
assert.match(runtimeReadySource, /item\.metadata\?\.labels\?\.\["hwlab\.pikastech\.local\/source-commit"\]/u);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user