Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for size #4242

Merged
merged 4 commits into from
Apr 5, 2022
Merged

Fix for size #4242

merged 4 commits into from
Apr 5, 2022

Conversation

austinthao5
Copy link
Contributor

Fixed PR Status Checks
#4032

Didn't have permissions to your branch so I forked to my own.

Nirmalyasen and others added 3 commits December 21, 2020 17:12
… 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.
…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.
@link108 link108 added the ready to merge Approved and ready for merge label Mar 21, 2022
@spinnakerbot
Copy link
Contributor

The following commits need their title changed:

  • d33c26a: Most K8S deployments do not use the outputs in downstream stages. So, if it is not used

Please format your commit title into the form:

<type>(<scope>): <subject>, e.g. fix(kubernetes): address NPE in status check

This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here.

@@ -76,6 +79,13 @@ public void taskGraph(@Nonnull StageExecution stage, @Nonnull TaskNode.Builder b
}
}

@Override
public void afterStages(@Nonnull StageExecution stage, @Nonnull StageGraphBuilder graph) {
if (stage.getContext().getOrDefault("noOutput", "false").toString().equals("true")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth making this an equalsIgnoreCase (or a Boolean)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mergify mergify bot added the auto merged Merged automatically by a bot label Apr 5, 2022
@mergify mergify bot merged commit ebc6050 into spinnaker:master Apr 5, 2022
Copy link
Contributor Author

@austinthao5 austinthao5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Approved and ready for merge target-release/1.28
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants