From a3290b5b23c140f289a0d925dc11a4c8adcede57 Mon Sep 17 00:00:00 2001 From: lyon Date: Sun, 14 Jun 2026 14:16:36 +0800 Subject: [PATCH] fix: read v03 boot scripts for env reuse render --- scripts/gitops-render.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gitops-render.mjs b/scripts/gitops-render.mjs index d27f81ca..8d36b6bc 100644 --- a/scripts/gitops-render.mjs +++ b/scripts/gitops-render.mjs @@ -1067,7 +1067,8 @@ function transformWorkloads({ workloads, deploy, catalog, source, sourceBranch = if (!deployService) continue; const artifact = runtimeArtifactForService({ catalog, deploy, serviceId, source, registryPrefix, useDeployImages, digestPin, envReuseServiceIds }); const envReuse = runtimeLane && v02EnvReuseEnabled(catalog, serviceId, envReuseServiceIds); - const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService, serviceId, source }) : null; + const bootDeployService = envReuse ? deployServiceForBoot(deploy, serviceId, profile) : null; + const bootMetadata = envReuse ? bootMetadataForService({ args: { sourceRepo: deploy?.lanes?.[profile]?.sourceRepo || defaultSourceRepo, registryPrefix }, catalog, deployService: bootDeployService, serviceId, source }) : null; const image = artifact.image; const runtimeCommit = artifact.commit; const runtimeImageTag = artifact.imageTag;