Merge pull request #1157 from pikasTech/fix/issue-1148-d518-pipeline-name
Fix D518 runtime pipeline name rendering
This commit is contained in:
@@ -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;",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user