fix: use configured boot repo for runner jobs

This commit is contained in:
lyon
2026-06-14 12:07:33 +08:00
parent ba2752815d
commit 6568d13deb
3 changed files with 11 additions and 1 deletions
+2
View File
@@ -41,6 +41,7 @@ function runnerJobDefaultsForRequest(defaults: ManagerServerOptions["runnerJobDe
namespace,
managerUrl: defaults?.managerUrl ?? process.env.AGENTRUN_INTERNAL_MGR_URL ?? `http://agentrun-mgr.${namespace}.svc.cluster.local:8080`,
image: defaults?.image ?? process.env.AGENTRUN_RUNNER_IMAGE ?? "",
...optionalStringRecord("bootRepoUrl", defaults?.bootRepoUrl ?? process.env.AGENTRUN_BOOT_REPO_URL),
sourceCommit,
...optionalStringRecord("envIdentity", defaults?.envIdentity ?? process.env.AGENTRUN_ENV_IDENTITY),
...optionalStringRecord("artifactCatalogFile", defaults?.artifactCatalogFile ?? process.env.AGENTRUN_ARTIFACT_CATALOG_FILE),
@@ -59,6 +60,7 @@ export interface ManagerServerOptions {
namespace?: string;
managerUrl?: string;
image?: string;
bootRepoUrl?: string;
envIdentity?: string;
artifactCatalogFile?: string;
serviceAccountName?: string;