fix: read sentinel builder namespace from yaml
This commit is contained in:
+1
-1
@@ -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) ?? {};
|
||||
|
||||
Reference in New Issue
Block a user