-
Notifications
You must be signed in to change notification settings - Fork 301
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
Implement several documentation improvements to the Agent (for the Buildkite Docs). #3043
Conversation
clicommand/redactor_add.go
Outdated
Description: `Usage: | ||
|
||
buildkite-agent redactor add [options...] | ||
|
||
Description: | ||
|
||
This command may be used to parse a file for values to redact from a | ||
running job's log output. If you dynamically fetch secrets during a job, | ||
it is recommended that you use this command to ensure they will be | ||
redacted from subsequent logs. Secrets fetched with the builtin | ||
′secret get′ command do not require the use of this command, they will | ||
be redacted automatically. | ||
|
||
Example: | ||
|
||
$ buildkite-agent redactor add ... | ||
|
||
Redacts something.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @wolfeidau ,
Could you (or would you know anyone who could) please provide an example of how this command is used? Just a typical example using some of the options would be great, and then I can provide a better explanation than what's currently provided in the agent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, I fixed the spacing in the Description section only, which is why this comment appears outdated, but it's actually not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one suggestion ✅
Co-authored-by: Josh Deprez <[email protected]>
Description
This PR addresses several docs improvements:
Context
The purpose of this PR is to address some long-standing issues with the Buildkite Docs that can only be addressed through the Agent codebase.
Changes
Testing
go test ./...
). Buildkite employees may check this if the pipeline has run automatically.go fmt ./...
)