fix: read sentinel builder namespace from yaml

This commit is contained in:
Codex
2026-07-03 07:41:36 +00:00
parent f746d50cbd
commit cd4eb247f7
+1 -1
View File
@@ -1053,7 +1053,7 @@ function executeNativeSentinelTrigger(follower: FollowerSpec, observedSha: strin
sourceAuthority: "git-mirror-snapshot",
});
const pipelineRun = sentinelPipelineRunName(state, false);
const namespace = stringField(state.cicd, "builder.namespace", `${follower.id}.sentinel.cicd.builder`);
const namespace = stringField(recordField(state.cicd, "builder", `${follower.id}.sentinel.cicd`), "namespace", `${follower.id}.sentinel.cicd.builder`);
const manifest = sentinelPublishPipelineRunManifest(state, pipelineRun, true);
const result = runNativeTektonPipelineRun(namespace, pipelineRun, manifest, options.wait, timeoutSeconds);
const payload = parseJsonObject(result.stdout) ?? {};