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

loadtester: add return cmd output option #535

Conversation

jacobsin
Copy link
Contributor

@jacobsin jacobsin commented Mar 29, 2020

fix: #300

making loadtester response with cmd output when metadata.returnCmdOutput = "true", useful to explicitly show all tests that has been run for audit purpose

@stefanprodan stefanprodan changed the title [#300] loadtester to return cmd output optionally loadtester: add return cmd output option Mar 29, 2020
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

@jacobsin have you tested this changes with Flagger? does it log the output?

go.sum Show resolved Hide resolved
@stefanprodan
Copy link
Member

@jacobsin can you please rebase with master and solve the conflict?

PS. The change you need to make is WriteTimeout: TaskRunner.Timeout()

@stefanprodan
Copy link
Member

@jacobsin you need to rebase with master so that only your changes are included in this PR.

@jacobsin
Copy link
Contributor Author

@stefanprodan merge now and using the ListenAndServe() paramtimeout instead of taskRunner.Timeout(), let me know if that will be an issue

@stefanprodan
Copy link
Member

@jacobsin you need to rebase with upstream master.

@jacobsin jacobsin force-pushed the 300-loadtester-return-cmd-output-optionally branch from ad10154 to 29c31e5 Compare March 30, 2020 17:24
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @jacobsin

@stefanprodan stefanprodan merged commit b14bcc4 into fluxcd:master Mar 30, 2020
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.

Feature request: loadtester to return cmd stdout on success
3 participants