fix(hwlab): expose d518 code agent runtime config
This commit is contained in:
@@ -144,6 +144,21 @@ export function nodeRuntimeExpected(spec: HwlabRuntimeLaneSpec): Record<string,
|
||||
rolloutDeployment: spec.bootstrapAdmin.rolloutDeployment,
|
||||
valuesPrinted: false,
|
||||
},
|
||||
codeAgentRuntime: spec.codeAgentRuntime === undefined ? null : {
|
||||
enabled: spec.codeAgentRuntime.enabled,
|
||||
adapter: spec.codeAgentRuntime.adapter,
|
||||
managerUrl: spec.codeAgentRuntime.managerUrl,
|
||||
apiKeySecretName: spec.codeAgentRuntime.apiKeySecretName,
|
||||
apiKeySecretKey: spec.codeAgentRuntime.apiKeySecretKey,
|
||||
runnerNamespace: spec.codeAgentRuntime.runnerNamespace,
|
||||
secretNamespace: spec.codeAgentRuntime.secretNamespace,
|
||||
repoUrlFrom: spec.codeAgentRuntime.repoUrlFrom,
|
||||
repoUrl: spec.gitReadUrl,
|
||||
providerIdFrom: spec.codeAgentRuntime.providerIdFrom,
|
||||
providerId: spec.nodeId,
|
||||
defaultProviderProfile: spec.codeAgentRuntime.defaultProviderProfile,
|
||||
valuesPrinted: false,
|
||||
},
|
||||
sourceWorkspace: spec.sourceWorkspace === undefined ? null : {
|
||||
requiredCommands: spec.sourceWorkspace.requiredCommands,
|
||||
requiredFiles: spec.sourceWorkspace.requiredFiles,
|
||||
|
||||
Reference in New Issue
Block a user