Skip to content

Commit 0d36ec9

Browse files
author
Nirmalyasen
committed
feat(kubernetes): attribue to explicitly skip the outputs section in Deployment Manifest or Run Job stage
Most K8S deployments do not use the outputs in downstream stages. So, if it is not used users can skip the output of the Deployment Manifest and Run Job (Manifest) stage by specifiying the attribute noOutput set to false in the stage json. This significantly reduces the execution context being saved in redis/databse or sent to the browser.
1 parent d33c26a commit 0d36ec9

File tree

1 file changed

+1
-0
lines changed
  • orca-clouddriver/src/main/groovy/com/netflix/spinnaker/orca/clouddriver/pipeline/job

1 file changed

+1
-0
lines changed

orca-clouddriver/src/main/groovy/com/netflix/spinnaker/orca/clouddriver/pipeline/job/RunJobStage.java

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public void taskGraph(@Nonnull StageExecution stage, @Nonnull TaskNode.Builder b
7979
}
8080
}
8181

82+
@Override
8283
public void afterStages(@Nonnull StageExecution stage, @Nonnull StageGraphBuilder graph) {
8384
if (stage.getContext().getOrDefault("noOutput", "false").toString().equals("true")) {
8485
stage.setOutputs(emptyMap());

0 commit comments

Comments
 (0)