-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Requests to improve documentation for plugin developers #12920
Comments
Hey @drewmullen, That's quite the panel of questions 😅, I'll try to address those as best I can, feel free to follow-up as needed:
That's up to personal preference I'd say, I've seen plugins embed their configs in
I presume you're talking about the tags for the parameters? This may be a good idea to add in the docs, but I would suggest taking a look at the scaffolding project (assuming you've started developing your plugin with that), there's some examples of tags that are defined. Mostly what we're interested in are the
I'm not certain what you mean by "saving an artifact", generally speaking builders and post-processors are able to create artifacts which are propagated to the next consumer (post-processor only since you cannot chain builds). The only difference between post-processors and builders are that post-processors are supposed to consume an artifact, and create a new one from that input.
I believe you are talking about the
May I ask you to elaborate on that?
AFAIK they do not exist yet, the best advice I can give you here is to use existing plugins for inspiration. We do have a runner for acceptance tests exported by the SDK. I believe since this is a public project, you can access the SDK docs through pkg.go.dev (formatting can definitely be improved). |
Description
I am writing a Plugin for the first time and I have several questions that I have not found answers for in the developer docs. I'm hoping to list out my questions in a plain way to give yall ideas on to potentially improve the docs. Any short form answers you have would also be welcome in this issue 🙏
state
or as parameters to individual builderStep
?required
...default
)?cleanup
step run? during step? What ifmultistep.ActionHalt
is returned? Is there a global cleanup function for after all steps are completed?ui
The text was updated successfully, but these errors were encountered: