fix: use Tekton proxy for env reuse downloads

This commit is contained in:
Codex Agent
2026-06-13 02:11:14 +08:00
committed by root
parent 25e1125bab
commit 56581a4373
3 changed files with 60 additions and 2 deletions
+6 -1
View File
@@ -2678,7 +2678,12 @@ function planArtifactsTask({ serviceIds = defaultServiceIds } = {}) {
steps: [{
name: "plan",
image: ciToolsRunnerImage,
env: [{ name: "HWLAB_SELECTED_SERVICES", value: "$(params.services)" }, ...proxyEnv()],
env: [
{ name: "HWLAB_SELECTED_SERVICES", value: "$(params.services)" },
{ name: "HWLAB_DEV_REGISTRY_K8S_NATIVE", value: "1" },
{ name: "HWLAB_TEKTON_PIPELINERUN", value: "$(context.pipelineRun.name)" },
...proxyEnv()
],
script: planArtifactsScript()
}]
},