fix(pac): 收敛 HWLAB runtime GitOps 脚本体积
This commit is contained in:
@@ -651,6 +651,7 @@ export interface HwlabRuntimePipelineProvenanceSpec {
|
||||
readonly configRef: string;
|
||||
readonly renderer: "hwlab-runtime-lane";
|
||||
readonly mode: "remote-pipeline-annotation";
|
||||
readonly maxInlineScriptBytes: number;
|
||||
}
|
||||
|
||||
export interface HwlabRuntimeLaneSpec {
|
||||
@@ -1083,6 +1084,7 @@ export function parseHwlabRuntimePipelineProvenance(
|
||||
configRef,
|
||||
renderer: enumStringField(raw, "renderer", path, ["hwlab-runtime-lane"]),
|
||||
mode: enumStringField(raw, "mode", path, ["remote-pipeline-annotation"]),
|
||||
maxInlineScriptBytes: boundedIntegerField(raw, "maxInlineScriptBytes", path, 1024, 131072),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user