Merge pull request #1157 from pikasTech/fix/issue-1148-d518-pipeline-name

Fix D518 runtime pipeline name rendering
This commit is contained in:
Lyon
2026-06-27 20:27:01 +08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1993,6 +1993,7 @@ export function nodeRuntimePipelinePostprocessScript(): string[] {
" if (Object.prototype.hasOwnProperty.call(defaults, param.name)) param.default = defaults[param.name];",
" }",
" doc.metadata = doc.metadata || {};",
" if (typeof overlay.pipelineName === 'string' && overlay.pipelineName.length > 0) doc.metadata.name = overlay.pipelineName;",
" doc.metadata.annotations = doc.metadata.annotations || {};",
" doc.metadata.annotations['hwlab.pikastech.local/download-profile'] = overlay.downloadProfileId;",
" doc.metadata.annotations['hwlab.pikastech.local/network-profile'] = overlay.networkProfileId;",
+1
View File
@@ -66,6 +66,7 @@ export function nodeRuntimeRenderOverlay(spec: HwlabRuntimeLaneSpec): Record<str
runtimeNamespace: spec.runtimeNamespace,
catalogPath: spec.catalogPath,
tektonDir: spec.tektonDir,
pipelineName: spec.pipeline,
argoApplicationFile: spec.argoApplicationFile,
argoRepoUrl: spec.argoRepoUrl,
gitUrl: spec.gitUrl,