Skip to content

feat: Add Octopus.Action.Kubernetes.VerboseOutput variable to log CLI tool output#1690

Merged
HuyPhanNguyen merged 5 commits intomainfrom
huy/sc-130810-update-helm-chart-output
Mar 5, 2026
Merged

feat: Add Octopus.Action.Kubernetes.VerboseOutput variable to log CLI tool output#1690
HuyPhanNguyen merged 5 commits intomainfrom
huy/sc-130810-update-helm-chart-output

Conversation

@HuyPhanNguyen
Copy link
Copy Markdown
Contributor

@HuyPhanNguyen HuyPhanNguyen commented Dec 10, 2025

Add Octopus.Action.Kubernetes.VerboseOutput variable to log CLI tool output at Info level for Kubernetes steps

[sc-130810]
OctopusDeploy/Issues#9786

Before

image

After

image

@HuyPhanNguyen HuyPhanNguyen changed the title add logSuccessAsInfo feat: Add Octopus.Action.Kubernetes.VerboseOutput variable to log CLI tool output Dec 15, 2025
@HuyPhanNguyen HuyPhanNguyen requested a review from a team December 15, 2025 01:09
Comment on lines +34 to +37
protected virtual bool ShouldLogSuccessfulOutputAsInfo()
{
return variables.GetFlag(SpecialVariables.VerboseOutput);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The variable name and the result don't match in language.
If I set Octopus.Action.Kubernetes.VerboseOutput to true I end up with info output?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch! I have updated the variable with better name.

@HuyPhanNguyen HuyPhanNguyen requested a review from benPearce1 March 4, 2026 01:20
@HuyPhanNguyen HuyPhanNguyen merged commit 03276e2 into main Mar 5, 2026
33 checks passed
@HuyPhanNguyen HuyPhanNguyen deleted the huy/sc-130810-update-helm-chart-output branch March 5, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants