refactor: make v0.3 runtime node-scoped
This commit is contained in:
@@ -249,10 +249,10 @@ function assertCloudApiImageRuntimeEntrypoints({ packageJson, artifactPublisher,
|
||||
assertIncludes(packageJson.scripts?.check, `bun build ${expected} --target=bun --packages=external`, `${label} package check`);
|
||||
assertIncludes(packageJson.scripts?.check, `bun ${expected} --check`, `${label} package runtime check`);
|
||||
}
|
||||
for (const expected of ["scripts/g14-artifact-publish.mjs", "runtime-dev", "runtime-prod"]) {
|
||||
assertIncludes(gitopsRenderSource, expected, `${label} G14 GitOps render source`);
|
||||
for (const expected of ["scripts/artifact-publish.mjs", "runtime-dev", "runtime-prod"]) {
|
||||
assertIncludes(gitopsRenderSource, expected, `${label} node GitOps render source`);
|
||||
}
|
||||
for (const expected of ["name: \"prepare-source\"", "name: \"repo-reports-guard\"", "name: \"g14-contract-check\"", "name: \"codex-api-forwarder-check\""]) {
|
||||
for (const expected of ["name: \"prepare-source\"", "name: \"repo-reports-guard\"", "name: \"node-contract-check\"", "name: \"codex-api-forwarder-check\""]) {
|
||||
assertIncludes(gitopsRenderSource, expected, `${label} Tekton primitive CI task`);
|
||||
}
|
||||
}
|
||||
@@ -446,7 +446,7 @@ assertDurableRuntimeRunbook(await readText("docs/reference/dev-runtime-boundary.
|
||||
assertCloudApiImageRuntimeEntrypoints({
|
||||
packageJson: await readJSON("package.json"),
|
||||
artifactPublisher: await readText("scripts/artifact-publish.mjs"),
|
||||
gitopsRenderSource: await readText("scripts/g14-gitops-render.mjs")
|
||||
gitopsRenderSource: await readText("scripts/gitops-render.mjs")
|
||||
});
|
||||
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user